Socket
Socket
Sign inDemoInstall

ee-argv

Package Overview
Dependencies
3
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ee-argv

A simple commandline arguments parser


Version published
Weekly downloads
4.2K
decreased by-8.4%
Maintainers
1
Install size
152 kB
Created
Weekly downloads
 

Readme

Source

ee-argv

A simple and fast commandline arguments parser

installation

npm install ee-argv

build status

Build Status

usage

You may start your node app using arguments using one of the formats described below:

  • --key=value

  • --key or

  • --key value

    // node . --port=2345 --trace-http-request --debug sql queries

    var argv = require( "ee-argv" );

    argv.has( "trace-http-request" ); // true argv.get( "port" ); // "2345" argv.has( "port" ); // true argv.get( "debug" ); // sql queries

Keywords

FAQs

Last updated on 02 Feb 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc