{"library":"simpl-schema","type":"library","category":null,"description":"SimpleSchema is a mature, isomorphic JavaScript object validation library (v3.4.7, 2025) that validates and cleans objects, including MongoDB update modifier documents. Written in TypeScript with ESM and CJS support, it has been maintained for 10+ years, features nearly 500 tests, and is used by Mailchimp Open Commerce and Meteor packages. Key differentiators: direct validation of MongoDB update documents, automatic cleaning (type conversion, removal of unsupported properties), powerful customizable error messages with i18n support, and TypeScript types. Slower and more complex than alternatives like Joi or yup, but offers unique MongoDB modifiers support and a mature ecosystem.","language":"javascript","status":"active","version":"3.4.7","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install simpl-schema","imports":["import SimpleSchema from 'simpl-schema'","import { MongoObject } from 'simpl-schema'","import type { SimpleSchemaValidationContext } from 'simpl-schema'"]},{"cmd":"yarn add simpl-schema","imports":[]},{"cmd":"pnpm add simpl-schema","imports":[]}],"homepage":"https://github.com/longshotlabs/simpl-schema","github":"https://github.com/longshotlabs/simpl-schema","docs":null,"changelog":null,"pypi":null,"npm":"simpl-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}