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:
- Strip the final newline character from a string/buffer☆38Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Modern Buffer API polyfill without footguns☆27Updated 4 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- Trim newlines from the start and/or end of a string☆49Updated 2 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
- Get the first path that exists on disk of multiple paths☆62Updated 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 true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)☆48Updated 6 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Check if a value is an object☆42Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Minimal module to check if a file is executable.☆50Updated last month
- Make a shallow clone of an object, array or primitive.☆30Updated 3 months ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 3 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 3 months ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 4 years ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Get the command from a shebang☆24Updated 4 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 5 years ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Updated 5 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago