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
- Strip the final newline character from a string/buffer☆37Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 5 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Extend object A with the properties of object B. node.js/javascript util.☆33Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Modern Buffer API polyfill without footguns☆27Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆50Updated 3 months ago
- 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
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the command from a shebang☆24Updated 4 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 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`☆66Updated 2 months ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Make a shallow clone of an object, array or primitive.☆30Updated 2 months ago
- Get the directory of globally installed packages and binaries☆77Updated 2 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
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 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
- Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)☆48Updated 6 years ago
- Get the path of the parent module☆79Updated 2 months ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆25Updated 3 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year