Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
/ jojen Public archive

Expressive validator for Node and the browser, with a small footprint and awesome performance

License

Notifications You must be signed in to change notification settings

microsoft/jojen

Repository files navigation

Jojen Build Status

Jojen is an updated take on Joi's API. Joi has a very pleasant and fluent API, however it suffers from relatively poor performance, lacks language support, doesn't allow user-defined validation functions, and doesn't work well in a Browserify/Webpack frontend.

Jojens goals are to:

  • Mostly match the Joi API with very few inconsistencies (see compatibility)
  • Fixes the inconsistent parts of Joi (again, see compatibility)
  • Perform reasonably well (at least 18x faster than Joi in all cases, see bench output) in a reasonably small package (currently 13.5 KB)
  • Support browsers, user-defined validations, and internationalisation.

About

Expressive validator for Node and the browser, with a small footprint and awesome performance

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published