{"library":"schm-mongo","type":"library","category":null,"description":"A composable schema extension for schm that parses query parameters into MongoDB queries, projections, and pagination. Version 0.4.1 is the latest stable release; the project appears to be in maintenance mode with no updates since 2018. It integrates with schm to define field projections via the `fields` parser, pagination via `page` with sort/limit/skip, geospatial queries via `near`, and operator-based filtering via `query`. Unlike monolithic ODM libraries, it provides lightweight, composable schema functions that work directly with the MongoDB Node.js driver or Mongoose.","language":"javascript","status":"maintenance","version":"0.4.1","tags":["javascript","schm","schema","scheme","parser","validator","mongo","mongodb"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install schm-mongo","imports":["import { query } from 'schm-mongo'","import { fields } from 'schm-mongo'","import { page } from 'schm-mongo'","import { near } from 'schm-mongo'"]},{"cmd":"yarn add schm-mongo","imports":[]},{"cmd":"pnpm add schm-mongo","imports":[]}],"homepage":"https://github.com/diegohaz/schm/tree/master/packages/schm-mongo","github":"https://github.com/diegohaz/schm/tree/master/packages/schm-mongo","docs":null,"changelog":null,"pypi":null,"npm":"schm-mongo","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}