jonschlinkert / array-last
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
- Node.js releases data☆36Updated 3 weeks ago
- Strip the final newline character from a string/buffer☆36Updated 3 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Check if your code is running as an npm script☆55Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get the shortest leading whitespace from lines in a string☆19Updated 4 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- PostCSS plugin to discard overridden keyframes or counter-style.☆16Updated 8 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆25Updated 4 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Check if a path is inside another path☆37Updated 2 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 5 years ago
- Faster, node.js focused alternative to JavaScript's native array map.☆14Updated 7 years ago
- Get the version of a binary in semver format☆42Updated 9 months ago
- Test whether some promise passes a testing function☆14Updated 5 years ago
- Check if a value is an object☆40Updated 3 years ago
- Get the version of a binary in semver format☆35Updated 9 months ago
- Find the module object for something that was require()d☆26Updated last year
- Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.☆21Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Sink your streams.☆17Updated last year
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Check if a file is executable☆31Updated 6 years ago