sindresorhus / pick-random
Pick random items from a list
☆54Updated 3 years ago
Related projects: ⓘ
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Modify the values of an object☆28Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Get the fullname of the current user☆47Updated last year
- Check if a value is a function☆27Updated 3 years ago
- Linkify GitHub issue references☆46Updated 2 weeks ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Get all email addresses in a string☆58Updated 3 years ago
- Extract the article title of a HTML document☆53Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 5 months ago
- Run promise-returning & async functions repeatedly until you end it☆43Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Mimic a Node.js HTTP response stream☆59Updated 10 months ago
- Returns an array filled with the specified input☆43Updated 2 years ago
- Simple wildcard matching☆34Updated 2 years ago
- Convert milliseconds to other formats☆9Updated 7 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆52Updated last year
- A list of directories you should ignore by default☆23Updated 2 years ago
- Alphabetically sort an array of strings☆39Updated 3 years ago
- Regular expression for matching issue references☆48Updated last week
- Run promise-returning & async functions a specific number of times concurrently☆37Updated 2 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- ⏲ - Small timing library☆35Updated 6 years ago
- Conditional promise catch handler☆37Updated 3 years ago
- Listen for changes in your conf config☆27Updated 7 years ago
- Conditional promise chains☆59Updated 3 years ago
- Strip the final newline character from a string/buffer☆33Updated 4 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- The simplest API for running code inside electron☆25Updated 5 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests