1.0.1 • Published 9 years ago
is-io v1.0.1
is-io
Check if the runtime is io.js instead of Node.js
Install
$ npm install --save is-io
Usage
var isIo = require('is-io');
if (isIo) {
// do something custom in io.js
} else {
// and something else in Node.js
}
License
MIT © Sindre Sorhus