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
- Exit the process when the `esc` key is pressed☆56Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆59Updated 10 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get all email addresses in a string☆58Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- List of text file extensions☆56Updated 7 months ago
- Indent each line in a string☆113Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Detects the casing of the input string (camelcase, lowercase, snakecase, kebabcase, snakecase, uppercase etc).☆18Updated 4 months ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Check if a file path is a binary file☆45Updated last year
- Regular expression for matching issue references☆49Updated 8 months ago
- Toggle the CLI cursor☆108Updated 10 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Check if a value is an object☆40Updated 4 years ago
- Filter object keys and values into a new object☆101Updated last year
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 3 years ago