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.

/kiss-argv/

    Package Sidebar

    Install

    npm i kiss-argv

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Last publish

    Collaborators

    • jhiver