argollector

1.0.0 • Public • Published

Argollector

Arguments Collector in CLI

Usage

// example.js
console.log(JSON.stringify(require('argollector')));
node example.js 1 2 3 --list 4 5 6 --name hehe -d hello
{
  "0": "1",
  "1": "2",
  "2": "3",
  "--list": [
    "4",
    "5",
    "6"
  ],
  "--name": [
    "hehe"
  ],
  "-d": [
    "hello"
  ]
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i argollector

      Weekly Downloads

      3

      Version

      1.0.0

      License

      MIT

      Last publish

      Collaborators

      • yanagieiichi