1.0.3 • Published 9 years ago

kiss-argv v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

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.