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!");
}

/is-node/

    Package Sidebar

    Install

    npm i is-node

    Weekly Downloads

    46,640

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • matthewh