Mongoose GeoJSON Schema

JSON →
library 3.1.1 ·javascript
verified Jun 7, 2026

Schema definitions for GeoJSON types (Point, MultiPoint, LineString, Polygon, etc.) for use with Mongoose JS. Current stable version is 3.1.1. Released under MIT license. Key differentiator: provides Mongoose schema types with built-in coordinate validation following the strict GeoJSON specification, defaulting to WGS84 datum. Available types include Geometry, GeometryCollection, Feature, and FeatureCollection. Supports both JavaScript and TypeScript. Requires Mongoose as a peer dependency. GitHub: echoes-xyz/mongoose-geojson-schema.