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:
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Faster, node.js focused alternative to JavaScript's native array map.☆14Updated 8 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Get the path of the parent module☆77Updated last year
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- Check if argv has a specific flag☆95Updated 4 years ago
- Node.js releases data☆36Updated last week
- Assert a Map has a given key and return the value for it.☆12Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Is this value a JS regex?☆24Updated 7 months ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Check if a file is executable☆29Updated 7 years ago
- Return true if a value is a valid glob pattern string, or array of glob patterns.☆24Updated 5 years ago
- Check if a value is an object☆40Updated 4 years ago
- Is this an arguments object? It's a harder question than you think.☆17Updated 7 months ago
- List of JavaScript types☆82Updated last year
- fs read and write streams based on minipass☆20Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 11 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Slice a string with ANSI escape codes☆49Updated last year