{"_id":"@allegiant/cmdhelper","_rev":"3-efdcc5d311295c113f91e5f3a1aed60c","name":"@allegiant/cmdhelper","description":"Simple command line argument parser library.","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@allegiant/cmdhelper","version":"0.0.1","description":"Simple command line argument parser library.","author":{"name":"echopoint","email":"echopoint@tutanota.com"},"contributors":[],"license":"MIT","bugs":{"url":"https://github.com/allegiant-js/cmdhelper/issues"},"homepage":"https://github.com/allegiant-js/cmdhelper#readme","repository":{"type":"git","url":"git+https://github.com/allegiant-js/cmdhelper.git"},"preferGlobal":true,"main":"index.js","engine":{"node":">= 7.6"},"scripts":{"lint":"eslint index.js","test":"tape test/*.js","coverage":"tape test/*.js --coverage --coverage-report=lcov"},"devDependencies":{"eslint":"^4.12.1","jsdoc":"^3.5.5","tape":"^4.8.0"},"gitHead":"56bbfa1ed158b8809c88236e35433fe6d64d24f7","_id":"@allegiant/cmdhelper@0.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"echopoint","email":"echopoint@tutanota.com"},"dist":{"integrity":"sha512-Yz1fygt5O7qw8CQ1Gj059TdACDD1qwiPrDqkJ883a+L9Cuy1Bf8Pf0GygFctWyThnNq55n+RT2YgXprVQV7eNw==","shasum":"897a80cd20a8a5e7f7301131de39de7af33c07b2","tarball":"https://registry.npmjs.org/@allegiant/cmdhelper/-/cmdhelper-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAc15rXox5IcZJwmXhgqCZcptZ5S/+W0C5Hn3gfJzud2AiEAhinXgEWnaac5ZZaJGKi4CAVEgMS/STSne/lLpTCrIBs="}]},"maintainers":[{"name":"echopoint","email":"echopoint@tutanota.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cmdhelper-0.0.1.tgz_1514309949304_0.3335237803403288"}}},"readme":"# cmdhelper\n\nSimple command line argument parser library.\n\n\tconst cmdHelper = require('@allegiant/cmdhelper');\n\tconst SETTINGS = cmdHelper.process(params => {\n\t    return {\n\t        host: params.get('host') || '0.0.0.0',\n\t        port: params.get('port') || 80\n\t    };\n\t});\n\nSETTINGS will now hold the two properties, 'host' and 'port'. These are available to the command line as --host \"hostname\" and --port \"port number\" respectively.\n\n\n#### Note\nThis is a preliminary release, api breakage may happen.\n\n\n### Copyright & License\n\nCopyright &copy; 2017 Allegiant. Distributed under the terms of the MIT License, see [LICENSE](https://github.com/allegiant-js/cmdhelper/blob/master/LICENSE)\n\nAvailble via [npm](https://www.npmjs.com/org/allegiant/cmdhelper) or [github](https://github.com/allegiant-js/cmdhelper).","maintainers":[{"name":"gabrielcsapo","email":"gabecsapo@gmail.com"},{"name":"echopoint","email":"echopoint@tutanota.com"}],"time":{"modified":"2022-04-04T13:31:42.139Z","created":"2017-12-26T17:39:10.222Z","0.0.1":"2017-12-26T17:39:10.222Z"},"homepage":"https://github.com/allegiant-js/cmdhelper#readme","repository":{"type":"git","url":"git+https://github.com/allegiant-js/cmdhelper.git"},"contributors":[],"author":{"name":"echopoint","email":"echopoint@tutanota.com"},"bugs":{"url":"https://github.com/allegiant-js/cmdhelper/issues"},"license":"MIT","readmeFilename":"README.md"}