sindresorhus / semver-regexView external linksLinks
Regular expression for matching semver versions
☆142Jul 9, 2022Updated 3 years ago
Alternatives and similar repositories for semver-regex
Users that are interested in semver-regex 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
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated last year
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- List of SPDX licenses☆92Jan 14, 2026Updated last month
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Pretty UTC datetime: `2014-01-09 0601`☆32Jul 8, 2022Updated 3 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated last year
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Create a levelDB instance on your local machine☆12Nov 15, 2016Updated 9 years ago
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 4 years ago
- Resolve the path of a package regardless of it having an entry point☆55Updated this 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
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Get the version of a binary in semver format☆42Apr 3, 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
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Check if a file path is a compressed file☆19Apr 30, 2024Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Sep 15, 2025Updated 5 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 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
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆55Jul 9, 2022Updated 3 years ago
- Split a string on the first occurrence of a given separator☆75Aug 20, 2025Updated 5 months ago
- Copy files☆434Updated this week
- Get the real path of the system temp directory☆85Sep 26, 2022Updated 3 years ago
- Check if a string is a valid filename☆62Aug 16, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Execute batches with any kind of level instance via a simple stream☆12Mar 11, 2015Updated 10 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year