type-mongodb
JSON →A TypeScript-first, decorator-based MongoDB ODM (Object-Document Mapper) built on the MongoDB Node.js driver v4. Current version is 2.0.0-beta.12, released as a beta indicating potential breaking changes in future releases. Key differentiators: decorator-driven schema definition, data-mapper pattern with repository classes, automatic type inference from decorators (no separate schema files), support for embedded documents and references. Decent alternative to Mongoose for teams preferring TypeScript-native ODM with strict type safety. Encourages domain-driven design and works with active record and data-mapper patterns. Requires reflect-metadata polyfill. Release cadence: beta releases every few months.
Resources
packagetype-mongodb ↗