sindresorhus / rev-hashView external linksLinks
Create a hash for file revving
☆108Nov 1, 2023Updated 2 years ago
Alternatives and similar repositories for rev-hash
Users that are interested in rev-hash are comparing it to the libraries listed below
Sorting:
- Create a revved file path☆21Jul 9, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Create a MD5 hash with hex encoding☆48Nov 6, 2023Updated 2 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 3 weeks ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Extract the actual stack of an error☆68Jul 8, 2022Updated 3 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Start a promise chain☆60Sep 16, 2025Updated 4 months ago
- Sum numbers☆10Sep 18, 2025Updated 4 months ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Get user info from a GitHub username☆24Oct 14, 2021Updated 4 years ago
- Linkify GitHub issue references☆47Sep 11, 2025Updated 5 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- Check if a value matches a condition☆13Feb 19, 2018Updated 7 years ago