os-component

Return the operating system name

npm install os-component
4 downloads in the last week
17 downloads in the last month

os

Return the operating system name.

Installation

$ component install component/os

Example

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

Supports

  • "mac"
  • "win"
  • "linux"

License

MIT

npm loves you