Skip to content

wesleytodd/compile-query-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Express compileQueryParser method as a standalone module

NPM Version NPM Downloads Build Status Standard - JavaScript Style Guide

Install

$ npm install --save compile-query-parser

Usage

var compileQueryParser = require('compile-query-parser')

var fnc = compileQueryParser(true) // same as 'simple'
var fnc = compileQueryParser(false) // disable query string parsing
var fnc = compileQueryParser('extended') // WARNING: allows the overriding of prototype methods
var fnc = compileQueryParser('simple') // uses querystring.parse

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.

About

The compile query parser function from express

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published