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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i kiss-argv

Weekly Downloads

4

Version

1.0.3

License

ISC

Last publish

Collaborators

  • jhiver