Awesome Lists

os-name

by sindresorhus

JavaScriptpushed over 2 years ago

Get the name of the current operating system. Example: macOS Sierra

AI summary

OS info

Provides a way to get the name of the current operating system in JavaScript

stars
145
forks
14
watching
7
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/sindresorhus/os-name/links.svg)](https://awesome.facts.dev/awesome/sindresorhus/os-name)
HTML
<a href="https://awesome.facts.dev/awesome/sindresorhus/os-name"><img src="https://awesome.facts.dev/shield/sindresorhus/os-name/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/sindresorhus/os-name/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.