uniq-array
v1.0.1
Published
Returns an array by removing the duplicates
Downloads
10
Maintainers
Readme
uniq-array
Returns an array by removing duplicate elements
Installation
$ npm install uniq-array
Usage
var uniqArray = require('uniq-array');
uniqArray([1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3]);
//=> [1, 2, 3]
uniqArray(['Amenda', 'Bob', 'Bob', 'Amenda', 'Luicy']);
//=> ['Amenda', 'Bob', 'Luicy']
License
MIT © Gaurav Luthra