sindresorhus / random-itemLinks
Get a random item from an array
☆57Updated 3 years ago
Alternatives and similar repositories for random-item
Users that are interested in random-item are comparing it to the libraries listed below
Sorting:
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if your package was installed globally☆70Updated last year
- Filter object keys and values into a new object☆101Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆62Updated last month
- 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
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆60Updated 10 months ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Regular expression for matching issue references☆49Updated 8 months ago
- Indent each line in a string☆113Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Get all email addresses in a string☆58Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Create a javascript regular expression for matching everything except for the given string.☆31Updated 7 years ago
- Check if a file path is a binary file☆44Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- Clean and beautiful options for minimist☆53Updated 2 years ago
- Glob to regular expression with support for extended globs.☆73Updated 8 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago