package
Create query filters, stringify them, humanize them
npm install queryfilterGitHub-flavored package documentation.
Across all versions, last 30 days.
3,783 in 30 days
Runtime metadata.
Tagged topics.
Create query filters, stringify them, humanize them
require('queryfilter')npm install --save queryfilterrequire('queryfilter')npm install --save queryfilter//wzrd.in/bundle/queryfilter@0.1.0require('queryfilter')ender add queryfiltervar QueryFilter = require('queryfilter');
var queryFilter = new QueryFilter();
// whether or not we should invert this query
// boolean
queryFilter.inverse = false;
// whether or not we should exactly match the value
// boolean
queryFilter.exact = false;
// the human readable name of the field
// null/string
queryFilter.name = null;
// the key used to identify the field
// required, string
queryFilter.key = "some key";
// the data type of the field
// null/string
queryFilter.type = null;
// the operator used to compare the field with the value
Discover the change history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Licensed under the incredibly permissive MIT license
Copyright © 2014+ Jed Watson jed@thinkmill.com.au (https://github.com/jedwatson)
jedwatson
jed.watson@me.com