sindresorhus / find-versionsView external linksLinks
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
☆46Apr 3, 2024Updated last year
Alternatives and similar repositories for find-versions
Users that are interested in find-versions are comparing it to the libraries listed below
Sorting:
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Check whether a binary version satisfies a semver range☆24Apr 3, 2024Updated last year
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated last year
- Check if a Buffer/Uint8Array is a JPEG image☆27Jul 8, 2022Updated 3 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Get the name and version of a macOS release from the Darwin version☆67Jun 11, 2025Updated 8 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Pick random items from a list☆57Aug 10, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Check if your code is running as an npm or yarn script☆66Sep 10, 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
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Get a Gravatar image from an identifier, such as an email☆42Sep 10, 2021Updated 4 years ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆47Feb 2, 2026Updated last week
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Pretty UTC datetime: `2014-01-09 0601`☆32Jul 8, 2022Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 5 months ago