{"_id":"opts","_rev":"22-168217b8ccd55d0c00e98365795e37e3","name":"opts","description":"Command line argument parser with automatic help text generation.","dist-tags":{"latest":"2.0.2"},"versions":{"1.2.0":{"name":"opts","version":"1.2.0","description":"Command line argument parser written in the style of commonjs. To be used with node.js","author":{"name":"Joey Mazzarelli","email":"mazzarelli@gmail.com","url":"http://joey.mazzarelli.com"},"main":"js/opts","engines":{"node":">=0.1.90"},"_id":"opts@1.2.0","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"https://registry.npmjs.org/opts/-/opts-1.2.0.tgz","shasum":"3ff8d608ffce4c479d715be1d2717976174a4bf1","integrity":"sha512-yr6dUxHor3VM2cc1Qin93HNJlSW+kVKtE2ZpaKEfrIeilyRbp5yxyiwl58ipeqEwI6GQiskzG9XLJipe/V9ujg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFrAxAy2Sx0ZFwRV7TDOg9Mi56mPE/241o9+GgRzM/5AiEA+zLTx5sUQLvvFx+rKG8/KRFvuVy3+Tg1Yjo9ZMhqNuA="}]},"directories":{}},"1.2.1":{"name":"opts","version":"1.2.1","description":"Command line argument parser written in the style of commonjs. To be used with node.js","author":{"name":"Joey Mazzarelli","email":"mazzarelli@gmail.com","url":"http://joey.mazzarelli.com"},"main":"js/opts","engines":{"node":">=0.1.90"},"_id":"opts@1.2.1","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"https://registry.npmjs.org/opts/-/opts-1.2.1.tgz","shasum":"004648021d7881598ba0544b8db64b8e099dc8a7","integrity":"sha512-o9lGnroD8juSRY4yhvwniH5yhSOrmQvHPKbT7EKJQ2Nm8cKDI/r/jFxbYhAMSjEqKwF5NUWvNSe9VZz88pUlAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrdHf8HqbVZjcmDKEsgi/W/zhn3EetyDuayooGCsC1ogIhALstUBspkPcvLxoA9h8W8WwMP5Abts5vQcw4o2rl7a+y"}]},"directories":{}},"1.2.2":{"name":"opts","version":"1.2.2","description":"Command line argument parser written in the style of commonjs. To be used with node.js","author":{"name":"Joey Mazzarelli","email":"mazzarelli@gmail.com","url":"http://joey.mazzarelli.com"},"main":"js/opts","engines":{"node":">=0.1.90"},"_npmUser":{"name":"mazzarelli","email":"mazzarelli@gmail.com"},"_id":"opts@1.2.2","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"81782b93014a1cd88d56c226643fd4282473853d","tarball":"https://registry.npmjs.org/opts/-/opts-1.2.2.tgz","integrity":"sha512-JXP9/s4KU6vP5mmjwdmn3xJTeO4TmEy7j0w7GO7+9tcsbNb/nNs7aMPtX3if8IYw1tx07nRyRdl5XqVqFGjqvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiqAqUIJxN2ExukNBkuGDiqIfJFkp8EDYYMftNHZe2wwIgNKqEyw0crcvtG2EyoCuOsuo7B6eUiIRyUeHITUyLNIs="}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"directories":{}},"1.2.4":{"name":"opts","version":"1.2.4","description":"Command line argument parser written in the style of commonjs. To be used with node.js","author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"main":"src/opts","gitHead":"4e18f3410872831c61f90d770647bd6815c3c7d5","_id":"opts@1.2.4","scripts":{},"_shasum":"d344bce643e0ec02bdb6e2b696a0371f2af096f1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mazzarelli","email":"mazzarelli@gmail.com"},"dist":{"shasum":"d344bce643e0ec02bdb6e2b696a0371f2af096f1","tarball":"https://registry.npmjs.org/opts/-/opts-1.2.4.tgz","integrity":"sha512-vhKaio+K+9/aEKjfRWKMp5yrm+tsRInw0SytNuScHCL385e22mVeP85+PxV7bqoDEb9vM/z+W8glxIFX4ivmhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+UNRjdXmwce6PsuCnw2Vinj/8taispyCXPaHSviLldgIgNwmhminjvThNX6/2FWMuoVAIVxUFcHpmGWr5u4+lONA="}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/opts-1.2.4.tgz_1486769604315_0.9412257901858538"},"directories":{}},"1.2.5":{"name":"opts","homepage":"http://github.com/khtdr/opts","repository":{"type":"git","url":"git+https://github.com/khtdr/opts.git"},"version":"1.2.5","description":"Command line argument parser.","author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"main":"src/opts","gitHead":"f1b2b170b365bfe35664a1816b1da8dad1e26cfe","bugs":{"url":"https://github.com/khtdr/opts/issues"},"_id":"opts@1.2.5","scripts":{},"_shasum":"f360ba9e2c63ea2f745d029b0a2fc3f4615d9555","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mazzarelli","email":"mazzarelli@gmail.com"},"dist":{"shasum":"f360ba9e2c63ea2f745d029b0a2fc3f4615d9555","tarball":"https://registry.npmjs.org/opts/-/opts-1.2.5.tgz","integrity":"sha512-xsqXQpm4I5EKWTZ/Tx21zNxKSLFm7oYTFcGRPN1alwra6IUoj5pScbYzmugz/4M8/GWNsr9rTQW4hNJeZggt1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn6c33sgRrp6Pk9mgtVdsyyBRdfRzUYnqBXxEHx9SSTgIgPTyvux4Se/2X5cN5Nnn3nv/e0tz6wilTXRcEJf52YGQ="}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opts-1.2.5.tgz_1486770421203_0.8745139273814857"},"directories":{}},"1.2.6":{"name":"opts","homepage":"http://github.com/khtdr/opts","repository":{"type":"git","url":"git+https://github.com/khtdr/opts.git"},"version":"1.2.6","description":"Command line argument parser.","author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"main":"src/opts","gitHead":"09c4644c3fa50cfb42d7764754be3554ea5b27ca","bugs":{"url":"https://github.com/khtdr/opts/issues"},"_id":"opts@1.2.6","scripts":{},"_shasum":"d185c0425cfdeb9da1d182908b65b5c0238febb3","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"mazzarelli","email":"mazzarelli@gmail.com"},"dist":{"shasum":"d185c0425cfdeb9da1d182908b65b5c0238febb3","tarball":"https://registry.npmjs.org/opts/-/opts-1.2.6.tgz","integrity":"sha512-aGOCBbbCTip8GqZ6IxL3dfYwVRI6NMrpAJ56Vzhu6DvDeWiiD7xtiBe0cCp8eNhjvDzTLI8uSlP3afegfbBksA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSlJVdrLaoq0YnHhOL2LYx6A39MEwuZ+sMIqzQ3r5thAiBNXF/3FHZgl2qXzjpZRW5R/dIOAQFUhn6jeUJXQR2R+Q=="}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/opts-1.2.6.tgz_1486777913091_0.19255280308425426"},"directories":{}},"1.2.7":{"name":"opts","homepage":"http://github.com/khtdr/opts","repository":{"type":"git","url":"git+https://github.com/khtdr/opts.git"},"version":"1.2.7","description":"Command line argument parser.","author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"main":"src/opts","types":"src/opts.d.ts","license":"BSD-2-Clause","devDependencies":{"@types/node":"^12.12.0"},"gitHead":"eb8617111b1e04ace020c659a038b3bd4a245db7","bugs":{"url":"https://github.com/khtdr/opts/issues"},"_id":"opts@1.2.7","_nodeVersion":"11.6.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-hwZhzGGG/GQ7igxAVFOEun2N4fWul31qE9nfBdCnZGQCB5+L7tN9xZ+94B4aUpLOJx/of3zZs5XsuubayQYQjA==","shasum":"4de4721d592c96901dae623a438c988e9ea7779f","tarball":"https://registry.npmjs.org/opts/-/opts-1.2.7.tgz","fileCount":10,"unpackedSize":22384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduR6RCRA9TVsSAnZWagAA1+sP/R5ToezH6ksaiQky1UTn\nxiIvmxzs8n+bxYNWwnJlNG5A80UA4C4B9k/cub4uTlfrB5jI+bN9zhzp+Ias\n5B8XY9MXUn5MHjwclouCOXyjEsw9Z9kXZrtMz41LLOO/59zkrsPjhVyPSz5j\nPvMakGr5hEYyf0Xgr8aR8UpizLV07SUu7NSABKpdVZ7sNiz/qlJf9x7T3uHd\nAZeIw1WK5iXjvW/2Sl0D4FGxq2+rqeyPffZXSRUKbyg3jcw2aSGKsEJE93si\n/E6I4wCcxHSvl04VkknihHiv85K4KObB7BVsIzY1I3xjsXXl6TjxnZW/x35Y\npVLIupV7QHOMs6Pq9SYgIX8Y4gJyK5kTCO1vlcOTWQ6QshPIi7EEURNmgoz2\nU4CxEBymAMa9eigtuC8WznZMAZ9wtuSLx52eYtcjGeZ0Phg/wyqHFdEMkTy+\nkS+xKHLkTSbU3z9V5Bp1oBHzSlq2LKF4Ko9AeEhsrFaYoBFIlqi/8A2WW0yA\nErJyOG+4FX+rZ1eiDLINEvfg7kqtksvhKtKth4QWv27fx/D6z3fvLrQNUEKT\nPweQBHCcMYOD8L/PyjyUonNo2UjxZDdW/Oku5BuQgcgL9yGO5MVbHM58z6ZC\nGdGgnPh6fLzwYgkb5HWTlxkr4Nbqanv+Js2S4hHOPNINIwIlz+4IHN5MIxH/\nAbN2\r\n=KVf3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSK/vHt9rf5QuQTTxRA7ntPQy/tgWh3XH3PdeBpHxOAwIgNoSsC4R25BQrUQgDZMiyrVOmMv7v9mdb3FIgtdS/sTM="}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"_npmUser":{"name":"mazzarelli","email":"ohkay@khtdr.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opts_1.2.7_1572413073395_0.6824203005748912"},"_hasShrinkwrap":false},"2.0.0":{"name":"opts","homepage":"http://github.com/khtdr/opts","repository":{"type":"git","url":"git+https://github.com/khtdr/opts.git"},"version":"2.0.0","description":"Command line argument parser.","author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"main":"src/opts","types":"src/opts.d.ts","license":"BSD-2-Clause","devDependencies":{"@types/node":"^12.12.0"},"gitHead":"7ea48a6977e0d224e51b0f773c811ee73c73165a","bugs":{"url":"https://github.com/khtdr/opts/issues"},"_id":"opts@2.0.0","_nodeVersion":"12.14.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-rPleeyX48sBEc4aj7rAok5dCbvRdYpdbIdSRR4gnIK98a7Rvd4l3wlv4YHQr2mwPQTpKQiw8uipi/WoyItDINg==","shasum":"c0b2cebdf53eaeafc21ed844e34773758dcf41e2","tarball":"https://registry.npmjs.org/opts/-/opts-2.0.0.tgz","fileCount":10,"unpackedSize":24174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+tM+CRA9TVsSAnZWagAA+QkP/ji+GbgI4/u06T/9Af3P\nFV3BTt9158y1MEjnR7SzJt9VJL+sR2u3E+SmmCmIT6tXJENUCUPJ9hC5tWdE\nlZQsfHRaj3P87SSi4yGHXB2I6nzWiBkXbzWdHw7DEpVsMTeWfwySrUiQdfNV\nodXYWPfS5COvuzwgMZJlgQdIbyKmW5ZKvk/MoStI1vgkjmgmJaz+GFa9IeG8\nH0eTGsBqUmVkGQH4ZXQMMI1/O1VdncTj13sZn2pT0P77LobfJ+x8UjtZVNNs\nqYWpEngUrmS9KcTWRpH2t0DCriTEG716Vs0LclSAe2DeJ3fIMab62s8jqObg\n2I4Vh3YD8mFkTGHDolnq8XVQd+5qww2yP0+WTWhoVtHZezgD2Hp7tMScRXOw\n4Hklt94H9PwI3FdywRJyQmz/zIXrQhWdHG1lt6dg6asgfMwOCVaEhTVgXtvX\n9KuURmJdFd3hj2eg42ezbOPu36kDwr3wXU+NXa2PTtVylIj0lcjwIQYTbgMG\nPldDjVyzydqccu2soOrB1QG2UF/zFvcO+55R5JhFZ7k5L4PGropt5K7v2NiH\n1COuao+I2tn57BUJ26V4yvbCWxFEcyimir83AmP48oBiQtPfNg3BCL8NqYAg\neEYBxUGWan9I73VhcDrHZnStPKpUYde3EYTJ7c12Bs71IAnH1JRzAS8oVe4u\n5F9w\r\n=Cwbv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLRBydPF7g1JQWHqgKALpkW2UfDEQNs0MlSy4sJqV1HwIgXHLpu+Hu1cWjW6IFQorhFNA6zxb1GQkwfvUu2QKDCrs="}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"_npmUser":{"name":"mazzarelli","email":"ohkay@khtdr.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opts_2.0.0_1593496381591_0.4843737576585181"},"_hasShrinkwrap":false},"2.0.1":{"name":"opts","description":"Command line argument parser with automatic help text generation.","version":"2.0.1","author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"homepage":"http://github.com/khtdr/opts","repository":{"type":"git","url":"git+https://github.com/khtdr/opts.git"},"bugs":{"url":"https://github.com/khtdr/opts/issues"},"main":"src/opts","man":["opts.3"],"types":"src/opts.d.ts","license":"BSD-2-Clause","keywords":["command line parser","opts","args","help text"],"devDependencies":{"@types/node":"^12.12.0"},"gitHead":"5aa0d6544d5e09f169e255ae3193d02b72b13efe","_id":"opts@2.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-S1jqm+bg+R1t1C5K2DTC4OT76ktVBnj1tCj8aVcCSWvQJ3XY4ch93WHuQleKjzIdBLJkbZp5f7EsSVLJBsAd/w==","shasum":"3673fbe3cc191d911a9ea1bf87784c672e72d14f","tarball":"https://registry.npmjs.org/opts/-/opts-2.0.1.tgz","fileCount":11,"unpackedSize":26007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNwBpCRA9TVsSAnZWagAAo98P/jD68yGrthrTD/ay2IgY\nFudiEXyLNWDA+2bygMkbd3rZtXoqccxzF8z+CrQjpmnwGEsiC3F81yA48AjC\nMcJcowOHmu11s6Fc0p8wZkGVz6NRO+cKhrcTVkLpxFpXwUgQiK/Sm2Zs5ReO\nx3dZg4vJPBo3nAndDT9RP0YR2h429uE8YGGbqUW8aoi3nqea5FVUnHxu2CjX\ntgZWCnlJ8yqJ8ohDVbe94YvH5Oz6WWkVGp+iRmsOTTI/E8D84fKF8moK9TzV\n5y72bkvtX3nZX8xMY7ehBJviMBiT/fWcX29JsuBgk0d7/+6Tl8HPZdiHucoG\nqJIoNllGkeuiHyyGn4TzXD+a1q7M5hZGE8wKfzKkasIFakQzK4ZaaWCEulLp\n8zvLd3+n4z05/C3YPdsj5FcNdwNEI9EqLuXJ70Y0iya4bWUQZl5wYIEW+iGW\nEo16MNKnrVHJz3QwFbBQDSxM7+dt0YX9zzW5lCeMVTke+3rxtkNOdKEZrv7f\nXfmgiVTVn/3wlk7xdhgiOsUfMsKzt4c4/DcCd+ejBmFbQvVtGMYTeIcYL01Q\nLXHw97N42tVoMQumM8t8GRo/c3gAMvVkbn07MqFv7cWbKTmYuI9B4Ja0+xX1\nCIOAhphAkxODYrVmzTRb9i1NRpnPLMtF1qlZi2d0XRvseNM0eGH0UuNBi7cJ\njH/L\r\n=i4Dn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSn9zaMHsevoLWHhLW0I7AzQQW+v75D7wywLhMXv6opAiEAmDBgWtRAOjwRj8nAsWIoumRqNzlJmmeTfUjZQ5+Pc0s="}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"_npmUser":{"name":"mazzarelli","email":"ohkay@khtdr.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opts_2.0.1_1597440105176_0.9377497721343575"},"_hasShrinkwrap":false},"2.0.2":{"name":"opts","description":"Command line argument parser with automatic help text generation.","version":"2.0.2","author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"homepage":"http://khtdr.com/opts","repository":{"type":"git","url":"git+https://github.com/khtdr/opts.git"},"bugs":{"url":"https://github.com/khtdr/opts/issues"},"main":"src/opts","man":["man.3"],"types":"src/opts.d.ts","license":"BSD-2-Clause","keywords":["command line parser","opts","args","help text"],"devDependencies":{"@types/node":"^12.12.0"},"gitHead":"f09cc7b8193a18603164e86c26d69e9850d2ca27","_id":"opts@2.0.2","_nodeVersion":"12.14.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg==","shasum":"a17e189fbbfee171da559edd8a42423bc5993ce1","tarball":"https://registry.npmjs.org/opts/-/opts-2.0.2.tgz","fileCount":12,"unpackedSize":31126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNwKTCRA9TVsSAnZWagAATdoP+gNAj5mskeF+abVAwPmb\nw2VwER9SmpmrrSOemjZexeodWP1zR1LmSNCf1feObxgeNIDHgweeUNGb3n9O\nmjkubCdBIYCI09TIXVdXolkFBtjELJj48kJlG/MOiX7Y7OKcdyTz+5OlAXqz\nbv8HTWy4boBe1FyFRJyMxsvN2KqxPUV/BNo+qDBPEi082fd3ST+9fbXQ8XAF\nhL2Nwfza0b9Jtjy+dvLkhT8d95aTWP56GXG6/AeO0pr61lx2s1MQ32UuZ1Yd\n8QRMrFwKawkBTbptGacG5mEQX3KJdckd9QPiZcA1lUXVlasSTb8khSi09jpv\nzVku+9GUfE9KANM7zU5WuVHZneaskJl9ifNADPlJdnicDtDNJYBESr6TjFLf\nNiCC6zoHlc55w23Vzj2H1olLl6auZR0CEntPtm+U2bF+DhnoeLXs9cesGdf1\nLWYPmVAlG3wuXdhaLm9x3hNcf1k9GiHMSrGHKTdfs+kCEVjurzEfuE6ZQOq3\nIYq5ZwJHzGx3gMNimlwHS5b2c/xaRWV+KF1+mQetd0yVJUX38VXPouqCJKVu\nQcL5gq5x/S3DJbDiHyYuKaDOmjfVCEyB0CQ9z7vjSB4jvseJS86NxvHpWBDN\n+xSNRgDTqw9/rtd/oO5LpnlNU48gpgThonMYcbBYPUM6DHQ7MQyjObLueFhJ\nZgeT\r\n=PnH2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJ3AHeo3GwwBGF5OXU14gcooe8xGQ/oK08f28Z0gKlTAIhALC/QHAtCGDFwM75z1D6f4R034DP443H4vArJN8KZ6jx"}]},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"_npmUser":{"name":"mazzarelli","email":"ohkay@khtdr.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opts_2.0.2_1597440659529_0.07875354987910277"},"_hasShrinkwrap":false}},"maintainers":[{"name":"mazzarelli","email":"mazzarelli@gmail.com"}],"author":{"name":"Oh Kay","email":"khtdr.com@gmail.com","url":"http://khtdr.com"},"time":{"1.2.2":"2012-01-17T22:46:38.276Z","modified":"2022-06-23T01:25:45.578Z","created":"2012-01-17T22:46:38.276Z","1.2.0":"2012-01-17T22:46:38.276Z","1.2.1":"2012-01-17T22:46:38.276Z","1.2.4":"2017-02-10T23:33:26.147Z","1.2.5":"2017-02-10T23:47:01.436Z","1.2.6":"2017-02-11T01:51:55.050Z","1.2.7":"2019-10-30T05:24:33.544Z","2.0.0":"2020-06-30T05:53:01.695Z","2.0.1":"2020-08-14T21:21:45.287Z","2.0.2":"2020-08-14T21:30:59.656Z"},"readme":"\n# Table of Contents\n\n1.  [NAME](#orge2e86e0)\n2.  [SYNOPSIS](#org204fb4c)\n        1.  [running:](#orgb50b6e4)\n        2.  [produces:](#orgf51f8f5)\n        3.  [running:](#org8f49204)\n        4.  [produces:](#org3b1d910)\n        5.  [running:](#org24a1193)\n        6.  [produces:](#org12e29d4)\n3.  [INSTALLATION](#orgc33d993)\n    1.  [Stand-alone version](#org837b3bd)\n    2.  [NPM version](#orga066938)\n4.  [USAGE](#org55285ce)\n    1.  [LOADING](#org9df0af8)\n    2.  [CONFIGURING](#org5b0ccb9)\n        1.  [options](#org4ec5cb9)\n        2.  [arguments](#org73cc3f3)\n        3.  [help text generator](#org69f67a1)\n5.  [AUTHOR / CHANGELOG / LICENSE](#org702885b)\n\nFind the full documentation, source code, and examples online at <https://khtdr.com/opts>.\n\nOr download this README as a man-page.\n\n    curl -o opts.3 https://raw.githubusercontent.com/khtdr/opts/master/man.3\n    man ./opts.3\n\n\n<a id=\"orge2e86e0\"></a>\n\n# NAME\n\nopts.js - a command line parser for options and arguments\n\n\n<a id=\"org204fb4c\"></a>\n\n# SYNOPSIS\n\nThe following example uses a custom **version** function, and opts in to the automatic help text. No pun intended.\n\n    var opts = require('opts');\n    \n    var options = [\n      { short       : 'v'\n      , long        : 'version'\n      , description : 'Show version and exit'\n      , callback    : function () { console.log('v1.0'); process.exit(1); }\n      }\n    ];\n    \n    opts.parse(options, true);\n    console.log('Example 1');\n    process.exit(0);\n\nSee <https://raw.githubusercontent.com/khtdr/opts/master/examples/example1.js>\n\n\n<a id=\"orgb50b6e4\"></a>\n\n### running:\n\n    $ node ./example1\n\n\n<a id=\"orgf51f8f5\"></a>\n\n### produces:\n\n    Example 1\n\n\n<a id=\"org8f49204\"></a>\n\n### running:\n\n    $ node ./example1 --help\n\n\n<a id=\"org3b1d910\"></a>\n\n### produces:\n\n    Usage: node ./example1 [options]\n    Show this help message\n       --help\n    Show version and exit\n       -v, --version\n\n\n<a id=\"org24a1193\"></a>\n\n### running:\n\n    node ./example1 -v\n\n\n<a id=\"org12e29d4\"></a>\n\n### produces:\n\n    v1.0\n\n\n<a id=\"orgc33d993\"></a>\n\n# INSTALLATION\n\nYou do not need to use NPM or any package manager. It is written in plain-old Javascript and can be downloaded and included in your Node.js project, as-is. All of the examples use this approach.\n.RE\nSee <https://github.com/khtdr/opts/tree/master/examples>\n\n\n<a id=\"org837b3bd\"></a>\n\n## Stand-alone version\n\n    cd /path/to/your/project\n    curl -o opts.js https://raw.githubusercontent.com/khtdr/opts/master/src/opts.js\n\n\n<a id=\"orga066938\"></a>\n\n## NPM version\n\n    npm install opts\n\n\n<a id=\"org55285ce\"></a>\n\n# USAGE\n\n\n<a id=\"org9df0af8\"></a>\n\n## LOADING\n\nWith classic syntax:\n\n    var opts = require('opts');\n    opts.parse(options, arguments, help);\n\nWith modern syntax:\n\n    import * as opts from 'opts';\n    opts.parse(options, arguments, help);\n\nIf you installed `opts` with NPM, the typescript definitions should automatically be available in your editor. Otherwise you can download the .d.ts file manually.\n.RE\nSee <https://raw.githubusercontent.com/khtdr/opts/master/src/opts.d.ts>\n\n\n<a id=\"org5b0ccb9\"></a>\n\n## CONFIGURING\n\n`opts.parse(options, arguments, help)`\n\nOptions are flag-arguments. Arguments are everything else. Consider the following hypothetical command for starting a server that listens on <http://0.0.0.0:4000>\n\n    node ./my-app start --host 0.0.0.0 -p 4000\n\nIn this example, the options are `--host 0.0.0.0` and `-p 4000`. The argument is `start`. The arguments can be after, before, or among the options.\n\n\n<a id=\"org4ec5cb9\"></a>\n\n### options\n\n`options` is an array of option objects. Each option in the array can have the following fields. None are required, but you should at least provide a short or long name.\n\n    let options = [\n      { short       : 'l',\n        long        : 'list',\n        description : 'Show a list',\n        value       : false, // default false\n        required    : true, // default false\n        callback    : function (value) { ... },\n      }, // ... followed by more options\n    ];\n\n\n<a id=\"org73cc3f3\"></a>\n\n### arguments\n\n`arguments` require less configuration. This is an optional argument to `opts.parse`:\n\n    let arguments =\n      { name     : 'script',\n        required : true, // not required by default\n        callback : function (value) { ... },\n      };\n\n\n<a id=\"org69f67a1\"></a>\n\n### help text generator\n\nFinally, you can add an automatically generated help message by passing\na last parameter of `true`. This is also an optional argument to `opts.parse`.\n\n    opts.parse(options, true);\n    // or if you want more control, you can do:\n    /*\n      options.push({\n        long        : 'help',\n        description : 'Show this help message',\n        callback    : require('opts').help,\n      }\n      opts.parse(options);\n    */\n\n\n<a id=\"org702885b\"></a>\n\n# AUTHOR / CHANGELOG / LICENSE\n\nEmail: ohkay@khtdr.com\n\nRelatively unchanged since 2010.\n.RE\nSee <https://github.com/khtdr/opts/blob/master/CHANGES.org>\n\nBSD 2-Clause License\n.RE\nSee <https://github.com/khtdr/opts/blob/master/LICENSE.txt>\n\n","readmeFilename":"README.md","homepage":"http://khtdr.com/opts","repository":{"type":"git","url":"git+https://github.com/khtdr/opts.git"},"bugs":{"url":"https://github.com/khtdr/opts/issues"},"license":"BSD-2-Clause","keywords":["command line parser","opts","args","help text"]}