sindresorhus / to-semverView external linksLinks
Get an array of valid, sorted, and cleaned semver versions from an array of strings
☆41Apr 21, 2021Updated 4 years ago
Alternatives and similar repositories for to-semver
Users that are interested in to-semver are comparing it to the libraries listed below
Sorting:
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated 2 weeks ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Check when the DOM has loaded like `DOMContentLoaded`☆111Aug 21, 2024Updated last year
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Extract the article title of a HTML document or website☆31Sep 9, 2025Updated 5 months ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Detect if a stream is a file stream☆19Apr 21, 2019Updated 6 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated last year
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Sort an array of numbers☆18Sep 18, 2025Updated 4 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 2 weeks ago
- 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
- Pick random items from a list☆17Aug 10, 2021Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated 2 weeks ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- 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