xfilterjs
v0.1.4
Published
Util package for JS arrays
Downloads
2
Maintainers
Readme
XFilterJS
A util package for working with JS Arrays
Installation
npm install --save xfilterjs
Usage
const xfilter = require('xfilterjs');
let foo = [1, 2, 3, 'a', 2, 'a', 4, 'b'];
let bar = xfilter.duplicates(foo);
console.log(bar); // Output: [1, 3, 4, b]