array-no-repeat
v1.0.0
Published
Create an array of unique values, in order, from the input arrays
Downloads
6
Maintainers
Readme
array-no-repeat
Create an array of unique values, in order, from the input arrays.
Install
$ npm install --save array-no-repeat
Usage
const unique = require('array-no-repeat');
unique([1, 2, 3]);
//=> [1, 2, 3]
unique(['foo', 'foo', 'bar']);
//=> ['foo', 'bar']
License
MIT © Vivek Poddar