jonschlinkert / array-lastLinks
Return the last element in an array. Faster than `.slice`
☆34Updated 3 years ago
Alternatives and similar repositories for array-last
Users that are interested in array-last are comparing it to the libraries listed below
Sorting:
- Check if your code is running as an npm script☆55Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the path of the parent module☆78Updated 2 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- List of JavaScript types☆82Updated last year
- Strip the final newline character from a string/buffer☆36Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Exit the process when the `esc` key is pressed☆57Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆38Updated 2 months ago
- Decompress a HTTP response if needed☆74Updated last month
- Check if argv has a specific flag☆94Updated 4 years ago
- Conditional promise chains☆63Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Rename a function☆47Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆65Updated 2 months ago
- Transparently adds support for Plug'n'Play to Jest☆25Updated 3 years ago
- Create a 'gud nuff' (not cryptographically secure) globally unique id☆21Updated 5 years ago
- Check if a value is an object☆41Updated 4 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 9 months ago
- Add XO to your project☆47Updated 2 years ago
- Slice a string with ANSI escape codes