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 package was installed globally☆69Updated last year
- Exit the process when the `esc` key is pressed☆57Updated last year
- Check if argv has a specific flag☆93Updated 4 years ago
- Check if your code is running as an npm script☆55Updated 4 years ago
- Get the path of the parent module☆78Updated last month
- Node.js releases data☆37Updated last week
- List of JavaScript types☆82Updated last year
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Run promise-returning & async functions in series☆69Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Break out of a promise chain☆24Updated 4 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Slice a string with ANSI escape codes☆50Updated last month
- Check if your code is running as an npm or yarn script☆64Updated last month
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years 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 8 months ago
- Check if a value is an object☆41Updated 4 years ago
- Conditional promise chains☆63Updated 4 years ago
- Rename a function☆47Updated last year
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 6 years ago
- Convert directories to glob compatible strings☆44Updated 6 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Expand deeply nested values from an object, with support for advanced features☆17Updated 2 months ago
- Regular expression for matching issue references☆49Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆64Updated last month