{"_id":"oppa","_rev":"13-7b87b99cf3bdace4b4852682812db019","name":"oppa","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.2":{"name":"oppa","version":"0.0.2","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && ./node_modules/.bin/tsc -p .","mocha":"mocha --bail --check-leaks dist/test","test":"nyc npm run mocha","buildtest":"npm run build && npm run test","buildtestcov":"npm run buildtest && npm run coverage","coverage":"nyc report --reporter=html"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"devDependencies":{"@types/chai":"4.x","@types/mocha":"2.x","@types/node":"9.x","chai":"4.x","coveralls":"3.x","mocha":"5.x","nyc":"11.x","rimraf":"2.x","typescript":"2.7.x"},"gitHead":"1e234cd99d2fd6f320eb9e48bf28f8bee4a2a5cd","_id":"oppa@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"dist":{"integrity":"sha512-XvLyaoHllIRjTMSNQk5w/Jb+qxp4+tf9n6CP+B9/BFyEPjmLisaMmlhmCdgvh1JwycIXpJb+gDfWSY5C3QVrbA==","shasum":"dc7728f37b07057cef211d09cd97e05aa2c48243","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.0.2.tgz","fileCount":9,"unpackedSize":200026,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq5K2WuvH4PxMU9zatKnS4iN923B1B+YQakU/aeKw0JQIhAKLH5mqayyqJhKyoiHHrZhaAgG39OP42CYjCgEuEZZAM"}]},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.0.2_1520939928348_0.7584337272113002"},"_hasShrinkwrap":false},"0.0.3":{"name":"oppa","version":"0.0.3","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && ./node_modules/.bin/tsc -p .","mocha":"mocha --bail --check-leaks dist/test","test":"nyc npm run mocha","buildtest":"npm run build && npm run test","buildtestcov":"npm run buildtest && npm run coverage","coverage":"nyc report --reporter=html"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"devDependencies":{"@types/chai":"4.x","@types/mocha":"2.x","@types/node":"9.x","chai":"4.x","coveralls":"3.x","mocha":"5.x","nyc":"11.x","rimraf":"2.x","typescript":"2.7.x"},"gitHead":"8e253e6969f0181784a987f89a406f5ee6fdb561","_id":"oppa@0.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"dist":{"integrity":"sha512-1Kto+CtYv54hlcPGbGXXGV/P1jgmyxrJpxRRpSbvE1p4X1d8OZsseAMjmfmFbsmCi9fhewLXwsJ/K4k77/5rKw==","shasum":"bfd8f4d8fd21f23772bbc0d0f6830358485034ab","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.0.3.tgz","fileCount":9,"unpackedSize":200068,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdpB+8i0fENRwLrPwm4C29GgdEiQYivoqHMZQfvxWY/AiEA+LjlMhncaCVE5vCZG8EMvNFBAiQv8sCcMDzXlCFAQd8="}]},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.0.3_1520940438619_0.7204775385387654"},"_hasShrinkwrap":false},"0.0.4":{"name":"oppa","version":"0.0.4","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && ./node_modules/.bin/tsc -p .","mocha":"mocha --bail --check-leaks dist/test","test":"nyc npm run mocha","buildtest":"npm run build && npm run test","buildtestcov":"npm run buildtest && npm run coverage","coverage":"nyc report --reporter=html"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"devDependencies":{"@types/chai":"4.x","@types/mocha":"2.x","@types/node":"9.x","chai":"4.x","coveralls":"3.x","mocha":"5.x","nyc":"11.x","rimraf":"2.x","typescript":"2.7.x"},"gitHead":"f3b9be49c13c7e6b870e03f8f44e1e829ee84cc8","_id":"oppa@0.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"dist":{"integrity":"sha512-O+EHqwvxTXQoJuXUPZj4y1M/3GHUVF7WpSN4W9ADYxgEm+02KQ6dqgNgqpGMSDOvTzQ7bSdp2jFFQ2i4mUeEzA==","shasum":"bcfe8da4f4d112f0dc63714013c2bf604d01b324","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.0.4.tgz","fileCount":14,"unpackedSize":328583,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDf4cfWA/vZ/I2/5Nt4ES7ivf03y34GobZvvJAKFWNwVAiArc7pxJYk9BXXiFI2Zd2vo+SQFcU8dJTh4x0tm/dYR1w=="}]},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.0.4_1520945495105_0.6684631859204497"},"_hasShrinkwrap":false},"0.0.5":{"name":"oppa","version":"0.0.5","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && ./node_modules/.bin/tsc -p .","mocha":"mocha --bail --check-leaks dist/test","test":"nyc npm run mocha","buildtest":"npm run build && npm run test","buildtestcov":"npm run buildtest && npm run coverage","coverage":"nyc report --reporter=html"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"devDependencies":{"@types/chai":"4.x","@types/mocha":"2.x","@types/node":"9.x","chai":"4.x","coveralls":"3.x","mocha":"5.x","nyc":"11.x","rimraf":"2.x","typescript":"2.7.x"},"gitHead":"298debe2c3d4eafc8b0a9fc4ba7400fd84803966","_id":"oppa@0.0.5","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"dist":{"integrity":"sha512-LkeXBntduuPLPNC9Qa6pJPqIQGary8x8v457DDui0YuumAC8ZnGiojlkVsCSNgd4rueJtaxGJQRa3SMnh5kCWw==","shasum":"8d867fdca099f7d754df3f62f748e0710c23f271","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.0.5.tgz","fileCount":14,"unpackedSize":329717,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3jMYS6EXdwmKXXn+6AYe8MBnuYPqhcKYW2vGVhAqVRAiEA66+4xDx+Levi/AqHcMNAaDuFpwKf9Ro3MNH1mha7fCs="}]},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.0.5_1520948128279_0.06291548314439077"},"_hasShrinkwrap":false},"0.0.6":{"name":"oppa","version":"0.0.6","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && ./node_modules/.bin/tsc -p .","mocha":"mocha --bail --check-leaks dist/test","test":"nyc npm run mocha","buildtest":"npm run build && npm run test","buildtestcov":"npm run buildtest && npm run coverage","coverage":"nyc report --reporter=html"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"devDependencies":{"@types/chai":"4.x","@types/mocha":"5.x","@types/node":"9.x","chai":"4.x","coveralls":"3.x","mocha":"5.x","nyc":"11.x","rimraf":"2.x","typescript":"2.8.x"},"gitHead":"582290bcde41ecf54f7dd19fdd29b404536c3f40","_id":"oppa@0.0.6","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"dist":{"integrity":"sha512-3fZL7jKIBD4ughQa4dYmuKGp0G19nh7EpDkS3W9nhNFLxecO5RK/rgP+d1/nNxVqy/1kf3TqRjo4xSXk+q85lQ==","shasum":"47dc19cff506496ba4f1870018ac15ae35c03670","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.0.6.tgz","fileCount":14,"unpackedSize":329242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2FYLCRA9TVsSAnZWagAAfDEP/3s3dGxWWS3gY07C9aLV\nTK5Wjy/R6Xsl1E4z25U0y1T2Ku26OTDWPMh3Inpkn3930/dbDk3SpEvVL6Bv\nZUGJyujh4Kfr7DA38MJljRUe0Q4LpnNCwhW9FxkVqnMXKn8IObs1D0dTXSEd\neJK+8fgYa3SDxsAvlyGT0lPPZ/+JQ2LD3GkWrmg5XE5srpjUEe0s+gOqROff\n0CSqKJX3joaMWje5CUTN/z7vuffFZqX23Gv5x6Wmqo7g81+JxYvsaauLv/9E\nyDK6beTaayVaTXzYIYGH00/6+NGB8R0BAQkAWa6DL7L9raK1ZyO3eeCeRefB\nhFYfkrDfpAHeVZ365YgOqBmcH/GRdBdx5f2MirtBdIF+xQ6ua/RRvuOdtMAs\n/3uMsP7fE48SfgZov1XJa+BIz0nmBRHXUchtzwvxS+Nq8IVQQNhe2KtRbHJZ\nMRnEVfJQV+3JqvD/ZINFt7cz30mYLpdORtlwD3sSbkKZ5MlpbV4Twfg85JoG\niIHwpOgP50o1JOon39ViqzsPB0kkdzIKRILzTooaQcW2SCdVeK6jLb4TzsZe\n2+f23X5h6eAFHRlnDYT5lcL8YAzBgv1xZTdGkYViL3e3RtngF7LCfYONuscP\nel0u08TDxyLi2LOQzYmmxgj04EPD+Z+hbA+4panzc/9zhMmEirHFCNXb6gKM\nrsfn\r\n=XhYw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2s8gOT02TiqSZv3Ekqu85qnFAQkrlcVMwvXUAPNoyFwIgC8EkslQaFFK5djD4D7Hv4XC7zF05Gf0hBDUosDUDdQk="}]},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.0.6_1524127241615_0.5780120540462579"},"_hasShrinkwrap":false},"0.1.0":{"name":"oppa","version":"0.1.0","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && ./node_modules/.bin/tsc -p tsconfig.prod.json","test":"jest --coverage","buildtest":"npm run build && npm run test","cz":"git-cz"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"@types/jest":"^26.0.10","@types/node":"^14.6.2","commitizen":"^4.2.1","coveralls":"3.1.0","cz-conventional-changelog":"^3.3.0","jest":"^26.4.2","rimraf":"3.0.2","ts-jest":"^26.3.0","typescript":"4.0.2"},"gitHead":"76aafa5d0f76d3d710bebf492d912bcd2ee0878e","_id":"oppa@0.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-tzaiB1JMHO3INh9HFlhIRv/QS5j5lAZRTzWyAVUYD84828RFptQtUOFLNCjLUk+LaYSiLXmn7DUmIBXXc1kUzg==","shasum":"c8983137d3bf4f2818f80443e769072633609780","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.1.0.tgz","fileCount":7,"unpackedSize":28752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTNR9CRA9TVsSAnZWagAAYMAQAIKppx3c9kYYl61Zj4tT\nkjvEy2MXyEcxOJAjawoSVFcBodqqsE4+EXmGdnU6PJze6+YC8AKh3JwoGRQz\nXA9N22ohLoi7z172S4A0hMm3YIkobln5nxHt5CceruDmObqGglhpzqzyaHu9\nraVKr3pRHm5GSsZC4QZXa2PViLIVeUTHpd+1iN2bnQpYFDKa2ilZByA+Jsbm\nYWhUZs/PKxCqqkTgOFdfUdx9+n6chJelUv92zeNaKMtZNH1W0cgJIH1pqe39\niJWghnnVs2YgPHvIyc+orTpkE+X3+VupsxhBHDLNs0TacZ9nkahBCIU4fnSX\nT+4E1mbakrFtfA3F3pYlyLclMkSCGBE4PNQRs+/wxMXBS+Rs94ez3nvwldjL\nACdzZ5B3Spxqz04Z6NO0CiC5HYl1XruSkkRd3K/cpVP4mxPG8RmFiNld8tbw\nAOVKkYOjBXAOp8RiJFC2nKMxN+WJRXp2fRhjOHxGiw4IM0NRkCG3SaZRaHFT\nei90+YiZA5Pjy1zaf6dYo2D8Zbskrdnb302extz1DAwubJRLjHWWi04/OEMB\n4OQO9LDUU4gCmI4YzTkj7+N86n3VRlmHYw5jzavpVHktxscBBLHPJAyd4F+6\nco7GOsb3ahw4lXh87byGECtAu5YdB0IuyK46QoloOg60mMjyB5RkgLqR/Uyj\nKdoH\r\n=Pdi9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBU+nKoS9UgDH1Ie0bpSE05ddls4B1uMrfWk7b0pcr0EAiBQQ3H7nTIYeVMlEDCH7GJbpuLP+Dp+gnqD3oEyF9DDeA=="}]},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.1.0_1598870653194_0.017498024314866578"},"_hasShrinkwrap":false},"0.2.0":{"name":"oppa","version":"0.2.0","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && ./node_modules/.bin/tsc -p tsconfig.prod.json","test":"jest --coverage","buildtest":"npm run build && npm run test","cz":"git-cz","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"@types/jest":"^26.0.10","@types/node":"^14.6.2","commitizen":"^4.2.1","coveralls":"3.1.0","cz-conventional-changelog":"^3.3.0","jest":"^26.4.2","rimraf":"3.0.2","ts-jest":"^26.3.0","typescript":"4.0.2","semantic-release":"^17.1.1"},"gitHead":"d1f598f8c63f35d0e93f382cecddcca5c849e2a9","_id":"oppa@0.2.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-AaSb5UXUYzno6fO5dQoBfu13UDDmBLN+d4cubiG+Y2y9vOAiPMl+xUIs6FQujrTR3PqriX3aRUSV5Xwad23niw==","shasum":"994f962ef78044d8a6f037d121b68158fb2c5166","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.2.0.tgz","fileCount":7,"unpackedSize":29252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT4r3CRA9TVsSAnZWagAA8sIP/0tAcKnYDjhlqM9D8m1u\n0AHp1R/+yaIpRg5bnfAXJbUzzXrZohN011ek+x/HadoooGfTNobwIF3tnncj\njWOG6osj2Uuzr1K/IP5CpK+Kr0WJX4RDE/LyQdjE31IMis85ornC6w4PLS6W\n30NyDyD58scno2m1tw01suktyU6vshPdAylVqk7tRfRtGPDdNGOLjuR8VQv4\n7Dn0xfH+0xwP/mPkiIkYpG32w1y8tuzawHwxjLv9ESWp2qT0kdCW9rRkn5ku\nslN0yAKqJmcMsJ2PPXGc7MLG0ljgz8J/tOS1zNPRbYK0pXQ/c1EaHwvNN/cP\nA+kDt5SGaW8RYlAWLKt+f/tN2QOYoqgKWX8QbmWoaICCBQs/5dZh5Onq15Fl\nGns/femdLkRdX5zraQlXiKhs//6nGjFs0cv3p2+enNbRhUBMLkidFR9ZpJrC\nFhqkJ6qNLYmjxazHFJ4L5Jq2rsAUor0CNuZkpwEkPiKdLQ0qsAwAYObqJKu0\nJFzMoxSxhJrirz3QoovgxHFT/C49WSdSKiW9wVQTSNCCRTA07NcpDs0rjgvM\n8HGr7TzekA44qDPUiex5BfQ9+iiy7wTUYtGtzaP4QEdULieluyLAoWRkPMbw\nPcfjYzyfu1td33l5A07bOIcy30m6k8LbWw5rlqJ6KC6VzrxvlP0wZrMatd6I\n8YQA\r\n=tagK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvhd9cWsXqhJ7FUjqNkisodzXeCYE94JkA1jQTC5gyQAIhAOzji3pgqcP1ogexmzYmGsLLvGjsd4Rae8r1DxxqBz+u"}]},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.2.0_1599048438738_0.6522148595141093"},"_hasShrinkwrap":false},"0.3.0":{"name":"oppa","version":"0.3.0","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && tsc -p tsconfig.prod.json","test":"CI=1 FORCE_COLOR=1 jest","cz":"git-cz"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.10","commitizen":"^4.2.2","coveralls":"3.1.0","cz-conventional-changelog":"^3.3.0","jest":"^26.6.3","rimraf":"3.0.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"4.1.2"},"dependencies":{"chalk":"^4.1.0"},"gitHead":"3eb1da439e6cf010edec1a1a9b701a22bc6bfd52","_id":"oppa@0.3.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-gZk3UBrYrqJM6s2PIvRHdN0JhU09jZKwFd2kjlpnPjlRNOt5ooA/cH79w38Lv+LhvJTMMdc4nNpTTA+8w2oX8Q==","shasum":"9c70d38ad351611b0f094ca250407d7b6a4e37bb","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.3.0.tgz","fileCount":17,"unpackedSize":37033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfw+rhCRA9TVsSAnZWagAAvmEP/iPbKOVXWpTYR3I7lMsA\nbwy2Wkn9Lx2yXdmIliuPXd4QI1Z0CyaBBoNophvTzE0uMOoMPbUBr1+0ZsN8\nuYWsd9cqtzFjjPACgX1jQ+Qv4E3RTdjrt24/8BD6mpCL6aml6o6HqDP8rWIH\njnTlf+8KRuBY8++aKqGyGSb175PyY+n0jXjRA7cBs/m60MsRjuBtVZzRcS4d\nr9g3SdLqsYpapqjKx3/jn0efIRBzlOb4TEA1m8gSSnOvgNt+7pGsHQ0LPPIF\nlIjVu+922gewAfwcNbbgn0CklciNBBLd+gTcXpmxGYzpD3ZrPkLtCrtliFFs\nBAQRKkrOdJJpdFkHpDxmb2+dQ1Pt8ah9iU48UEmsI2cCyw6yqFcDNH846WGy\nBHAEAWIBjEXyw3zYqjXFuRrB7zhXut5dV6MVnrRzWgeq9hpjoNfDqIEXHVo0\nxGli3arvTGGv7W3TuY36eFtoClewDJP+1YryNgEytA/k7qmOMX7a6kD1OvXS\nQI4xgKOhfX7H/6+wWLZYW8CRpEAlUhgd0m+Mx7l5O15JmhIC6taHzXnVSI1+\nvV0Xa0T0InoIkd2oh7FecWlNV+EYqbkdPSHi3/u2aPxTyoLTmonSJh3guo08\nNY9AdT6CPFQvJ4yXIgBHo9msYL+M6yOMk3BObc1taDxz5xRPTpL1EvJhkTiR\n3kEH\r\n=fKTP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4ptN8cEIExaoH1TgoB/fodL12KPAtRe102xqqf1cEqAiEA4bP6S9hvWb85EoWZZ1RtGlChzFrjsoKKJnYOLu2Tnoc="}]},"_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.3.0_1606675169308_0.5523278233335898"},"_hasShrinkwrap":false},"0.3.1":{"name":"oppa","version":"0.3.1","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && tsc -p tsconfig.prod.json","test":"CI=1 FORCE_COLOR=1 jest","cz":"git-cz"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.10","commitizen":"^4.2.2","coveralls":"3.1.0","cz-conventional-changelog":"^3.3.0","jest":"^26.6.3","rimraf":"3.0.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"4.1.2"},"dependencies":{"chalk":"^4.1.0"},"gitHead":"06108a4fc0c156773b89723197f3f507dd91371a","_id":"oppa@0.3.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-umME9KCB49d0fzJjM5RHeWwgrPUfh7t6YT4yeZ1JZTtJlD+lQG2+wmm38W+f/XoyDyNWXFBy6KcfktcuqfCPXw==","shasum":"4453aa9e78aa5911d27a4340a8a5f1d8761228b3","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.3.1.tgz","fileCount":17,"unpackedSize":37032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfw+vdCRA9TVsSAnZWagAAQ6kQAJybypYuFjHSZisMeSCP\nF1FWL4jL5BmNqyI8tq36+nQ2ATQAXIozN1h9Oxq40quhODFZbctiQ5II3nL5\nFewimrhCXvy/krCCZrcGvGh/Gf3YeVREoLsPg8cMBPzqBu/j+nuf86rVytU8\nKv5II3efgeVrCs2gUJptQJCXKNqzcZ+nLwVwpj7uKS1HQnYU+La8WpJNAFFQ\nDPDQ7eKQvKx46FEWBBV8Bw3CCNeeAWFxD4PwrVBqlO3klFCR1W4LLAC5tzPR\nMoTRGw2q+tC16S+jiGVIdL1zISga8KtvwxrVIv9amcNksBAtC2zvZnLsS28V\nqvKI+VzhBTU7ZQLn7d4R2X4xj9MNYXeEVHfy4mXQ0C233OmOgExwvmhHcb+v\nB4GXzpbf7Bpv11hop08LmiUFRinuNM0Ba7WET4j9mkouo64tHvqg76SDvYSH\n/IDu+11Zfr3Q/dX2SOZNM0YZX+/1Dam5RbfcNi18o98TBojkUO9r2fTkRTIw\nHbqaONsFtA1dHmA6baAdQRvsNPZBJ3XJboaovGPOLIuFUX8wf3OWYtLSPo19\nYQJHKyAG9XoUFRIXyJAS3h3rKNksc8TNkpsxjg9wta7iRmEtXSfU10OhhNKf\nd7clbakUPd4hB+/t1/F1mYwXYGK5jnlJmmOtmaeJSw2t+EiEmpl7RTFBcf6G\nG9w7\r\n=hxQi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKjw76DjoAZEn8L1MmCv7eYdxF+O7MQR/bFYvDJM9GwAiBNQuaMTEO7kjhn51t0EPuqkoHh3KJB4/waiNCConE7TQ=="}]},"_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.3.1_1606675421226_0.691558757367025"},"_hasShrinkwrap":false},"0.3.2":{"name":"oppa","version":"0.3.2","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && tsc -p tsconfig.prod.json","test":"CI=1 FORCE_COLOR=1 jest","cz":"git-cz"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.10","commitizen":"^4.2.2","coveralls":"3.1.0","cz-conventional-changelog":"^3.3.0","jest":"^26.6.3","rimraf":"3.0.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"4.1.2"},"dependencies":{"chalk":"^4.1.0"},"gitHead":"6a9a010d05388de63358e01563772575f18cfde0","_id":"oppa@0.3.2","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-ghu6k5WFV7w0QBfcRDHUKa4nj8D+vzEkcwY/QR0dUHDgekzoOzPwLnv36z1HyegihcoWcZ1bc4JM/BGmU+lGTA==","shasum":"a0c9ee152cdec63287269d5ecaf08e814a69de2a","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.3.2.tgz","fileCount":17,"unpackedSize":37126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJEuPCRA9TVsSAnZWagAANcQP/j6CHP8FZCTr35cjUvii\nKvV1mg+SX7fMUuPDhgs9KETz+Oj1N/LzKqKfILh7sHucXhzoDl2AN5M0Udim\nvqqo7yfICPwTRMqqBuQy7HWaJHYNzgpaWSET5KzxFNR1XaXfaaGC/hkAZq8R\nCgLX86jU/vzjtHha2sk0N0J53PCX3kEGXWsBtfhoqMMcv/7vQCo9BslPegkJ\nzSe+FlldJzF/SQjteDAdqXUNk9XvQfp3Kj6hXXKAMD9MqtAx32ID7++p3+Zy\ndfM781dzba46MPpMoSIjxzVjo1zDMbtdplTqdDgJ3SMH7c7vje1CBhxwjn76\n3mG+CnASSDjb96K4l+5iCYwgJtG8xS1edx5cUFQwQkcXKnd4SpC2njRIQsmv\nQcPeqA4pM0UGIMVP6ppU+vFx7Lx9HU0FpaCYTGQwNCboEzHKvea5N0+nO7cA\naRuLL1+s5sZNZg7CbBZrrWcU5/vlHwFXFl7sAOkp1nBQSN0sYbNV7WqwcMDl\nXcWaq5JmZpPIlzpRUbXO72VCQm6jOMwS8xOz9SMwRuXoBv/9aKv0TMUObjoo\nuXs+ECdusH3at+bWthOIsD9biNffvwRKHbFZY1Rh5+h4buUByH3+lsnvVcA5\nbXr+5GHLwUbZNld142EfctUA0XmKOAtZewX8hmSUMBZBhq1a6z3mOPMh0YDm\n8qhe\r\n=8imK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4OVnMLjL5J6rynyp8gQ/Nd+tvEWVv0d0TDS9+z3wXhgIhAKA2kvve5QOq+JY446xxrIc1Jo1yk/kUSTaosxIn5I25"}]},"_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.3.2_1612991374600_0.8951712060562231"},"_hasShrinkwrap":false},"0.3.3":{"name":"oppa","version":"0.3.3","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","engines":{"node":">=10"},"main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && tsc -p tsconfig.prod.json","test":"CI=1 FORCE_COLOR=1 jest","cz":"git-cz"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"@types/jest":"^26.0.15","@types/node":"^14.14.10","commitizen":"^4.2.2","coveralls":"3.1.0","cz-conventional-changelog":"^3.3.0","jest":"^26.6.3","rimraf":"3.0.2","ts-jest":"^26.4.4","ts-node":"^9.0.0","typescript":"4.1.2"},"dependencies":{"chalk":"^4.1.0"},"gitHead":"33aeeea5b3dc761b1d3e8598908fad09d4d49d30","_id":"oppa@0.3.3","_nodeVersion":"12.20.2","_npmVersion":"6.14.11","dist":{"integrity":"sha512-M21xcTmFpfa+1z3OwVmrwoxosZkOly+B6BBByU36+wY5nIZcNRT87jzuuTNpdDMyCz7GuSo6ZOv/50ds9gQmdA==","shasum":"cb71b99037c3fe7bd4c5543c7236e0d480b10883","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.3.3.tgz","fileCount":17,"unpackedSize":37311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgN/5+CRA9TVsSAnZWagAAGrAP/2KlYHmKP7CHj6x/qDlg\nK1/U3DwuVC9IMXCGhnMMr3uG73niIqoxMbovix+L4y+0A+5hErSr2Drk7oFD\nm1kjfmoP7+K/ERHeZcviYM7uoZKIwbuxchMwos3LyAkJB3sK4qIa4rPLpBsp\nfLfWCahfQdARdeQ97JRkPhoA4GuE7oILEhLnkFVCxKVAG/yJF3h9/5CYl8ib\nPmnfdqGz7AfscpTyMMt/mtpdDb21hdXXmOoan8mwj2MX1hOEgk2X4WSna1NR\nnMqVfTshtZjNMwzctGkw9bPQ6eDZh2IsS3icQrnLVnbSp0FKzLdWi5bNQkxm\nX1GLQOMFaZiouopnFrlPkgp7LUfHRpbbjsNFuSNlxz9jRJ3Rk5FCU5Ad1Wym\nMkbwpwKe6MUt74EoBl+eU/E5YAl7w6K0KF7s7OpTfdCWXugtc2Em3zQDKUAj\nhDO6C9yvzOceXf31kiDsbbQ0bc0q70Zn8VDPGkH6Zglo3jlbfle0CQaYl/Hz\nnaiZgvYiNcghwLaUq6FfKwiHtZzmH+aMMWsXp7RYje3EC0ufWFHZYG2mNHB3\nO69PcOA5jVK/LWYHyVS+rZeSHu1vDq+pP1TMKmTuMgbK4e01K9b4zek+Yva2\ngzPRiLxk8wcfEW8nLQcYNuLWp6TfzTwUw1atl+twyMxugqSkk4KQzf5lg41Q\nwU91\r\n=dXcI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAEzIgh0iBn1kDO4pqvjG6QnisewXiMqKMGHsk++YD6AIhAMf5tzSFe6Drugm1sHP1PEZTenpkxJrI7NrP3VxN16lp"}]},"_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.3.3_1614282365567_0.4770474147169248"},"_hasShrinkwrap":false},"0.4.0":{"name":"oppa","version":"0.4.0","description":"😌  Super easy typesafe options parser for Node.js","author":{"name":"Gustaf Räntilä"},"license":"MIT","bugs":{"url":"https://github.com/grantila/oppa/issues"},"homepage":"https://github.com/grantila/oppa#readme","engines":{"node":">=10"},"main":"./dist/index.js","types":"./dist/index.d.ts","directories":{},"scripts":{"build":"rimraf dist && tsc -p tsconfig.prod.json","test":"CI=1 FORCE_COLOR=1 jest","cz":"git-cz"},"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"keywords":["oppa","argument","option","parser","options","arguments"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.12.2","commitizen":"^4.2.4","coveralls":"3.1.0","cz-conventional-changelog":"^3.3.0","jest":"^27.0.4","rimraf":"3.0.2","ts-jest":"^27.0.3","ts-node":"^9.0.0","typescript":"4.3.2"},"dependencies":{"chalk":"^4.1.1"},"gitHead":"d80ced3f2278f23128655d99aa8bd40e3a4ac8bd","_id":"oppa@0.4.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-DFvM3+F+rB/igo3FRnkDWitjZgBH9qZAn68IacYHsqbZBKwuTA+LdD4zSJiQtgQpWq7M08we5FlGAVHz0yW7PQ==","shasum":"4d6e0f7a1cd8f23bd267cf8f20c101fc2911bb5b","tarball":"https://registry.npmjs.org/oppa/-/oppa-0.4.0.tgz","fileCount":17,"unpackedSize":37435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxM6QCRA9TVsSAnZWagAAESUP/2RtRq0IO7s+3tasGfjv\nHkM0ROvcGl3ekz9jAD91oNy53iA1mjthhQGe4VHkE1bNO9dCxxeY6of3ZdaB\nL5ef5TiNemp0LBtrgjKb4SiFP06FtZ1rTMPUi4UMFEFYc0vmoSwKhgfVAmz+\nElSLfTRNp8qMZWKCSCNYfkxcG3IZGPiCIsihA4t0BfT/3T74i/RnmcVkNkko\nPPHg6/SOgD5C/sf4FtyCxlMfgahjFJ7gXANX4/FZj6+StLDTsWd44sH5uKp/\nmx2PtbmOOWcvZrZx4bOB2B0AmVIhy2azVhDDOVvHBCE5l1GshBOonOU83Ph0\nTngBRn2fXd2BNDxqqRybqKriv5oC9fIZgrGoPaALTraAZBrCwhQxbPntUklG\nkZhZGsrOokaN206AIUwAp3U/4fdW2TMx8LMEhJ4dEUCmCoWe3gYCfAqcJtls\nwLigHq0NxpOByaimjdYAAbqAV5C3oUzTiuVYXCc6pp9763VvUIpuX+Dtx2X8\n4DNLJ3ux4Ux+Sh2zyHnEAhrutgGwin8wU+YTCQAZ9LKrh23bOz4uFTRovqmA\nT1H76clyQLUFgc+QYJ8wjL4Yp1k/co7iqnbaB0Tjo7aJCnR31eJGzukxpyAq\nfuY4PhpkGUcrbDNYWb/53iHEFsRk/2ZRshPqE//dUSyKUeiHkyOgzd1glptr\nNfH9\r\n=Rz6T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJXB9vaOsZKr5UtBTp66pdz54rABGC1ofDXZpmGu7aMQIhAJOcIN44xvsm+CE4feb9i5fdO5es7hKApU31tDysNqFk"}]},"_npmUser":{"name":"grantila","email":"g.rantila@gmail.com"},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppa_0.4.0_1623510672556_0.5038509349398212"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-13T11:18:48.348Z","0.0.2":"2018-03-13T11:18:48.472Z","modified":"2022-05-12T07:04:10.524Z","0.0.3":"2018-03-13T11:27:18.814Z","0.0.4":"2018-03-13T12:51:35.196Z","0.0.5":"2018-03-13T13:35:28.433Z","0.0.6":"2018-04-19T08:40:41.744Z","0.1.0":"2020-08-31T10:44:13.410Z","0.2.0":"2020-09-02T12:07:18.860Z","0.3.0":"2020-11-29T18:39:29.436Z","0.3.1":"2020-11-29T18:43:41.373Z","0.3.2":"2021-02-10T21:09:34.707Z","0.3.3":"2021-02-25T19:46:05.720Z","0.4.0":"2021-06-12T15:11:12.659Z"},"maintainers":[{"name":"grantila","email":"g.rantila@gmail.com"}],"description":"😌  Super easy typesafe options parser for Node.js","homepage":"https://github.com/grantila/oppa#readme","keywords":["oppa","argument","option","parser","options","arguments"],"repository":{"type":"git","url":"git+https://github.com/grantila/oppa.git"},"author":{"name":"Gustaf Räntilä"},"bugs":{"url":"https://github.com/grantila/oppa/issues"},"license":"MIT","readme":"[![npm version][npm-image]][npm-url]\n[![downloads][downloads-image]][npm-url]\n[![build status][build-image]][build-url]\n[![coverage status][coverage-image]][coverage-url]\n[![Language grade: JavaScript][lgtm-image]][lgtm-url]\n\n\n<img src=\"https://cdn.rawgit.com/grantila/oppa/HEAD/oppa.svg\" width=\"100%\" />\n\nOppa is an **op**tions **pa**rser (also known as *arguments parser*).\n\nIt is very easy to use, yet powerful, and if used from TypeScript, the parsed result will have types matching the parse configuration.\n\nBy default, oppa creates `--help` (and `-h`) arguments which it uses to produce a help output, describing the arguments. If a version is provided, it creates `--version` and `-v` too.\n\n\n# Features\n\n- Typesafe parse result **(unique feature)**\n- Handles `--long` and `-short` names\n    - (the second is equivalent to `-s -h -o -r -t`)\n- Aliases (e.g. `--force` = `-f`)\n- Auto generated `--help` (`-h`) page\n- Auto generated `--version` (`-v`)\n- Powerful argument value handling\n    - Supports strings, booleans and numbers\n    - Auto-allows `no-` prefixes (e.g. `--no-keep`) to boolean arguments\n    - Multi value argument `--find foo bar --baz` (`find = [ 'foo', 'bar' ]`)\n    - Typesafe validators\n    - Specific values, individually documented in `--help`\n- Understands *dash-dash* separation (`--`)\n- Smart defaults (what appears as default in `--help` can be dynamic at run-time)\n- Groups of arguments (potentially shown in different colors in `--help`)\n\n\n# Usage\n\n```ts\nimport { oppa } from 'oppa'\n\nconst result =\n    oppa( {\n        name: 'myapp',\n        version: '1.2.3',\n    } )\n    .add( {\n        name: 'file',\n        alias: 'f',\n        type: 'string',\n        description: 'The file to write to',\n    } )\n    .add( {\n        name: 'retry',\n        alias: 'r',\n        type: 'number',\n        description: 'Retry <retry> times before bailing',\n    } )\n    .add( {\n        name: 'force',\n        type: 'boolean',\n        default: true,\n        description: 'Force writing to the file',\n    } )\n    // Defaults to process.argv if no array is provided:\n    .parse( [ '-f', 'test.json', '--no-force', 'foo' ] );\n\nexpectDeepEqual( result, {\n    args: {\n        file: 'test.json',\n        force: false,\n    },\n    unknown: [ ],\n    rest: [ 'foo' ],\n    dashdash: [ ],\n} );\n\n// If using TypeScript, the following will not compile since\n// <force> is a boolean (even at compile-time):\nresult.args.force.toLowerCase( ); // !\n```\n\n`--help` will write:\n\n```\n   Usage: myapp [options]\n\n   Options:\n\n      -h, --help            Print (this) help screen\n      -v, --version         Print the program version\n      -f, --file <file>     The file to write to\n      -r, --retry <retry>   Retry <retry> times before bailing\n      --(no-)force          Force writing to the file (default: true)\n```\n\n\n# API\n\n## Settings\n\nThe `oppa( )` function creates an object on which arguments can be configured. It can then be used to parse an array of strings, and also to print a help screen.\n\nThe options to the `oppa( )` function are:\n\n```ts\n{\n    name: string;\n    version: string;\n    usage: string;\n    description: Description;\n    noHelp: boolean;\n    noHelpAlias: boolean;\n    noVersionAlias: boolean;\n    allowUnknown: boolean;\n    throwOnError: boolean;\n    noExit: boolean;\n}\n```\n\n`name`, `version`, `usage` and `description` are used for the auto-generated `--help` and `--version` options.\n\nIf `noHelp` is true, a `--help` will not be auto-generated.\n\n`noHelpAlias` and `noVersionAlias` will prevent the auto-generated `--version` and `--help` to have shortcut aliases `-v` and `-h`, so they can be used for other options, e.g. `verbose` and `host`.\n\n`allowUnknown` will cause oppa not to fail on unknown arguments, but simply keep them as booleans or strings (in its own array of `{ name, value }` objects called `unknown`). `--foo` will add a boolean `foo` and set it to `true`. `--bar=baz` will set the name `bar` to the string `baz`.\n\n`throwOnError` will, instead of printing a help screen on invalid arguments, throw an error so that you can control the flow (sometimes useful in unit tests).\n\n`noExit` causes the program not to exit after having printed the help screen or version (sometimes useful in unit tests).\n\n\n## Arguments\n\nThe result of `oppa( )` is an object on which you can add arguments using `add` which takes the following options:\n\n```ts\n    oppa( )\n    .add( {\n        // These are required:\n        name: 'force',   // The long-versioned name\n        type: 'boolean', // 'string', 'boolean' or 'number'\n\n        // These are optional\n        alias: 'f',        // An alias (or array of aliases)\n        multi: false,      // Whether this is a multi-valued argument,\n                           // only applicable to 'string' and 'number'.\n        description: [     // A string or array of strings\n            'Force action',\n            'Will overwrite foo if bar'\n        ],\n        negatable: false,  // Adds 'no-' alternative (only applicable\n                           // to boolean and true by default)\n    } )\n    .add( {\n        name: 'file',\n        type: 'string',\n\n        // More optional, mostly for 'string' and 'number' arguments\n        default: 'out.json', // The default-value (printed to --help)\n        realDefault:         // The run-time default, unless <default>\n            path.join( __dirname, 'out.json' ),\n        values: [            // A list of valid values, other will\n                             // fail. Will be printed to --help too.\n            { 'file': 'Filename of the file to write to' },\n            { '-': 'Write to stdout' }\n        ],\n        example: [           // A list of example arguments\n            { '-f my-file.json': 'Write to my-file.json' },\n            { '-f -': 'Write to stdout' },\n        ],\n        match: ( file ) =>   // Custom validation. Overwrites <values>\n            file === '-' || file.endsWith( '.json' ),\n    } )\n```\n\nThese will cause the following `--help` output:\n\n```\n   Usage: [options]\n\n   Options:\n\n      -h, --help      Print (this) help screen\n      -f, --force     Force action\n                      Will overwrite foo if bar\n      --file <file>    (default: out.json)\n\n                      Values:\n                         file   Filename of the file to write to\n                         -      Write to stdout\n\n                      Example:\n                         -f my-file.json   Write to my-file.json\n                         -f -              Write to stdout\n```\n\n\n## Groups\n\nArguments can be grouped, and have the group name printed above the group arguments in `--help`. They can also be in a separate color (background and/or foreground):\n\n```ts\n    oppa( )\n    .add( { name: 'force' } ) // Generic ungrouped\n\n    .group( { name: \"Inputs\", color: 'black', backgroundColor: '#8ff' } )\n    .add( { name: 'allow-bad' } )\n    .add( { name: 'filter-deprecated' } )\n\n    .group( { name: \"Viewing\", color: '#fff', backgroundColor: 'blue' } )\n    .add( { name: 'view-all' } )\n    .add( { name: 'defailed' } );\n```\n\n\n# Sub-commands\n\nFor sub-commands (e.g. like `git`), oppa is designed not to support this as a single-step parsing solution. Instead, you're encouraged to run oppa again. Oppa saves no global state, everything is local to an `oppa( )` context.\n\n```ts\n    const mainResult =\n        oppa( )\n        .add( /* ... */ )\n        .add( /* ... */ )\n        .parse( ); // Will parse process.argv\n\n    // Applies to the entire application, e.g. verbosity, debug\n    const globalOptions = mainResult.args;\n    const [ subCommand, ...subArgs ] = mainResult.rest;\n\n    switch ( subCommand ) // The first non-option argument\n    {\n        case 'init': return runInit( subArgs );\n        case 'push': return runPush( subArgs );\n    }\n\n    // ...\n\n    function runInit( args )\n    {\n        // Parse <init> arguments:\n        const initOptions = oppa( )\n            .add( /* ... */ )\n            .add( /* ... */ )\n            .parse( args );\n\n        // ...\n    }\n\n    function runPush( args )\n    {\n        // ...\n    }\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/oppa.svg\n[npm-url]: https://npmjs.org/package/oppa\n[downloads-image]: https://img.shields.io/npm/dm/oppa.svg\n[build-image]: https://img.shields.io/github/workflow/status/grantila/oppa/Master.svg\n[build-url]: https://github.com/grantila/oppa/actions?query=workflow%3AMaster\n[coverage-image]: https://coveralls.io/repos/github/grantila/oppa/badge.svg?branch=master\n[coverage-url]: https://coveralls.io/github/grantila/oppa?branch=master\n[lgtm-image]: https://img.shields.io/lgtm/grade/javascript/g/grantila/oppa.svg?logo=lgtm&logoWidth=18\n[lgtm-url]: https://lgtm.com/projects/g/grantila/oppa/context:javascript\n","readmeFilename":"README.md"}