DATA-ENGINE
Simple data engine, to provide sort and filter. It can work with custom dataset.
Installation
npm install --save data-engine
Example Usage
; var Filter = ;
Constructor
const engine = ; const engine2 = data primaryKey sortFunction direction ;
Data
engine; engineData = data; const data = engineData; const data = engine;
Filters
const filteredData = engine; const filteredData = engine; const filteredData = engine; const filteredData = engine;
Sort
const sorted = engine; const sorted = engine; const sorted = engine; const sorted = engine; const sorted = engine;