# geojson-types **Repository Path**: mirrors_mapbox/geojson-types ## Basic Information - **Project Name**: geojson-types - **Description**: Flow types for GeoJSON - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # geojson-types Flow type declarations for [GeoJSON](https://tools.ietf.org/html/rfc7946). ## Install ``` npm install @mapbox/geojson-types ``` ## Use ```js // @flow import type { GeoJSONFeatureCollection, GeoJSONFeature, // specific geometries GeoJSONPoint, GeoJSONLineString, GeoJSONPolygon, GeoJSONMultiPoint, GeoJSONMultiLineString, GeoJSONMultiPolygon, // any geometry GeoJSONGeometry, // any feature collection, feature, or geometry GeoJSON, } from '@mapbox/geojson-types'; function doSomething(data: GeoJSON) { // ... } ```