kiss-argv

1.0.3 • Public • Published

kiss-argv

Simple, stupid ARVG parsing.

Installation

npm install kiss-argv

Example

parseme.js

"use strict";
var argv = require('kiss-argv');

node parseme.js --hello world --array one two three --sentence "yeah yeah one two"

{ hello: 'world',
  array: [ 'one', 'two', 'three' ],
  sentence: 'yeah yeah one two' }

That's it.

Contributing

Open an issue if things don't work right.

Readme

Keywords

Package Sidebar

Install

npm i kiss-argv

Weekly Downloads

5

Version

1.0.3

License

ISC

Last publish

Collaborators

  • jhiver