{"_id":"parse-help","_rev":"2763825","name":"parse-help","description":"Parse CLI help output","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2022-02-14T08:03:34.000Z","created":"2015-12-30T18:23:23.111Z","2.0.0":"2021-04-08T14:32:08.026Z","1.0.0":"2017-12-15T15:56:06.042Z","0.1.1":"2016-05-01T20:32:28.177Z","0.1.0":"2015-12-30T18:23:23.111Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/parse-help.git"},"versions":{"2.0.0":{"name":"parse-help","version":"2.0.0","description":"Parse CLI help output","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/parse-help.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["parse","help","cli","argv","command-line","man","flags","arguments","alias","aliases","short"],"dependencies":{"execall":"^3.0.0"},"devDependencies":{"ava":"^3.15.0","xo":"^0.38.2"},"gitHead":"19bbca67b72a0563b4cd9d69990b40382ce5698a","bugs":{"url":"https://github.com/sindresorhus/parse-help/issues"},"homepage":"https://github.com/sindresorhus/parse-help#readme","_id":"parse-help@2.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"932f91b08d95a87e2c2a8ca708d108811b5754d6","size":1809,"noattachment":false,"key":"/parse-help/-/parse-help-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-help/download/parse-help-2.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-help_2.0.0_1617892327893_0.6644189852414697"},"_hasShrinkwrap":false,"publish_time":1617892328026,"_cnpm_publish_time":1617892328026,"_cnpmcore_publish_time":"2021-12-16T23:13:33.474Z"},"1.0.0":{"name":"parse-help","version":"1.0.0","description":"Parse CLI help output","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/parse-help.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["parse","help","cli","argv","command-line","man","flags","arguments","alias","aliases","short"],"dependencies":{"execall":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"966ab8523bb9b6e1dc68ed0f00fea2a5c284f616","bugs":{"url":"https://github.com/sindresorhus/parse-help/issues"},"homepage":"https://github.com/sindresorhus/parse-help#readme","_id":"parse-help@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a260363ec71a96c0bad4a2ce0208c14a35dd0349","size":1837,"noattachment":false,"key":"/parse-help/-/parse-help-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-help/download/parse-help-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-help-1.0.0.tgz_1513353365222_0.36490832129493356"},"directories":{},"publish_time":1513353366042,"_hasShrinkwrap":false,"_cnpm_publish_time":1513353366042,"_cnpmcore_publish_time":"2021-12-16T23:13:33.720Z"},"0.1.1":{"name":"parse-help","version":"0.1.1","description":"Parse CLI help output","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/parse-help.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["parse","help","cli","argv","command-line","man","flags","arguments","alias","aliases","short"],"dependencies":{"execall":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"a4b266d18f9a7ecf15f9e8ce2253f4ca98ca4d77","bugs":{"url":"https://github.com/sindresorhus/parse-help/issues"},"homepage":"https://github.com/sindresorhus/parse-help#readme","_id":"parse-help@0.1.1","_shasum":"2f4df942e77a5581bba9967c0c3f48e4c66d7dda","_from":".","_npmVersion":"3.8.9","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2f4df942e77a5581bba9967c0c3f48e4c66d7dda","size":1868,"noattachment":false,"key":"/parse-help/-/parse-help-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-help/download/parse-help-0.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-help-0.1.1.tgz_1462134747731_0.7207148366142064"},"directories":{},"publish_time":1462134748177,"_hasShrinkwrap":false,"_cnpm_publish_time":1462134748177,"_cnpmcore_publish_time":"2021-12-16T23:13:33.928Z"},"0.1.0":{"name":"parse-help","version":"0.1.0","description":"Parse CLI help output","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/parse-help"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["parse","help","cli","argv","command-line","man","flags","arguments","alias","aliases","short"],"dependencies":{"execall":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"296d3a446e16523df7cbe7896f86de2b268b524c","bugs":{"url":"https://github.com/sindresorhus/parse-help/issues"},"homepage":"https://github.com/sindresorhus/parse-help","_id":"parse-help@0.1.0","_shasum":"37d7bf20df9e027149f5baba415a6eeb7ee000cb","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"37d7bf20df9e027149f5baba415a6eeb7ee000cb","size":1860,"noattachment":false,"key":"/parse-help/-/parse-help-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-help/download/parse-help-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1451499803111,"_hasShrinkwrap":false,"_cnpm_publish_time":1451499803111,"_cnpmcore_publish_time":"2021-12-16T23:13:34.159Z"}},"readme":"# parse-help\n\n> Parse CLI help output\n\n## Install\n\n```\n$ npm install parse-help\n```\n\n## Usage\n\n```js\nimport parseHelp from 'parse-help';\n\nconst help = `\n\tUsage\n\t  $ unicorn <name>\n\n\tOptions\n\t  --rainbow    Lorem ipsum dolor sit amet\n\t  -m, --magic  Aenean commodo ligula eget dolor\n\t  --pony       Nullam dictum felis eu pede\n\t  -c, --color  Donec quam felis\n\n\tExamples\n\t  $ unicorn Peachy\n\t  $ unicorn Sparkle --rainbow --magic\n`;\n\nparseHelp(help);\n/*\n{\n\tflags: {\n\t\trainbow: {\n\t\t\tdescription: 'Lorem ipsum dolor sit amet'\n\t\t},\n\t\tmagic: {\n\t\t\talias: 'm',\n\t\t\tdescription: 'Aenean commodo ligula eget dolor'\n\t\t},\n\t\tpony: {\n\t\t\tdescription: 'Nullam dictum felis eu pede'\n\t\t},\n\t\tcolor: {\n\t\t\talias: 'c',\n\t\t\tdescription: 'Donec quam felis'\n\t\t}\n\t},\n\taliases: {\n\t\tm: 'magic',\n\t\tc: 'color'\n\t}\n}\n*/\n```\n\n## Related\n\n- [aliases](https://github.com/sindresorhus/aliases) - Parse flag aliases in CLI help output\n","_attachments":{},"homepage":"https://github.com/sindresorhus/parse-help#readme","bugs":{"url":"https://github.com/sindresorhus/parse-help/issues"},"license":"MIT"}