sindresorhus / latest-semverView external linksLinks
Get the latest stable semver version from an array of versions
☆47Oct 17, 2021Updated 4 years ago
Alternatives and similar repositories for latest-semver
Users that are interested in latest-semver are comparing it to the libraries listed below
Sorting:
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated 2 weeks ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Pick random items from a list☆17Aug 10, 2021Updated 4 years ago
- Check if two floats are almost equal☆18Apr 7, 2021Updated 4 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Extract the actual stack of an error☆68Jul 8, 2022Updated 3 years ago
- Get your public IP address☆27Sep 15, 2025Updated 5 months ago
- Check if a file path is a compressed file☆19Apr 30, 2024Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated last year
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Linkify GitHub issue references☆47Sep 11, 2025Updated 5 months ago
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Dec 4, 2023Updated 2 years ago
- Listen for changes in your conf config☆27Sep 13, 2017Updated 8 years ago
- List of archive file extensions☆16Apr 30, 2024Updated last year
- List of compressed file extensions☆16Apr 30, 2024Updated last year
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Get the npm config☆37Aug 3, 2024Updated last year
- Import a module like with `require()` but from the current working directory☆54Jul 8, 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
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Get or check the current macOS version☆62Aug 12, 2021Updated 4 years ago
- Convert a string to a valid safe filename on the command-line☆64Sep 15, 2025Updated 5 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Get a GitHub username from an email address☆125Feb 20, 2025Updated 11 months ago
- Check if a project is using Yarn☆98Sep 15, 2025Updated 5 months ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago