{"repo":"IshmamR/mongster","free":true,"listed":false,"github":"https://github.com/IshmamR/mongster","clone":"git clone https://github.com/IshmamR/mongster.git","description":"Type-safe MongoDB ODM and Schema validator for TypeScript with hooks, typed populate, transactions, and typed aggregation builder","language":"TypeScript","stars":12,"topics":["mongodb","odm","typesafe","typescript"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Mongster Type-safe MongoDB ODM and Schema validator for TypeScript with hooks, typed populate, transactions, and typed aggregation builder. = 18\" / 📚 Full documentation → mongster.ishmam.dev Schema-first DX on top of the official MongoDB driver. Keep MongoDB semantics. Add strong types, runtime validation, and automatic index metadata in one place. [!NOTE] Mongster is built for and with TypeScript for the modern AI era where types matter. Install Requires Node = 18. Works on Bun, Deno, and other Node-compatible runtimes. Features - Typed aggregation — Post.aggregate().match().group().sort().exec() infers the result shape from each stage - End-to-end type safety — schemas, inputs, filters, updates, and aggregation stages all flow into one inferred type - Typed populate — declare M.objectId().ref(() = Model) once and get type-checked populate with nested projection - Single schema declaration — one M.schema(...) drives runtime validation, TypeScript inference, and index metadata - Official MongoDB driver core — thin wrapper over the official driver, no custom query engine or hidden abstractions Quick Start Documentation Guides, API reference, and examples live at mongster.ishmam.dev . - Getting started - Schema & types - Querying - Populate - Aggregation - Hooks - Transactions - Errors - API reference Contributing See CONTRIBUTING.md. Release process and maintainer workflow live there. License MIT. See LICENSE.","default_branch":null,"files":null,"tree":[],"storefront":"/r/IshmamR","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IshmamR/mongster/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}