sindresorhus / random-object-keyLinks
Get a random key from an object
☆18Updated 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☆15Updated last year
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Check if a path is inside another path☆40Updated 3 months ago
- Check if a value is an object☆42Updated 4 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Check if a value is a regular expression☆26Updated 4 years ago
- Check if a Buffer/Uint8Array is a WebP image☆21Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if a file path is a compressed file☆19Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Regular expression for matching a shebang line☆48Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Check if a path is the current working directory☆22Updated 7 months ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- List of archive file extensions☆16Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Check if a value is a function☆29Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Updated 4 years ago
- Modify the values of an object☆29Updated 4 years ago
- Check if a file path is a binary file☆49Updated last year
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Get a Gravatar image from an identifier, such as an email☆42Updated 4 years ago
- Log the value/error of a promise☆28Updated 4 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 2 months ago
- Get the PATH environment variable key cross-platform☆45Updated 3 months ago