trkker
v1.0.1
Published
A simple library for tracking changes in data.
Downloads
3
Readme
Trkker
A super simple library for tracking changes in data. (only works with arrays for now)
const Trkker = require('trkker');
// Pass in data that will not change.
const trk = new Trkker(['Kaycee', 'William', 'Ingram']);
// Pass in data that changes to the check method.
// It will be compared to the initial data passed in.
trk.check(['Kaycee', 'William']); // false
trk.check(['Kaycee', 'William', 'Ingram']); // true