{"library":"zod-mongodb-schema","type":"library","category":null,"description":"Converts Zod object schemas into MongoDB validation schemas (JSON Schema compatible). Version 3.0.2 targets Node.js >=24.10 and npm >=11, with experimental Yarn support dropped. Requires Zod ^3.25.64 or ^4.0.0 and BSON ^7.0.0 as peer dependencies. Validates Zod object() schemas only; other Zod types are not supported. Ships TypeScript types. Notable breaking change in v3: switched from CJS to ESM-only, requiring dynamic import or native ESM.","language":"javascript","status":"active","version":"3.0.2","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install zod-mongodb-schema","imports":["import { zodMongoSchema } from 'zod-mongodb-schema'","import { zodMongoSchema } from 'zod-mongodb-schema'","import { MongoSchema } from 'zod-mongodb-schema'"]},{"cmd":"yarn add zod-mongodb-schema","imports":[]},{"cmd":"pnpm add zod-mongodb-schema","imports":[]}],"homepage":"https://github.com/mission-apprentissage/zod-to-mongodb-schema#readme","github":"https://github.com/mission-apprentissage/zod-to-mongodb-schema","docs":null,"changelog":null,"pypi":null,"npm":"zod-mongodb-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}