Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

is-npm-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-npm-cli

Check if your code is running as an npm script

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
460
-52.48%
Maintainers
1
Weekly downloads
 
Created
Source

is-npm-cli Build Status

Check if your code is running as an npm script

Install

$ npm install --global is-npm-cli

Usage

$ is-npm --help

  Usage
    $ is-npm

  Exits with code 0 if running as an npm script, otherwise code 2
  • is-npm - API for this module

Keywords

cli-app

FAQs

Package last updated on 27 Mar 2020

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