array-uniq
Advanced tools
Create an array without duplicates
Weekly downloads
Changelog
https://github.com/sindresorhus/array-uniq/compare/v2.1.0...v3.0.0
Readme
Create an array without duplicates
$ npm install array-uniq
import arrayUniq from 'array-uniq';
arrayUniq([1, 1, 2, 3, 3]);
//=> [1, 2, 3]
arrayUniq(['foo', 'foo', 'bar', 'foo']);
//=> ['foo', 'bar']
Create an array without duplicates
The npm package array-uniq receives a total of 11,070,462 weekly downloads. As such, array-uniq popularity was classified as popular.
We found that array-uniq demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.