Cure for being paranoia about parameters which are coming in every single wrong way to our functions.
Well, it is simple utility library for parameter checking.
- If you don't want to spare time for understand other JSON or OBJECT SCHEMA based validator libraries,
- If you don't want to deal with complex JSON or OBJECT STRUCTURES for being able to validate some parameters,
- If you're more like pass or fail line by line kind a guy,
- If you want simple, light, easy-to-understand library,
You could use this library.
Run npm install paramoia --save
then you're ready to go with:
let Paramoia = require('paramoia')