sindresorhus / random-object-keyLinks
Get a random key from an object
☆17Updated last year
Alternatives and similar repositories for random-object-key
Users that are interested in random-object-key are comparing it to the libraries listed below
Sorting:
- Get a random property from an object☆14Updated last year
- Split a string at one or more indices☆23Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if a file path is a compressed file☆17Updated last year
- Clone and modify a RegExp instance☆22Updated 3 years ago
- Check if a Buffer/Uint8Array is a WebP image☆19Updated 3 years ago
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Check if a value is an object☆40Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Log the value/error of a promise☆26Updated 4 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Check if an Array is sorted☆34Updated 3 years ago
- List of archive file extensions☆14Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Get the version of a binary in semver format☆41Updated last year
- Generate a random float☆35Updated 4 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if something is a generator function☆22Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if a file path is an archive file☆14Updated last year
- Detect the dominant newline character of a string☆55Updated last year