sindresorhus / random-itemLinks
Get a random item from an array
☆56Updated 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:
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 weeks ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Filter object keys and values into a new object☆104Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 4 years ago
- Generate a random integer☆87Updated 2 weeks ago
- Detect the dominant newline character of a string☆55Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Toggle the CLI cursor☆112Updated last year
- Truncate a URL to a specific length☆61Updated last week
- Split lines into an array of lines☆44Updated last year
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆55Updated 11 months ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- Check if a value is an object☆40Updated 4 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Make a function mimic another one☆95Updated 11 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 6 years ago
- Regular expression for matching issue references☆49Updated last year
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Get and calculate npm download stats for npm modules.☆28Updated 7 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Create a lazily evaluated value☆69Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 4 years ago