1.2.0 • Published 6 years ago

array-duplicates-gone v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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