Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs express parse query params boolean

var boolParser = require('express-query-boolean');
 
// [...]
 
app.use(bodyParser.json());
app.use(boolParser());
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #nodejs #express #parse #query #params #boolean
ADD COMMENT
Topic
Name
5+7 =