sindresorhus

array-union

Create an array of unique values, in order, from the input arrays

by sindresorhus

TypeScript

TypeScript53.6%
JavaScript46.4%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
ghost

Pretty sure the nodejs array basics has taught us this simple job... This is just a basic working of arrays on nodejs, so why should we use this? The index.js file is literally so small, and also may I know are all these 6M people who use this never knew this simple thing?

ghost · 1y ago
coderaiser

Array.flat creates new array, so spread here has no sense. This can be easily detected with help of @putout/remove-useless-spread rule of putout code transformer.

coderaiser · 5y ago
Structured data for AI agents

Repository: sindresorhus/array-union. Description: Create an array of unique values, in order, from the input arrays Stars: 79, Forks: 14. Primary language: TypeScript. Languages: TypeScript (53.6%), JavaScript (46.4%). License: MIT. Latest release: v3.0.1 (5y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, BendingBender, isi-mbostwick, Richienb, realityking, stevemao, vivekimsit, coderaiser.