🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

is-node

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-node

Detect if current process is a node application or not.

1.1.1
latest
Source
npm
Version published
Weekly downloads
51K
-25.26%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

is

FAQs

Package last updated on 23 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts