simple-schema-js has been archived.
simple-schema-js has been archived and is no longer active.
simple-schema-js
SimpleSchema: A JavaScript schema validation package that supports direct validation of MongoDB update modifier objects
Contributors
simple-schema-js is all of us
Our contributors 2
Thank you for supporting simple-schema-js.
Budget
Transparent and open finances.
-$76.89 USD
Paid
Invoice #16528
engineering
Credit from 542 Inc. to simple-schema-js •
+$50.00USD
Completed
Contribution #44153
+$10.00USD
Completed
Contribution #9540
$
Today’s balance--.-- USD
Total raised
$76.89 USD
Total disbursed
$76.89 USD
Estimated annual budget
--.-- USD
About
SimpleSchema validates JavaScript objects to ensure they match a schema. It can also clean the objects to automatically convert types, remove unsupported properties, and add automatic values such that the object is then more likely to pass validation.
There are a lot of similar packages for validating objects. These are some of the features of this package that might be good reasons to choose this one over another:
- Isomorphic. Works in NodeJS and modern browsers.
- The object you validate can be a MongoDB modifier. SimpleSchema understands how to properly validate it such that the object in the database, after undergoing modification, will be valid.
- Optional Tracker reactivity for Meteor apps
- Powerful customizable error message system with decent English language defaults and support for localization, which makes it easy to drop this package in and display the validation error messages to end users.
- Recommended by MDG, the group that makes Meteor
- Has hundreds of tests and is used in production apps of various sizes
- Used by the Collection2 and AutoForm Meteor packages.
Our team
Eric Dobbertin
Admin