1.0.1 • Published 6 years ago

trkker v1.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

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