is-node
Detect if current process is a node application or not.
Last updated 9 years ago by matthewh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-node 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (8 years ago)

6 Versions

  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           9 years ago
  • 0.0.1-security                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 0.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 6
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE