0.1.4 • Published 12 months ago

@toolbarthomas/argumentje v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Argumentje

Argumentje is a Node.js Module designed to simplify the process of parsing command line interface (CLI) arguments and transforming them into a valid object. With argumentje, handling command line arguments becomes straightforward and efficient.

Setup

You can install argumentje via npm:

$ npm install @toolbarthomas/argumentje

Usage

Here's a simple example to demonstrate how to use Argumentje:

// $ node ./index.js --minify --path=foo --debug=false

import { parse} from '@toolbarthomas/argumentje'

const args = parse()

// Output: { debug: false, minify: true, path: "foo" }

API

argumentje(args)

args: An array of CLI arguments, typically process.argv.

License

argumentje is licensed under the MIT License. See the LICENSE file for more details.

0.1.2

1 year ago

0.1.4

12 months ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago