{"library":"typed-mongo","type":"library","category":null,"description":"typed-mongo (v0.0.7) is a minimal, strongly-typed wrapper for the MongoDB Node.js driver that provides type inference for collection operations and declarative index management. Unlike ORMs like Mongoose, it adds negligible overhead and no custom schema definitions—just TypeScript types. Released under MIT, it requires Node >=22 and peer dependency mongodb ^6.0.0. Primary differentiators: zero-cost abstractions, automatic type safety for queries and projections, and index syncing without schema definitions.","language":"javascript","status":"active","version":"0.0.7","tags":["javascript","mongodb","typescript","schema","validation","type-safe","database"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install typed-mongo","imports":["import { TypedMongo } from 'typed-mongo'","import { TypedMongo } from 'typed-mongo'; const tm = new TypedMongo(db)","import { type Model } from 'typed-mongo'"]},{"cmd":"yarn add typed-mongo","imports":[]},{"cmd":"pnpm add typed-mongo","imports":[]}],"homepage":"https://github.com/codatum/typed-mongo#readme","github":"https://github.com/codatum/typed-mongo","docs":null,"changelog":null,"pypi":null,"npm":"typed-mongo","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}