Create an array with values that are present in the first input array but not additional ones
☆40Sep 14, 2021Updated 4 years ago
Alternatives and similar repositories for array-differ
Users that are interested in array-differ are comparing it to the libraries listed below
Sorting:
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Create an array without duplicates☆74May 3, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Create an array of unique values, in order, from the input arrays☆78Mar 1, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 3 weeks ago
- A safer `.hasOwnProperty()`☆29Jun 21, 2023Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- ES2015 `Array#findIndex()` ponyfill☆33May 1, 2024Updated last year
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 3 weeks ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated last year
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- Check whether a binary version satisfies a semver range☆24Apr 3, 2024Updated last year
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Simple `setImmediate` shim☆29Sep 13, 2025Updated 5 months ago
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Check if a number is in a given range☆22Jan 23, 2021Updated 5 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Pretty UTC datetime: `2014-01-09 0601`☆32Jul 8, 2022Updated 3 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Nov 5, 2020Updated 5 years ago