npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

@dkh-dev/argv

1.0.2 • Public • Published

parseArgv

Node.js process.argv parsed

Installation

npm install @dkh-dev/argv

Examples

Example 1

// index.ts
 
import argv from '@dkh-dev/argv';
 
console.log(argv);
// ts-node index.ts --a=b -c d e -f \"g h\" -i=j --k l -m 0
// => { a: 'b', c: 'd', f: 'g h', m: '0' }

install

npm i @dkh-dev/argv

Downloadsweekly downloads

5

version

1.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability