The Express compileQueryParser
method as a standalone module
Install
$ npm install --save compile-query-parser
Usage
var compileQueryParser = require('compile-query-parser')
var fnc = compileQueryParser(true)
var fnc = compileQueryParser(false)
var fnc = compileQueryParser('extended')
var fnc = compileQueryParser('simple')
See Express docs for more: http://expressjs.com/en/4x/api.html#app.set
Development
The tests can be run with npm t
, which also runs the linter and any other builds steps for the module.
When a release is ready, use npm to bump the version and publish:
$ npm version minor
$ npm publish
Pull requests should be made against master or the currently active development branch.