Get the name of the current operating system
npm install --global os-name-cli
$ os-name --help
Example
$ os-name
macOS Sierra
- os-name - API for this module
Get the name of the current operating system
npm install --global os-name-cli
$ os-name --help
Example
$ os-name
macOS Sierra
npm i os-name-cli
1
3.0.0
MIT
2.41 kB
4