is-node
Detect if current process is a node application or not.
Last updated 2 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.

Usage

const isNode = require("is-node");

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

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

Current Tags

  • 1.1.1                                ...           latest (2 years ago)

8 Versions

  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           11 years ago
  • 0.0.1-security                                ...           11 years ago
  • 2.0.0                                ...           11 years ago
  • 0.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 36
Today 0
This Week 7
This Month 16
Last Day 0
Last Week 4
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None

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