{"_id":"parse-help","_rev":"8-47e6451f1a68a5c5760abfe50d91ab22","name":"parse-help","description":"Parse CLI help output","dist-tags":{"latest":"2.0.0"},"versions":{"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","tarball":"https://registry.npmjs.org/parse-help/-/parse-help-0.1.0.tgz","integrity":"sha512-QDWGq2veECKwOsxT9IkBbRVrTy87FBPnsGRZQ0QBp6+yD54h6kfqMPpxV8X7o4RdumSwJma2vifz2KDJEUO80A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGwRtEDfbmbZh8hRfRwt6+E0UqR4slgdR/g8CoRMIuAgIhAPbZ1QkdDf83EZHa7mWls/nYYz7Zv8X57wBGW6BR/8M5"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"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","tarball":"https://registry.npmjs.org/parse-help/-/parse-help-0.1.1.tgz","integrity":"sha512-ny4sykC01dXzASUcjIPLJZDFn6O40+jCNcwqOIpsxQHIKl9JsA7kWt/s6kkwCkuafDnqkDSxdRiNY8DFXgneUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxRN9vSAsEVOUjMJr28n6GtNzQT3zNhFQTFZDvvyaMlAiBXixaSMRQ1CAIAUciBFwxdCyV0BLgoJfp96joH5mrj4Q=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-help-0.1.1.tgz_1462134747731_0.7207148366142064"},"directories":{}},"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":{"integrity":"sha512-dlOrbBba6Rrw/nrJ+V7/vkGZdiimWJQzMHZZrYsUq03JE8AV3fAv6kOYX7dP/w2h67lIdmRf8ES8mU44xAgE/Q==","shasum":"a260363ec71a96c0bad4a2ce0208c14a35dd0349","tarball":"https://registry.npmjs.org/parse-help/-/parse-help-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhCwQl0lVFEf6q/mZx7dZrVNDyLzBi1tmSlsY1bPr+kgIhAKBIrYAm7nsIHQwKFO+G+jNV7Pht5jYfRZFLGNE85+bp"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-help-1.0.0.tgz_1513353365222_0.36490832129493356"},"directories":{}},"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":{"integrity":"sha512-bb93UtyO4Pd9apV2ZQ2i///wIiW6eR1ZC+CraKHKMJX8dTayipqxwlOBmzjaoYQzfd3vzE00U9vND9K34LBgDQ==","shasum":"932f91b08d95a87e2c2a8ca708d108811b5754d6","tarball":"https://registry.npmjs.org/parse-help/-/parse-help-2.0.0.tgz","fileCount":4,"unpackedSize":3376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbxPoCRA9TVsSAnZWagAA+jIP/2KgF3FrAZk/yrdPs6tc\nfIVmiZqL57QWY2W5xzpB8OAuI0tjNpu2/kIzQHoefzcKtnA/8QnCmUzR3xCs\n+ARpt+D5TMo2F2CfqRCeFff60i02J5T9yZKqgem9pYl8pNNcvPq56BeREcmA\n+kdHwWIS/bFFNPXNb2XQ4dPUfnqR098fjabmMIJ0tSD7dvvlIlV/uknFq7e3\nkMqa81ikBpz9Pob98cI4ICdTyohzoKjDXNhOK1o1tcMrYZ9atDc5VRbM2SfN\noQRqk/BKshwXYWxKcQiZngYEcG5z6BPBd/aRV78bT/1VdGVFHLi4ev8PafjN\nAZK3PEjNIXSqAn+K/89Dk5tsTGuwRiLUv9RqNNEVNKn7aLhc3zPv4RmEv0+f\nwl827vZNuOilzsB68PZ4iN5cZxuLUO0QOagH6206Z+uYOJ4C3r5FzenRklgM\nY8Aehk1tk9YpM25fJdDG6TgeKMc+TbxZ0EVbzKGOwhPJwbAAVC4vfFHlOfWI\nkmqGQPLmXYmrOMND+j8l2mBcfABTACzNSMJMYY341ixlnmsa0WnUTEDCC9S3\nkcQpzJt/myEWbW81YW9WHvpU4i6gPh5zb609xEnpfVfKSfdxpm+SCqRNRUVQ\n+OpgRZYFpmNTKRUEiaYAS0eaxQGmW6FYLd3zppl8JD7FC8qF3cWuz+1cGRBz\n3uTf\r\n=1Jnq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNy2jKDUFRwo9vHDimFPNBFChp300fET7X6CMfL3CcwQIhALvG7GjJUjGAtcC9oEd+ZvYz9ndsNBF4Y7EC/R9qj8rM"}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-help_2.0.0_1617892327893_0.6644189852414697"},"_hasShrinkwrap":false}},"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","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-06-17T00:09:35.718Z","created":"2015-12-30T18:23:23.111Z","0.1.0":"2015-12-30T18:23:23.111Z","0.1.1":"2016-05-01T20:32:28.177Z","1.0.0":"2017-12-15T15:56:06.042Z","2.0.0":"2021-04-08T14:32:08.026Z"},"homepage":"https://github.com/sindresorhus/parse-help#readme","keywords":["parse","help","cli","argv","command-line","man","flags","arguments","alias","aliases","short"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/parse-help.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/parse-help/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"flumpus-dev":true}}