jonschlinkert / array-lastLinks
Return the last element in an array. Faster than `.slice`
☆35Updated 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 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Run promise-returning & async functions in series☆68Updated 3 years ago
- Node.js releases data☆36Updated last week
- Check if argv has a specific flag☆94Updated 4 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 5 years ago
- Parse HTTP X-Forwarded-For header☆58Updated last week
- Check if a value is an object☆40Updated 4 years ago
- List of JavaScript types☆82Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Add XO to your project☆47Updated last year
- Get the version of a binary in semver format☆35Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Slice a string with ANSI escape codes☆49Updated last year
- Strip the final newline character from a string/buffer☆36Updated 9 months ago
- Decompress a HTTP response if needed☆72Updated last year
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆55Updated 9 months ago
- Transparently adds support for Plug'n'Play to Jest☆25Updated 2 years ago
- Conditional promise chains☆61Updated 4 years ago