JD2022-TU1/data/EngineData/Photoshop/photoshop.justdancetool/node_modules/array-uniq
2026-10-05 12:05:45 +03:00
..
index.js А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
package.json А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
readme.md А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00

array-uniq Build Status

Create an array without duplicates

It's already pretty fast, but will be much faster when Set becomes available in V8 (especially with large arrays).

Install

$ npm install --save array-uniq

Usage

var arrayUniq = require('array-uniq');

arrayUniq([1, 1, 2, 3, 3]);
//=> [1, 2, 3]

arrayUniq(['foo', 'foo', 'bar', 'foo']);
//=> ['foo', 'bar']

License

MIT © Sindre Sorhus