0.0.3 • Published 1 year ago

@funish/argv v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@funish/argv

npm version npm downloads npm license Contributor Covenant

Programmatically parse command line parameters, powered by Funish.

Getting started

# npm
$ npm install @funish/argv

# yarn
$ yarn add @funish/argv

# pnpm
$ pnpm add @funish/argv

Usage

import { parseArgv } from "@funish/argv";

const argv = parseArgv([
  "-b",
  "--bool",
  "--no-meep",
  "--multi=baz",
  "--foo",
  "bar",
]);
// => { _: [], b: true, bool: true, meep: false, multi: "baz", foo: "bar" }

Interfaces

See it on JSDoc.

License

0.0.4-edge.3

1 year ago

0.0.4-edge.2

1 year ago

0.0.4-edge.1

1 year ago

0.0.4-edge.0

2 years ago

0.0.3

2 years ago

0.0.3-edge.2

2 years ago

0.0.3-edge.1

2 years ago

0.0.3-edge.0

2 years ago

0.0.2

2 years ago

0.0.2-edge.0

2 years ago

0.0.1

2 years ago

0.0.1-edge.1

2 years ago

0.0.0

2 years ago