is-node

1.0.2 • Public • Published

Is Node?

Detects if the current process is a node application or not.

Install

$ npm install is-node

Usage

var isNode = require('is-node');
 
if (isNode) {
  console.log("Hey, I'm a node process!");
}

Readme

Keywords

Package Sidebar

Install

npm i is-node

Weekly Downloads

32,866

Version

1.0.2

License

MIT

Last publish

Collaborators

  • matthewh