is-platform-node
This is a very simple script to detect if the current platform is node
Using
var isNode = ; if //do something// then it's the browser, or other platform
Testing
- Run
$ npm install
- Run
$ npm test
This is a very simple script to detect if the current platform is node
var isNode = ; if //do something// then it's the browser, or other platform
$ npm install
$ npm test
npm i is-platform-node
1
1.0.0
MIT