{"library":"ts-mongo-orm","type":"library","category":null,"description":"A MongoDB ORM for Node.js and TypeScript (v0.1.0), inspired by ActiveRecord. It provides a type-safe wrapper around MongoDB with decorator-based schema validation using @hapi/joi. The library is under active development (pre-1.0.0) and may have breaking changes. Key differentiators include a separation of document and model classes, fully typed query APIs, and decorators for field validation. Peer dependencies include mongodb, @hapi/joi, and TypeScript >=4.5.5.","language":"javascript","status":"active","version":"0.1.0","tags":["javascript","mongo","mongodb","orm","active","record","activerecord","db","node","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install ts-mongo-orm","imports":["import { DatabaseConnectDefault } from 'ts-mongo-orm'","import { ActiveRecord } from 'ts-mongo-orm'","import { Document, Field, ObjectIdField } from 'ts-mongo-orm'","const UserAR = ActiveRecord.for(User, UserModel)"]},{"cmd":"yarn add ts-mongo-orm","imports":[]},{"cmd":"pnpm add ts-mongo-orm","imports":[]}],"homepage":"https://github.com/tylerc/ts-mongo-orm#readme","github":"https://github.com/tylerc/ts-mongo-orm","docs":null,"changelog":null,"pypi":null,"npm":"ts-mongo-orm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}