array-no-repeat

1.0.0 • Public • Published

array-no-repeat Build Status

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

Package Sidebar

Install

npm i array-no-repeat

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vivekimsit