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"
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i argollector

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yanagieiichi