json-query-chain
Chain queries onto POJOs to return precise results.
Usage
; let myQ = someJsonDataresults;
Chainable Methods
Search
Currently supports booleans and strings. (See #1 for Integer Support)
By Boolean
By String
Filter
Simpler version of search using a custom function in the chain.
By Key
Sort
By Boolean
By String
By Number
Pagination
Page 1 with 5 results per page.
Page 2 wtih default of 10 results per page.
Tests
npm test
runs tests through Jest