array-duplicates-gone
v1.2.0
Published
Install the module
Downloads
2
Readme
Installation
Install the module
$ npm i array-duplicates-gone
Usage
const union = require('array-duplicates-gone');
const arr1 = [5, 10, 15];
const arr2 = [
"Andy",
"Michelle",
"Michael",
"John",
"Michelle",
"Michael",
];
const arr3 = [15, 88, 1, 5, 7, 88, 88];
union([arr1, arr2, arr3]) // returns 1 array with all duplicates removed!
Github
View the code on Github https://github.com/andrewmcoupe/array-duplicates-gone