sindresorhus / pick-random
Pick random items from a list
☆54Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for pick-random
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 7 months ago
- Get the fullname of the current user☆47Updated last year
- Modify the values of an object☆28Updated 3 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Test whether some promise passes a testing function☆14Updated 5 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Returns an array filled with the specified input☆43Updated 2 years ago
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Regular expression for matching issue references☆49Updated last month
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Conditional promise catch handler☆38Updated 3 years ago
- Create a javascript regular expression for matching everything except for the given string.☆31Updated 6 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- Extract the article title of a HTML document☆54Updated 2 years ago
- Linkify GitHub issue references☆46Updated last month
- programmatic API for the shiny new npm search endpoint☆25Updated 2 years ago
- A list of directories you should ignore by default☆23Updated 2 years ago
- Exit the process when the `esc` key is pressed☆57Updated 11 months ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated last year
- A better `Promise.race()`☆46Updated last year
- Alphabetically sort an array of strings☆39Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Get all email addresses in a string☆58Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago