Get the name of the current operating system. Example: macOS Sierra
☆149Sep 18, 2026Updated 2 months ago
Alternatives and similar repositories for os-name
Users that are interested in os-name are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Get the name of the current operating system☆22Feb 2, 2026Updated 9 months ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆49Sep 18, 2026Updated 2 months ago
- Get the name and version of a macOS release from the Darwin version☆69Sep 18, 2026Updated 2 months ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated 2 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Lowercase the keys of an object☆43Sep 18, 2026Updated 2 months ago
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 9 months ago
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 5 years ago
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 3 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 5 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Pick random items from a list☆17Aug 10, 2021Updated 5 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆58Sep 18, 2026Updated 2 months ago
- Get the default browser☆63Sep 18, 2026Updated 2 months ago
- Check if a process is running☆62Nov 4, 2021Updated 5 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 5 years ago
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 5 years ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months ago
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated 2 months ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated 2 months ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 5 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated 2 months ago
- Get user info from a GitHub username☆24Oct 14, 2021Updated 5 years ago
- Check if a string is email like☆25Nov 11, 2025Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated 2 months ago
- Display an error in a GUI dialog☆22May 3, 2021Updated 5 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Sep 18, 2026Updated 2 months ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Check if a path exists☆26Sep 18, 2026Updated 2 months ago
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 3 years ago
- Lazy number range generator☆82Jan 2, 2024Updated 2 years ago
Are these results useful?