Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

array-uniq

2.0.0 • Public • Published

array-uniq Build Status

Create an array without duplicates

Install

$ npm install array-uniq

Usage

const arrayUniq = require('array-uniq');
 
arrayUniq([1, 1, 2, 3, 3]);
//=> [1, 2, 3]
 
arrayUniq(['foo', 'foo', 'bar', 'foo']);
//=> ['foo', 'bar']

License

MIT © Sindre Sorhus

install

npm i array-uniq

Downloadsweekly downloads

7,229,056

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability