jonschlinkert / arr-diffLinks
Returns an array with only the unique values from all given arrays using strict equality for comparisons.
☆46Updated 3 years ago
Alternatives and similar repositories for arr-diff
Users that are interested in arr-diff are comparing it to the libraries listed below
Sorting:
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 5 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated last year
- Extend object A with the properties of object B. node.js/javascript util.☆33Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Modern Buffer API polyfill without footguns☆27Updated 4 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 8 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆65Updated 2 months ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated 4 years ago
- Minimal module to check if a file is executable.☆49Updated 2 weeks ago
- Loop over each item in an array and call the given function on every element.☆14Updated 8 years ago
- Delete nested properties from an object using dot notation.☆35Updated 3 years ago
- Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)☆48Updated 6 years ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Return an array free of duplicate values. Very fast implementation.☆59Updated 5 years ago