🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

get-node-named-cli-args

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

get-node-named-cli-args

Get the command line arguments as an object

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
4
-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

get-node-named-cli-args

Tests

Example

CLI: node my-app.js foo=true bar=123 baz=cool

JS:

const getNamedArgs = require('get-node-named-cli-args')

const myArgs = getNamedArgs()// { foo: true, baz: 123: baz: 'cool' }

Keywords

node

FAQs

Package last updated on 19 Apr 2021

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