express-indicative-validator
0.1.0 • Public • Published Express indicative validator
A small library that validate incoming requests using middleware
npm install express-indicative-validator
const { validate } = require('express-indicative-validator');
router.post('/', validate({ price: 'required|number' }), OrderController.store);
npm test
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
0.1.0 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
0.1.0 | 0 | |
Package Sidebar
Install
npm i express-indicative-validator
Weekly Downloads