@ethiclab/getarg

1.0.1 • Public • Published

getarg npm version Build Status codecov

Reads from a formatted string like --arg-name

npm install @ethiclab/getarg

usage

const process = require('process')
const getarg = require("@ethiclab/getarg")

const _argname = getarg(process.argv, "--arg-name", "some optional default")

Readme

Keywords

Package Sidebar

Install

npm i @ethiclab/getarg

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

1.86 kB

Total Files

5

Last publish

Collaborators

  • ethiclab