npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@dkh-dev/argv

1.1.1 • Public • Published

parseArgv

Node.js process.argv parsed

Installation

$ yarn install @dkh-dev/argv

Examples

Example 1

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

install

npm i @dkh-dev/argv

Downloadsweekly downloads

40

version

1.1.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability