UNPKG

js-model-validation

Version:

js-model-validation is js model validation lib to validate the model property. It's allow range of property validations like 'string', 'number', 'json' etc. It's not only validate the model but also return the data from 'req.body' (if node app).

22 lines (21 loc) 638 B
{ "name": "js-model-validation", "version": "0.0.11", "description": "js-model-validation is js model validation lib to validate the model property. It's allow range of property validations like 'string', 'number', 'json' etc. It's not only validate the model but also return the data from 'req.body' (if node app).", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "node", "validation", "node-model", "javascript-model", "node-app", "node-api", "node-api-model", "js-model-validation" ], "author": "HAPY", "license": "ISC" }