Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

sindresorhus/is-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

io.js is no more.


is-io Build Status

Check if the runtime is io.js instead of Node.js

Install

$ npm install --save is-io

Usage

const isIo = require('is-io');

if (isIo) {
	// Do something custom in io.js
} else {
	// And something else in Node.js
}

License

MIT © Sindre Sorhus