1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/array-uniq
詹力 1a19ec897f 删除无关模块 2024-01-16 21:26:16 +08:00
..
index.js i4 2023-12-18 13:12:25 +08:00
license i4 2023-12-18 13:12:25 +08:00
package.json 删除无关模块 2024-01-16 21:26:16 +08:00
readme.md i4 2023-12-18 13:12:25 +08:00

readme.md

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

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