component-os
v0.0.1os
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
Return the operating system name.
$ component install component/os
var os = require('os');
console.log(os);
// => "mac"
MIT