QueryFilter
Create query filters, stringify them, humanize them
Install
NPM
- Use:
require('queryfilter')
- Install:
npm install --save queryfilter
Browserify
- Use:
require('queryfilter')
- Install:
npm install --save queryfilter
- CDN URL:
//wzrd.in/bundle/queryfilter@0.1.0
Ender
- Use:
require('queryfilter')
- Install:
ender add queryfilter
Usage
var QueryFilter = ;var queryFilter = ;// whether or not we should invert this query// booleanqueryFilterinverse = false;// whether or not we should exactly match the value// booleanqueryFilterexact = false;// the human readable name of the field// null/stringqueryFiltername = null;// the key used to identify the field// required, stringqueryFilterkey = "some key";// the data type of the field// null/stringqueryFiltertype = null;// the operator used to compare the field with the value// null/"bt"/"gt"/"lt"queryFilteroperator = null;// the value used on the field// required, any typequeryFiltervalue = "some value";// Transformationsconsole;console;console;
History
Discover the change history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
These amazing people are maintaining this project:
- Benjamin Lupton b@lupton.cc (https://github.com/balupton)
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
License
Licensed under the incredibly permissive MIT license
Copyright © 2014+ Jed Watson jed@thinkmill.com.au (https://github.com/jedwatson)