current-platform
v1.0.0
Published
Get the name of the current OS platform
Downloads
6
Maintainers
Readme
current-platform
Check the current-platform in your code
Install
$ npm install current-platform
Usage
const currentPlatform = require('current-platform');
console.log(currentPlatform);
$ npm start
#=> macOS
License
MIT © Victor Nizeyimana