Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 836 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 836 Bytes

@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