@forkjs/validator

1.0.2 • Public • Published

@forkjs/validator

An awesome JSON Object Validator

What is @forkjs/validator

@forkjs/validator is a JSON Object validator which can be used to validate Objects and JSON against predefined schemas. It can be used with for API payload validation. All you need to do is install the package, build your schema and you are done !!

See the Quick start guide for more details.

Features

  • Nested Object Schema Validation
  • Support for detailed Error Messages
  • Custom Error Messages
  • Debug Support
  • Middleware wrapper for Express.js routes

Examples

Check out the Examples for better understanding or Get Started with the document

Package Sidebar

Install

npm i @forkjs/validator

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

21.3 kB

Total Files

13

Last publish

Collaborators

  • eshantsahu