New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

argv0

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argv0

Compare process.argv0 to other values

0.0.1
latest
Source
npm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

argv0

Compare process.argv0 to other values

A mini tool to show the difference between process.argv0 (added in Node 6.4.0) and other methods for determining the name of the bin script being executed for a globally installed package.

Installation and Usage

As global bin:

$ npm install -g argv0
$ argv0
{ argv0: 'node',
  argv1basename: 'argv0',
  'yargs$0': '/usr/local/bin/argv0' }

As module:

$ npm install argv0
const argv0 = require('argv0')
console.log(argv0())

License

ISC © Contributors

FAQs

Package last updated on 22 Jun 2017

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