{"_id":"command-line-parser","_rev":"16-55f8f1309da5be7a986e2fd50db7651e","name":"command-line-parser","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","dist-tags":{"latest":"0.2.10"},"versions":{"0.1.0":{"name":"command-line-parser","version":"0.1.0","description":"This module exports a default function that takes an array of command-line arguments from node and returns a parsed object.","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"5a10fc9a663736872d12af594a06df5c90d5826d","_id":"command-line-parser@0.1.0","_shasum":"a28ffab8452f9e1d8b9c425ccf89d239ba13f277","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"a28ffab8452f9e1d8b9c425ccf89d239ba13f277","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.0.tgz","integrity":"sha512-eWqht1m0YKwpeNH4n5A/rJ1eyDS2jv0c25WHNOo8t8hnY3JjWd6OnVG+SMONvGIgoOwakXUn7sl9rqHViauaGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO3Qh8/jkYVWfK+DXlK8ChstxGwbqsfk7XNU3V5tBHZQIgNwYmUv+XyYecgVMGaWNGV35fZ6dX1RaICTlMV+/4+/U="}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.0.tgz_1476780624695_0.3166182429995388"},"directories":{}},"0.1.1":{"name":"command-line-parser","version":"0.1.1","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"02f31ee057f244e5f29c9877dd606e9359fed544","_id":"command-line-parser@0.1.1","_shasum":"99e334a54b57ae41b7eacf596c4db801fdb1054b","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"99e334a54b57ae41b7eacf596c4db801fdb1054b","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.1.tgz","integrity":"sha512-/5LU6ytQt2ssqR0VDxS/6C7M8nSQtA8Y0oJFlhd+3MPsubHpgIevb0/vWgaQNnE27lzijFMjIARcJLPzJtneUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI0SpP8q68Bl4ZJHzImZxkd0rbzAyDYhzs0SAfvH8z4AIgR/tXkr69sZW9TiADLWv88u2faIo8UeSYxj8jw0+McM0="}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.1.tgz_1476792811768_0.5380230501759797"},"directories":{}},"0.1.2":{"name":"command-line-parser","version":"0.1.2","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"82c5ff433e9fc931420e4e533fda39d550d6d930","_id":"command-line-parser@0.1.2","_shasum":"9584da22565aef24050623af9673598cc52e33fd","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"9584da22565aef24050623af9673598cc52e33fd","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.2.tgz","integrity":"sha512-SfSm0TKOH7QAS5oz4EuJIIsN6YlcPOix/W2xSMZYgNa4szpWzTfngLGaPpBAixET7H131z8ZiifSNzBzmr5eQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYpoVqvnyrSijDPQIhm8hp9y0F4N411jojqiJcVQvUgwIgd54HX8SAVgahCTA75xAGYKKpbg4/MzggiwkoScrLCsM="}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.2.tgz_1476793840548_0.14904859964735806"},"directories":{}},"0.1.4":{"name":"command-line-parser","version":"0.1.4","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"65bfdd25a6f8ba0b6b2838495121d959203a5fa9","_id":"command-line-parser@0.1.4","_shasum":"64b25f4c5abc6077dc5daef381fcd38055e5cd0e","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"64b25f4c5abc6077dc5daef381fcd38055e5cd0e","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.4.tgz","integrity":"sha512-kGMRCaBAu3YPLEmXugO3PMToTlZsp3Z1/aEdrCF6bgK1DMnC/q5W11a91mMkZk2A7tZsWCZZ4f+Zt+p31OHLMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0e6T4UvnOuBjjTeJ+reflG5/1u5NatgT2Z/MT79PyGAiEAoIgZALon90NMzHsnOiUoM82qGBp+4zoI85flIc8h0ko="}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.4.tgz_1476826478264_0.5834369147196412"},"directories":{}},"0.1.5":{"name":"command-line-parser","version":"0.1.5","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"39fa991270ac4adb3c2bbf27c904fc502a56e55f","_id":"command-line-parser@0.1.5","_shasum":"6a63d81602400b4a34849a2d24cf56cf05371aab","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"6a63d81602400b4a34849a2d24cf56cf05371aab","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.5.tgz","integrity":"sha512-QcjbZWIA7urZuAj6FhlhX8bz0DcRJ1e/oQqrsigh6yzLYdUAW45sWUcW/9WRvVKGuvYJvzExxTJARBy3YonrSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA05B1AwPfUD715UNFCdUrNP8C3J/JIXM56N3B7/F5FQIgD8DBjcOc4KBGrFNrdGvV4ukUcoyn2tgSsVUlvU6WNEA="}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.5.tgz_1476943166722_0.6795041705481708"},"directories":{}},"0.1.6":{"name":"command-line-parser","version":"0.1.6","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"fb1b0eb1b2b6b06be9089d540381f7f672341d9b","_id":"command-line-parser@0.1.6","_shasum":"1b80394b423c728c2305afea474b31018ebce3cb","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"1b80394b423c728c2305afea474b31018ebce3cb","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.6.tgz","integrity":"sha512-DAzNT0kll0Zg2VoXG8HF7Il2b2pzf3ZinjpIxnvn2xEMeRLlhguWeFNV0yxGqDRaKbH3tfL7BMBo7JZh3edEYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4czvmET1aaqUhfsIauxJBIqET134P1xV7IaXNPScdjgIhANcqBdUFK/+3jjO7PK+KJfqWctL2CPJRGBbjsi0HFqlN"}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.6.tgz_1476989601420_0.11131668766029179"},"directories":{}},"0.1.7":{"name":"command-line-parser","version":"0.1.7","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"cee0d2d7fb07b89635b0cccaed9ec3f0c3a3f7b1","_id":"command-line-parser@0.1.7","_shasum":"2e4441e57990fdb18f05b73083a6ef9f007ec768","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"2e4441e57990fdb18f05b73083a6ef9f007ec768","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.7.tgz","integrity":"sha512-TQwH2kMKbJhKjKL3QfJhGcrHBlc5LEzFWA79E/i+C8jbqIpiRjBEBUWN03QRwjMt803otBBbR6R7YzcBm+TWfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFqY0unwK3KaAmm+GdnSRAgjqgmIkGmeVkjDoBKsCnxAIhANGF8tgJn5Q5VOXFPAQJ+hgWCwPBi+TxXmn3OFXgOUaZ"}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.7.tgz_1477005479467_0.6219064043834805"},"directories":{}},"0.1.8":{"name":"command-line-parser","version":"0.1.8","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"c68c10108ce135000bd0bca4f6ad1db79e8cf49d","_id":"command-line-parser@0.1.8","_shasum":"6c76b96bbf0860481c05879258547fb8333ce69a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"6c76b96bbf0860481c05879258547fb8333ce69a","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.8.tgz","integrity":"sha512-Sw02wVUWs1BUJtOezfRT6tmgRKlClKA6lEu2KtVOergxAMEdZWai8IXbWE1w36XTnX+6rCKSzosyPQiLuQ8LQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmF7NtO4QE6RycjD4E9io+qKITYRHmY5CeK067HlFCrAiAa7Kfm5QW8A6P0+cExso58+qCHUCjNGjY3pUQoHP31VA=="}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.8.tgz_1477006453190_0.014791164547204971"},"directories":{}},"0.1.9":{"name":"command-line-parser","version":"0.1.9","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"5e1ccc82db6103ec59a0c6f195e8b80c3040bcc1","_id":"command-line-parser@0.1.9","_shasum":"c00c8c2b23adddd59ac6ce5ed52570bbad26b506","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"c00c8c2b23adddd59ac6ce5ed52570bbad26b506","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.9.tgz","integrity":"sha512-+SeHzKCRdGXctzxAu82gjr7LQrDdLsdjb3KkXqzgW6EeC2H/P+KJbKE3KKFNQy0V5BiqlWAlL+0B/0G3wxedzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0B4+Y9JlUz8SIgsclshegHcm/5Cd+pFAwcvvwSQKmyAiEAlfJdMYD1VZC4uOTvrMLJbiQMH+dP6BeKNKN+Rr4WcKE="}]},"maintainers":[{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.9.tgz_1477039032852_0.7354586008004844"},"directories":{}},"0.1.10":{"name":"command-line-parser","version":"0.1.10","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"command-line-parser.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"8f8ffdef26c4fe4181f62bf66b3bd7eb62902298","_id":"command-line-parser@0.1.10","_shasum":"e7a8994a53187bfbc8d70129ffd4d57bc3726c12","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"dist":{"shasum":"e7a8994a53187bfbc8d70129ffd4d57bc3726c12","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.1.10.tgz","integrity":"sha512-Ncg7fiITuraNUdusB1pWfyblPMHtic/NFzLWHy/Kmr8PsUYNKp2YbEXLqeuw5Q6AWN5Qz21EKlRNSBcdTRuMpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJduRIgR4VEPPmKE72WT5PznT3nihsrGAz/Jg2Yg2LNAIhAJW3lafSFtT15lW0pc/0vUhaFkNooMSeZQcf08s9ih7K"}]},"maintainers":[{"name":"jbjw","email":"jwelsh@nestlabs.com"},{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/command-line-parser-0.1.10.tgz_1489555572406_0.17674016021192074"},"directories":{}},"0.2.10":{"name":"command-line-parser","version":"0.2.10","description":"Simple lightweight function takes an array of command-line arguments and returns a parsed object","main":"index.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"license":"ISC","bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"keywords":["cli","command","line","parse","parser","parsing","options","switch"],"homepage":"https://github.com/lpw/command-line-parser#readme","devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2"},"gitHead":"a66c25db5aea67db9ef817587426677a46e87088","_id":"command-line-parser@0.2.10","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ltdABudGiokiv4e3prof0f0xoKX5jYIys/i2l0U2DB6Ys9eUoKvC/QrhuR1ZLjyb33wzLGov3oUtp8IWOj5roQ==","shasum":"4ff1e222eb392ae3fcc16110e8337c57fb7d24ce","tarball":"https://registry.npmjs.org/command-line-parser/-/command-line-parser-0.2.10.tgz","fileCount":4,"unpackedSize":11696,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4FqpnVbVNUIV1HNZKInZLuHYtxaXfnDuM3MVzni7s6AIgOx57Wl4pMtW+tR4F7VrR7DHghkcot8DAZICJoSo9fqc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/6HnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9VQ/+MX0Hi5bGx0Euig7sO0tAlYFglCV/m8RYOLlmQaV80IJhlYfj\r\nfcx1vKh2bNSEg1qcCJBpf7TeL2btMxX3AqCUHBQYoYcUmRomh2mfEDcGYhQR\r\nAp0oUcKWM+PpkQ4mvsIP0X/ZnkzZR/NYdrSz6DNpaKLZsqWLQCv+neB2rHT1\r\nDdzYw/3kdVHRtc8E/vyL/LDX+Qs4/Azyc8bven43/xqvogGSg0na5nje1iTo\r\n1r+Oqfzf73AyRjEUJbl+k+F7fs3hT7In7J/T87UwaQ/3o6PHLD9I5GA84nYV\r\nTLM/ZNRp1TeU4B7wDpDmHbFAstRl6cIxv8mJjpOw+CeaWRDBAeml5yu06bFL\r\nozWC2qBDaTj2ejGbvDRyhdMVg9XlLGBgaVnBuk/EmZ0Jjk+/qHxSie1PB4bB\r\npVJSzipX6bejq0z0hyjAWebbGCEYGsl3O7JQ684SWy3Kv0S58VW6FDRfU+tv\r\nUrWxVYmOommvHI7qZaDXzX+rU3OfJZ37Abuy2ahPiMVB0NFZ8zN+3pQD8aOB\r\nQDAPSrAqDKgxvfoNpWwdXRvXPY8yGv6dqrJBIrZtrf7GjTmbx2ydwmKw8055\r\n+F4s08Jycbbe4FYv6ydtF2UQhiJupsHHnwBP7IQFzqJEjEvdug2jW2c0E1KB\r\nFEKPskBl/pdp5Dt8eQIWoJ9ExIwd7qDvnPM=\r\n=lXq6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"lancepw","email":"npm@lwelsh.com"},"directories":{},"maintainers":[{"name":"jbjw","email":"jwelsh@nestlabs.com"},{"name":"lancepw","email":"npm@lwelsh.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/command-line-parser_0.2.10_1677697511380_0.14067333541771876"},"_hasShrinkwrap":false}},"readme":"# command-line-parser\nThis statement:\n```\nconst argsObj = require('command-line-parser')();\n```\nreturns this ```argsObj``` object:\n```\n{\n\tv: true,\n\tdebug: true,\n\thost: 'there.com',\n\tport: '8081',\n\t_args: [ 'myfile1', 'myfile2' ]\n}\n```\nwhen invoked with:\n```\nnode ./myscript.js myfile1 -v -debug -host there.com -port 8081 myfile2\n```\nThis simple lightweight module exports a default function that takes an array of command-line arguments and returns a parsed object (a bit simpler than the venerable ```minimist``` or ```commander```).\n\n### Arguments as keys and values\nA key argument (starts with a dash) looks to the next argument for a value, such as ```-foo bar```.  If ```foo``` does not find a value, a default value of ```true``` will be set.\n\nThere's a few ways in which ```foo``` might not find a value:\n* the following argument also starts with a dash, as in ```-foo -hey```\n* there are no more arguments\n* ```foo``` is set in ```booleanKeys``` of config (an optional argument):\n```\nconst argsObj = require('command-line-parser')({\n\tbooleanKeys: [ 'foo' ]\n});\n```\nA key with multiple leading dashes such as ```--debug``` will be the same as ```-debug``` (with the exception of overriding the optional argument ```allowKeyGrouping``` described below).\n\nA key with embedded dashes or spaces will be converted to ```camelCase``` from ```camel-case```.\n\nArguments that don't fulfill the role of a key or a value will be added in an array to a key called ```_args``` in the parsed object.\n\nTo avoid any arguments intended for ```_args``` from becoming the unintentional value of a preceding boolean key, either specify that boolean key in ```booleanKeys``` of config, or follow that boolean key with a placeholder argument such as a single ```-``` or double dash ```--``` on the command line.\n```\nnode ./myscript.js -d -- foo1 foo2 foo3\n```\n\n### Embedding numerical values within keys\nInstead of having to separate a numerical argument from its key:\n```\nnode ./myscript.js -n 8\n```\nit may be embedded in the key:\n```\nnode ./myscript.js -n8\n```\nby setting ```allowEmbeddedValues``` in the config:\n```\nconst argsObj = require('command-line-parser')({\n\tallowEmbeddedValues: true\n});\n```\nto give the result\n```\n{\n\tn: 8\n}\n```\n### Single letter key grouping\nTo parse a leading-dash argument such as ```-abc``` as single-letter keys instead of one multi-letter key, then set ```allowKeyGrouping``` in config so that\n```\nnode ./myscript.js -abc\n```\nwhen parsed by\n```\nconst argsObj = require('command-line-parser')({\n\tallowKeyGrouping: true\n});\n```\ngives the result\n```\n{\n\ta: true,\n\tb: true,\n\tc: true\n}\n```\n```allowKeyGrouping``` can be overridden on the command-line by prefixing the argument with double-dashes, so that\n```\nnode ./myscript.js --abc\n```\nbecomes\n```\n{\n\tabc: true\n}\n```\n\n### Passing configuration\nAn optional configuration object may be passed in that will override these default values:\n```\nconst argsObj = require('command-line-parser')({\n\targs = process.argv.slice(2),\t// skip the binary and script file args\n\tbooleanKeys = [],\n\tallowKeyGrouping: false,\n\tallowEmbeddedValues: false\n});\n```\n### Installation and testing\nInstall with ```npm install command-line-parser```.\n\nTest via ```npm test``` (and see test/index.js for some examples).\n\n### Useful destructuring assignment pattern\nThis is a common pattern using destructuring assignment (available in ES6 or via Babel) which can be useful here, especially with default values, and perhaps renaming ```_args```:\n```\nconst {\n\tv,\n\tdebug = false,\n\thost = 'default.com',\n\tport = '80',\n\t_args: files = []\n} = argsObj ;\n```\nwill assign the locally scoped constant variables ```v```, ```debug```, ```host```, ```port```, and ```files```.\n","maintainers":[{"name":"jbjw","email":"jwelsh@nestlabs.com"},{"name":"lancepw","email":"npm@lwelsh.com"}],"time":{"modified":"2023-03-01T19:05:11.663Z","created":"2016-10-18T08:50:24.954Z","0.1.0":"2016-10-18T08:50:24.954Z","0.1.1":"2016-10-18T12:13:31.998Z","0.1.2":"2016-10-18T12:30:40.817Z","0.1.4":"2016-10-18T21:34:39.820Z","0.1.5":"2016-10-20T05:59:26.931Z","0.1.6":"2016-10-20T18:53:21.650Z","0.1.7":"2016-10-20T23:18:01.366Z","0.1.8":"2016-10-20T23:34:13.456Z","0.1.9":"2016-10-21T08:37:13.094Z","0.1.10":"2017-03-15T05:26:14.424Z","0.2.10":"2023-03-01T19:05:11.524Z"},"homepage":"https://github.com/lpw/command-line-parser#readme","repository":{"type":"git","url":"git+https://github.com/lpw/command-line-parser.git"},"author":{"name":"github@lwelsh.com"},"bugs":{"url":"https://github.com/lpw/command-line-parser/issues"},"license":"ISC","readmeFilename":"README.md","keywords":["cli","command","line","parse","parser","parsing","options","switch"],"users":{"jbjw":true,"lancepw":true}}