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☆40Updated 4 years ago
- Check if a Buffer/Uint8Array is a WebP image☆21Updated 4 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Check if a file path is a compressed file☆19Updated last year
- Clone and modify a RegExp instance☆24Updated 3 years ago
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Lowercase the keys of an object☆41Updated last week
- Check if a value is a regular expression☆26Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Get the version of a binary in semver format☆42Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Check if a path is inside another path☆40Updated 4 months ago
- Get the email of an npm user☆14Updated last year
- Check if a value is an object☆42Updated 4 years ago
- Check if a file path is an archive file☆16Updated last year
- Check if a path is the current working directory☆22Updated 9 months ago
- Check if a file path is a text file☆21Updated last year
- Check if a string is a scoped npm package name☆25Updated 3 years ago
- Modify the values of an object☆29Updated 4 years ago
- Check whether a binary version satisfies a semver range☆24Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Get the path to the user home directory☆13Updated 4 years ago
- Check if an Array is sorted☆35Updated 4 years ago
- Check if a Buffer/Uint8Array is a GIF image☆30Updated 3 years ago
- List of archive file extensions☆16Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago