1.0.0 • Published 8 years ago
array-no-repeat v1.0.0
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
1.0.0
8 years ago