sindresorhus / array-union
Create an array of unique values, in order, from the input arrays
☆75Updated 3 years ago
Alternatives and similar repositories for array-union:
Users that are interested in array-union are comparing it to the libraries listed below
- Filter object keys and values into a new object☆101Updated 7 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Get the path of the parent module☆77Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- Simple JavaScript options parser inspired by yargs☆22Updated 2 years ago
- Check if something is a promise☆46Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Reduce a list of values using promises into a promise for a value☆68Updated last year
- Check if a string matches the name of a Node.js builtin module☆58Updated 8 months ago
- Check if a string is a URL☆84Updated last year
- A safer `.hasOwnProperty()`☆30Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Start a promise chain☆58Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- A Map implementation with expirable items☆92Updated 2 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆36Updated 5 months ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 3 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Lazy number range generator☆82Updated last year
- Walk up the directory tree until a specified path is found.☆13Updated last month