sindresorhus / array-unionLinks
Create an array of unique values, in order, from the input arrays
☆78Updated 4 years ago
Alternatives and similar repositories for array-union
Users that are interested in array-union are comparing it to the libraries listed below
Sorting:
- Filter object keys and values into a new object☆105Updated last year
- Get the path of the parent module☆79Updated 3 months ago
- Make a function mimic another one☆97Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 3 months ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Parse milliseconds into an object☆123Updated last year
- Get the path of the caller module☆67Updated 4 years ago
- Get the hash of an object☆139Updated 2 years ago
- Check if a string is a URL☆87Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Split a string on the first occurrence of a given separator☆75Updated 4 months ago
- A Map implementation with expirable items☆94Updated 3 years ago
- test helpers for working with Node.js' http2 module☆19Updated this week
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆56Updated 3 months ago
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Ponyfill for Error#captureStackTrace☆62Updated 3 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Check if a path is inside another path☆40Updated 3 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 10 months ago
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Like `Promise.all()` but for `Map` and `Object`☆199Updated 3 months ago