sindresorhus

array-differ

Create an array with values that are present in the first input array but not additional ones

by sindresorhus

JavaScript

JavaScript64.8%
TypeScript35.2%

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
Richienb
Minor tweakMergedPR

uses a rest operator so it will always be an array.

Richienb · 5y ago
Eli-Black-Work

Would you be okay with adding something to the README stating what the time complexity of the algorithm is? My understanding from looking at the code is that it's O(n log n), but I'm not sure if that's correct. Thanks :)

Eli-Black-Work · 5y ago
Structured data for AI agents

Repository: sindresorhus/array-differ. Description: Create an array with values that are present in the first input array but not additional ones Stars: 40, Forks: 12. Primary language: JavaScript. Languages: JavaScript (64.8%), TypeScript (35.2%). License: MIT. Latest release: v4.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, coreyfarrell, BendingBender, SamVerschueren.