Skip to content

Create a schema to validate objects against - e.g. mongodb documents

License

Notifications You must be signed in to change notification settings

nosco/object-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version

ObjectSchema

ObjectSchema is meant as a filter/schema for filtering, checking and validating javascript objects.

It can be used for more than just creating MongoDB schemas in node.js.

The idea is to use the same code to validate client side form data (soon).

You can learn how it works, by reading the examples.

This is an early BETA version

As soon as the module has shown it's worth and stability on a live system, it will be marked as version >= 1.0.0.

Until then: Feel free to play around with it, learn from it.

To install

npm install object-schema

About

Create a schema to validate objects against - e.g. mongodb documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published