0.1.6 • Published 4 years ago
@buckneri/collections v0.1.6
collections
A small collection of data structure related functions
const b = deepCopy(a);
const q = new Queue([3,2,1,2,3,4]);
q.next().next();
//> [1,2,3,4]
const scr = new Slicer();
uniqueArray([1,2,3,1,1,2,4]);
//> [1,2,3,4]
Install
npm i --save @buckneri/collections