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
- Create an array with values that are present in the first input array but not additional ones☆39Updated 4 years ago
- Check if a file path is a compressed file☆18Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Check if a Buffer/Uint8Array is a WebP image☆20Updated 4 years ago
- Split a string at one or more indices☆24Updated 4 years ago
- Clone and modify a RegExp instance☆23Updated 3 years ago
- Check if a value is an object☆41Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- List of archive file extensions☆14Updated last year
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a path is the current working directory☆21Updated 5 months ago
- Check if a path is in the current working directory☆22Updated 4 years ago
- Check if a path is inside another path☆39Updated last month
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Check if a Buffer/Uint8Array is a GIF image☆29Updated 3 years ago
- Generate a random float☆37Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆20Updated last year
- Check if a value is a regular expression☆25Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆62Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Check if something is a generator function☆23Updated 3 years ago
- Assert a Map has a given key and return the value for it.☆12Updated 2 years ago
- Modify the values of an object☆28Updated 4 years ago