array-duplicates-gone

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i array-duplicates-gone

Weekly Downloads

1

Version

1.2.0

License

ISC

Unpacked Size

1.77 kB

Total Files

4

Last publish

Collaborators

  • andycoupe