is-node-fn

1.0.0 • Public • Published

Is Node?

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

Install

$ npm install is-node-fn

Usage

var isNode = require('is-node-fn');

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

Package Sidebar

Install

npm i is-node-fn

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sdgluck