Get the hash of a string
☆68Feb 5, 2022Updated 4 years ago
Alternatives and similar repositories for string-hash
Users that are interested in string-hash are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Generate a random float☆37Apr 18, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Pretty UTC datetime: `2014-01-09 0601`☆32Jul 8, 2022Updated 3 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Userscript that removes the Quora login requirement and any nagging about it☆34May 2, 2024Updated last year
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Pick random items from a list☆57Aug 10, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Normalize the newline characters in a string to `\n`☆30Sep 16, 2025Updated 5 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check if a Buffer/Uint8Array is a WebP image☆21Sep 18, 2021Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated 2 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Get the path to this package - Useful for testing☆22Aug 9, 2021Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated last month
- Convert a string to a valid safe filename on the command-line☆64Sep 15, 2025Updated 5 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Get all email addresses in a string☆60Feb 2, 2026Updated last month
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Check if a number is in a given range☆22Jan 23, 2021Updated 5 years ago