npm package
Homeos-name
The os-name package retrieves the name of the current operating system, such as 'macOS Sierra' or 'Ubuntu 20. 04. 1 LTS'.
- lurq health score
- 60/100
- Confidence
- proven
- Weekly downloads
- 2,606,435
- Latest version
- 7.0.0
- Last release
- Feb 2, 2026
- License
- MIT
Should you depend on os-name?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks os-name at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading os-name
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 6.1.0 → 7.0.0diff ready
- 5.1.0 → 6.1.0diff ready
- 4.0.1 → 5.1.0diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 17, 2026; this page refreshes every 168 hours. Source repository.