sindresorhus / random-object-keyLinks
Get a random key from an object
☆18Updated 11 months ago
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 11 months ago
- Split a string at one or more indices☆23Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Check if a Buffer/Uint8Array is a WebP image☆19Updated 3 years ago
- Check if a file path is a compressed file☆17Updated last year
- A safer `.hasOwnProperty()`☆29Updated 2 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Assert a Map has a given key and return the value for it.☆12Updated 2 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Modify the values of an object☆27Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- A Set implementation with expirable keys☆16Updated 6 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- List of archive file extensions☆14Updated last year
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Check if a value is a function☆27Updated 4 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Include only certain items in an array☆16Updated last week
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Clone and modify a RegExp instance☆22Updated 2 years ago
- Generate a random float☆35Updated 4 years ago
- Check if a file path is a text file☆18Updated last year
- Check if a value is an object☆40Updated 4 years ago
- Check if a number is in a given range☆21Updated 4 years ago
- Get the system default UID☆11Updated last year
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago