operating system name
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
index.js
package.json

Readme.md

os

Return the operating system name.

Installation

$ component install component/os

Example

var os = require('os');
console.log(os);
// => "mac"

Supports

  • "mac"
  • "windows"
  • "linux"

License

MIT