{"_id":"get-cli-arg","_rev":"165-515348103df1624ab492e941a1642187","name":"get-cli-arg","dist-tags":{"next":"8.6.0-next.1703867330.e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6","latest":"8.6.0","cdn":"5.0.0-cdn.1588761165.328608501"},"versions":{"1.0.0-next.1573391795.47c5221b7327d9ad8fa2031ff4805b7fb08cb37c":{"name":"get-cli-arg","version":"1.0.0-next.1573391795.47c5221b7327d9ad8fa2031ff4805b7fb08cb37c","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"47c5221b7327d9ad8fa2031ff4805b7fb08cb37c","_id":"get-cli-arg@1.0.0-next.1573391795.47c5221b7327d9ad8fa2031ff4805b7fb08cb37c","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-NTeMFcMljJAq68TpuzBBE2oAen5ZhY5wBnuDppFKZhqK+VtGHUQspFAoZXiwN8XbdfYbuQ7c1dNZ+cqC791NRQ==","shasum":"76e76233dcb864207e6a8d24ca3a60c7c6e9e016","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573391795.47c5221b7327d9ad8fa2031ff4805b7fb08cb37c.tgz","fileCount":10,"unpackedSize":18074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyA22CRA9TVsSAnZWagAAe74P/jJ/5byd7pX2aTXdU4DJ\nN5w3ksl4KrZ4q7DFqZTj/B/DQmCnR9mI6OjmDRXFCbXGe9tFhT76kQILZBwo\n0gnwsthuJfE9ZKebR3JbUAIovt5ttXLb3ni6M/R8/vHj2n8sFBzW5ybuHkx3\nFWLVvay7e1WE1laa1sGHmwVPgHSSgk/20WzAczhoorTZztkeu1/yknwTj+sS\nC7C5Abf2k+WHxQ+ntkb353srPkGZfrVYaMaQIiqrnN8Vly+9WjQ44kXtL8rt\nUf5Sdyt7+4WCMj/lCXK582D1xKkbstDXwOEO2HrOyK1bmRVtwxeiOZOLDC5M\nbHM7QmaappAEF01OGkgGRRmzsIcQ2Ego9WAvOGMBTgzDajnba4uldv5geeJc\ngh6S9ypApoE3SQboM/VPo9flQlopKvcZ9G58Ep2wKAuoy4A0+z+UwnsMWKSl\n922VW4UCFjP7bHoa24W6disSCwYibrTcu/GuHxMncCKwr5yxvKm0WkEIEkhO\n+IdaDbE6t19PhFVn5JjqMSXZpX3VjDOTzxNq2Wjt+SJQ6dBNa78aZvhXz0lt\nnAU+OMALRED11WUd4tI9pHvoy9K7AAZn5Sje1KyQNJeD8roCs+5taZhEaouu\nC4V+mZRp/Df7ZpyDAkkKOOXL/qafINVTi/dVeu1XuCTORq5rIYfspYzBc4hA\ngb4I\r\n=cLbr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSUtNyS7oopBrZIogchC5lzzJ1UydbJfq0qN/G8HCIJAiAbXk7ptN8G0kO3n+Lqe0I7DsWy8RUODtPfpu8/lQEHjg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573391795.47c5221b7327d9ad8fa2031ff4805b7fb08cb37c_1573391797783_0.3654916971820896"},"_hasShrinkwrap":false},"1.0.0":{"name":"get-cli-arg","version":"1.0.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"47c5221b7327d9ad8fa2031ff4805b7fb08cb37c","_id":"get-cli-arg@1.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-uTY1maZcILSF5Nn+9zotLgNBc185aNIxjrIcqhYzoJWtw/wzr4ZjZ3J7imQxKEmjlEdx4mbDMPe5VHzgorxtRg==","shasum":"483f44ec6d14f2979844c40198b173fb9185c382","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0.tgz","fileCount":10,"unpackedSize":18017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyA4GCRA9TVsSAnZWagAAkv0QAKFdSFhErijzF7RxWBIj\nb5gEidZBy4Qqt5+3PbqMkxaWuJrHNGGBJ7NStJeEoTKCEObnLKxO7hhh65rD\ncVhGdYQr/xYVwrk0RRUPiu23+VHSj2CjZZT+YTKIi3RE30vcy5Vn6YuUd3xI\nvKFayfJX1/cXQyKpxcOPGEPn/ifMdp75fDM9ExBqpX1q9aToaadSjwYVKEkW\npMm1DDA1694nroc6Z/rwPMb0GxKkNQuzaq5mtr/cB+wzf7jW3fteszi7vnZq\nhHwvd8so6GZrfXrRvpZu9gSL4Jo9jzRwqaSgIzbY+kHQOs/qpIKeQz0OfqXM\nQDqZuA4wxcZ2Ej6ksLt4HiHEHY39wMinSJDsfZ+W1hqb7sxVHacJmVNwUq+G\nhIdHAL72cOmUuAZJzQE2vvF3O/gwlN15OIFNSzRkz2ea5neFc3SlWrp5WuHh\nXW2UyEGbN23HiXQCoaMwkyd4hfxxbawBJvvQ8SGxb4b7bGkRGXLx065UTfDG\nC5l0nkADWF2IPizlwFHKxUJBNn6xbxTnOrrZU0OionEfurGyaZUhnjCx38PQ\n9WZEzkhMECiiGO+GUc82DMSTZSdRxpt9SFdjz7KWnZnv6giO6fbbJbAN4XM2\nfcIkdAnQ8h4DE2XH6e9LVM7DVVVhB7mXoCqim1cKVlsZl9hgvAsEuphX9hdr\nsxFe\r\n=/rx3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLIwSAaA+o9I+VNKZpN9I0KxWVX4m0Bf69MQRmXJaPCwIgTxeaAmvr9sa8ZM2Z0kogogjfB5jsquxaNvm/M4w8/R8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0_1573391878031_0.2026560608300072"},"_hasShrinkwrap":false},"1.0.0-next.1573392115.6793d7cbeb8379dea6ad0c33928267adf574a78b":{"name":"get-cli-arg","version":"1.0.0-next.1573392115.6793d7cbeb8379dea6ad0c33928267adf574a78b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"6793d7cbeb8379dea6ad0c33928267adf574a78b","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573392115.6793d7cbeb8379dea6ad0c33928267adf574a78b","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-okEC2KQZTyvesGvZ/IzETnpnKVZlRNQz9OsvMvLLkCNilWFw6X6/rl4lzaHobdBPsSyXJ44nifPznkpZGbbt3Q==","shasum":"cb59a0d95820b23fff1a4afc9338eba296a25c13","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573392115.6793d7cbeb8379dea6ad0c33928267adf574a78b.tgz","fileCount":10,"unpackedSize":18074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyA70CRA9TVsSAnZWagAAIwAP/jtEjlq5OGGWbCZ6iy4p\n6oQqnwOSuFSoFTk+Gk+XMQZBhCBBXiMEmRiyOMIDx5hnYKkPglLEcq257kco\nZJHgS8xpYN56gLMExzVvTX0crfiBO8uiuSVnecnNebTdTg9ROVfSQ3hlfkDv\nyzpMxTpeAznVYq0UgE+3ECrs+CNBj6OqP3jGylYgmnivpt5QgUexZRLCXO4r\nsqR+ZgNuz4mYbAYgnt9BI7eggX8oFAXdK23yeiu+1RQGiNq8mE61RIzUi2ZJ\nSkrMF9yflcuvyhDQRNnHP3mNsO+Ul6GMv5+fDSGAcoSe57UPZbE9y7TCJRLO\n6wU/L0anMmRtfR1CN1tC0uGcA3Y+i1TX86dtQD+Pz3mVEi3uqtHNHAE1ehz/\nIi8Uyacw9LcG2anNdxUIJTpuszDMqyIs3nIkAeRrHkTdSqLynRIuhe0iGJz/\nZPnu3tpkzp5ooAmhqssY9XNaf6MyCDfHXcKeYIPLv82Mhg15IzD/WW+19wCB\nIFVx0h8m+chzbMagIC/r94gCppNyUK9O/ZXfj6Sl/S6Jt2qJoq93pcWbOi+8\norRyTMEBbHpqusW3iqbLd4cMIG04Liobg3Xf7xvFVJ+g6x6nBIitIJRj08fK\naJRnM9ShHW1oOmadaa1eiSyX8Mw71Zrxq4QMGhJZcq81uxbyokUS3+LjYnHC\nJWK+\r\n=15nU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0uUYmc/MX+Lm/CUulq0fJrIg7xWjFBiKIZ0wfFJGBpAIgV6plY/iF+S5DnX5NqfsmBVWmE2PtEwz/kmT20fRraAo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573392115.6793d7cbeb8379dea6ad0c33928267adf574a78b_1573392116405_0.09662247460541074"},"_hasShrinkwrap":false},"1.0.0-next.1573412770.13659ce401df6864084d731ebf01eb64c1e22182":{"name":"get-cli-arg","version":"1.0.0-next.1573412770.13659ce401df6864084d731ebf01eb64c1e22182","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"13659ce401df6864084d731ebf01eb64c1e22182","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573412770.13659ce401df6864084d731ebf01eb64c1e22182","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-kkc3vXf33vOg7GSnSoL6m1zYzuJCV6uZEaagB7rI7WK/gTBmTe61DlRZjOaYWkFDg+9vyHsBwum1OddWf040hg==","shasum":"b877fef693c9be441730d31e24fda5ecc0155d42","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573412770.13659ce401df6864084d731ebf01eb64c1e22182.tgz","fileCount":10,"unpackedSize":18448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyF+kCRA9TVsSAnZWagAAsGIP/17xvMGxkfRMp83S0yt8\nQS0SOFVjGtV4iK80DlZ0GqepzfKeVHlxwtTbB+pQ/gvjw5lobk8ooHT9QMki\n7f+aMNDPweg5n7nV6RR5ph0cYBXROULFeLbFMpQrlELPwmwW1yPNPO/oaNwK\nwJzzg868XvU4exTczKGmyEM+EnVFbnC7OqkTdIh/RKQ+ZxwxkSb0mxDTcajZ\nHW1TDLz94nZ6WB28Jbr63knYcYK8P9lcW46s4gmd6T9uW+we2E5pKn5q8Dha\nF6qD6XMLq5dnig/OWE6C/wH+oOhHAGb7g2rr55VTX4em58iTXNJGJGAh5Th7\nZox5Fxl2+CLY4SJoSCbyMRKBFFsZDMDvDuaLlmhZfksqJC3L2kpcVVkKiYU/\nzzyvlsGb4ze39ZZ2RnBtUZN3ucRTkC4NLWaRAA6yt+yrLRVSeH7QgBzmmCaU\nu/JIZEuGAF5oAOZkzPfxaEnIpwVnOOjdbtWH1DvYNXrFRaVmampIvlJcV402\nq5vsP/YKJkKILtphDBIcMOgLvKzmBAOHZeH4jhPW4EwGvulVZ8eJZpJvRE8J\njpguMKze3Yq5/AkCRwYI2dKIpCt7rftYW8JDDvNiZXKV0Iy1DcJzeRQePyAf\nbDuiB5JTV8QWiygDKNLGkIVoXBD2+YVevED06XhCL5bo0EbQyrPeyMuBxdfL\nSnPM\r\n=qTNl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMJHAic/QbGgFXFcmmmDtXmLvn4JqH6XWbWy4qIcipXAiAscIHPorlkrZBqdbQEwY+UkI4wSwfou9r6ubxZ1xdVmg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573412770.13659ce401df6864084d731ebf01eb64c1e22182_1573412772537_0.004571354565535479"},"_hasShrinkwrap":false},"1.0.0-next.1573529647.61ffa3ad327f08b61ef8d01a51597bc8832489bf":{"name":"get-cli-arg","version":"1.0.0-next.1573529647.61ffa3ad327f08b61ef8d01a51597bc8832489bf","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"61ffa3ad327f08b61ef8d01a51597bc8832489bf","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573529647.61ffa3ad327f08b61ef8d01a51597bc8832489bf","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-nBkEcfPYU0XdiFOkV8CKmpjPLJ4h4Ge1auibRs88YQd4P9Q8A6gn61bmwskoUmssBf0gBr2/F2Dn4mmHM8h/eQ==","shasum":"54ae4939525978e73c9ebc6174fd57faf3171037","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573529647.61ffa3ad327f08b61ef8d01a51597bc8832489bf.tgz","fileCount":10,"unpackedSize":18448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyigyCRA9TVsSAnZWagAAX9kP/0iDFhzHB7+Nax7esqc+\nQHTlEiO8x9Eo0Buqn1XL7GjJD9Hw0qA0hSeUydOBy+S3aD6VqV0wUwzQcHNw\njKs6jMHFoSrEpoS6oGzpOcLmd+2bOXVZsBL7dJvUFifbYJwx0zXkKqpjHbXn\nsjvjOpsffjb/vXX7WllRrogmyV1lsSsaOFmoZbq+IGRJBGdJP/zxdF6KWWGa\nepl1fR7tJTAbLyww38lARAfQuG5ggB+KwVTP6iGot7/qmY1cIg0Y4hM4Cj+J\nfFH7P3KL1j++V2ffbTbu9NJ288KYu5sy6PDGTUbFe3Z9gqczleUGcCPN0cUk\nqRN6JY7x0HFR9NSF+wht1fzZDgsHomdFe+ySI9VGhagWIA3buXA1e+59gu3M\nrzSo0GF6XQI87EjaBznymVBp8NsUgvKsAEeq0B3waYmCvoKiIg9rLG4iGEhb\naW5MJrvWynQDvtcZ0542napBpa5eOHqbDD4X+bdT+b+EiIYSdHGKYKOrSdTq\nZy6pSnBrBwKOX5smNOZp2GzOLW+W0iIeETJlLQsqK9keciX4p0uyjTsNUcS3\n9NvCSRJQdsMSUEVVAm1tEZGRKR5FmTJbTtGDwKcK6nyslV3hJIqb1AW/22K2\ni+WTwB+ZaU/VGgv32f5hEZ+HIc129wPPpA9BOTBaK23VAGniU+MNlrDVl2eU\nTY3u\r\n=+FSV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEixNp5Td4gYawjYqiaEvxM2XY6RcJX8tpHeNgsDyo7AiA2aaZ2AkoJe3BYI+SfBR0gY22rQprIkUbdkd1rPNh4SA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573529647.61ffa3ad327f08b61ef8d01a51597bc8832489bf_1573529649667_0.9559112809568739"},"_hasShrinkwrap":false},"1.0.0-next.1573529818.69224f7049c2a21da215c6f563335688096f1543":{"name":"get-cli-arg","version":"1.0.0-next.1573529818.69224f7049c2a21da215c6f563335688096f1543","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"69224f7049c2a21da215c6f563335688096f1543","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573529818.69224f7049c2a21da215c6f563335688096f1543","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-TypHjF0dOs1/gaju5jmF5cV9De1qvKo8fPM3S5R0P+KEwlXVz9MdRld7fMLipaxPU93rcN/K6MavVUWs3ULQMw==","shasum":"f1ebab134e081784855bdd1882a0b0a3f5c5b630","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573529818.69224f7049c2a21da215c6f563335688096f1543.tgz","fileCount":10,"unpackedSize":18448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyijcCRA9TVsSAnZWagAAuJwP+QGWOAxw3+6zZ749pSlq\njRjnMQK/c8aFavMWFyuvAs5rOUJiWKAmt0k0W1Kt6X1ojrZgJ6iKLHKOB3aY\nBVJKXkRy8JBY+l4H3PHS8lseiAd9S9HBUl6KV1J0M4qMqds+2pxxOM5oYS2c\ngYjZvpTNsrYHDjIeBxJey2GmU5KYI/6KUled6/iBqjWVDeuyHne2u7QKKAi/\neItaCdRNBtuiu5eG0mD1PzTF+jfoE0xI9XKWSq1KrZBsTzvTPy3yDNC6x+wb\nwB6zcw/fFRRRurWt4qAYLG5HEOUW/ZNBp90jMZHDVnHdrqTemM919KgfZq8h\n1fDIo8OiFt3EBEeChNtFp5+ZP/0VlXTCFyCQFS8vAySqV7+DI+H8rMxd2RZ9\nx1cycyVrEJClC4c2YmaHbUv7x8s+K8bgn1v+8w5QazSSeyKQ8blV3NJaX0W2\nkbwNEWMKzTQMTf2teMsATpPsK6aP11jhaN8XWMu9w9S4U6d2bAiZ5uQh6q0v\nUs3365yl9OqcMIIb+oWofXMYGnDD7JXNJursaDMfBnYx+HjqlKpVU+9sgvl8\n/oYFWlv7PrxQ+fixp3ShQzsfMmEVSPhsd8gL1xE/CIUXbYpK+uqgYC6UJuiR\nbzt5fvLhhWhMuWWhVkWg7AziF/qykNEpAREFiHEFlgRD7pgkD9TygbZgSG6x\n36kV\r\n=Negy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQZNbx5E/CVylJ3pvL+KUspfI28DvnR0g3tKq9rZDxfAiEAj4iPX7WUm/PrpydZS+qdKglQAeGn2fs5DOoR1LTnK3M="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573529818.69224f7049c2a21da215c6f563335688096f1543_1573529820077_0.6681970637587795"},"_hasShrinkwrap":false},"1.0.0-next.1573593669.d62f56ded915eaf6e27c97e5e4aa32179f081d25":{"name":"get-cli-arg","version":"1.0.0-next.1573593669.d62f56ded915eaf6e27c97e5e4aa32179f081d25","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"d62f56ded915eaf6e27c97e5e4aa32179f081d25","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573593669.d62f56ded915eaf6e27c97e5e4aa32179f081d25","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-lNnGc2VZMOm5aeKWSkaQ+iF2XJhv5Jj9y+nD7olTnF6ovZbODkiv3yWO6yzu9+LvMHcH3f5lXVrz71nonTJb5A==","shasum":"d100514967696c2cadfacdabc4cf34edc69b5038","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573593669.d62f56ded915eaf6e27c97e5e4aa32179f081d25.tgz","fileCount":10,"unpackedSize":17887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyyJHCRA9TVsSAnZWagAAI1YQAKQ90xGgp8h+Ivbvdxil\nNoKeBdFRjqvrlWfuVt+Gb4Du0yedWuBAojSvxQfgjpOSmavu60boVMHfVgVW\nQlAfp51OUVLh15DvZvvcmBpGBT6Ppq2Resmrd6rM55c4gdrwzfNJWPG1LxNN\ne8V/tlCkA6y+DiNCMIJAt63pWjZtu0G8/3rT3WA0fkHGWSyzXj/TjW1EEVYd\nIb0TBmwsnQEdkG0sPRmqOjhLQq+dW1PO57hLInena0Hud4QsB09PxuQ7AxJq\npLySSOS54s0HuJDgqJh/JmJE4YDEi/KnFK6sYUtXswMGxrawGeHfEX0nsRVU\n0wjHHBH2yEIB1E62Zu62V23SR1FMRbicUUizYhlh81ufu1ICK17B13wgag8H\nxTlyflpiHnbwkhkzXo23I0GaE7GkJwG95MwpiIrUAKmdFwrdhKbPe/NjqPrR\ncRfKfzxx8mu2izADhyl62VXdhiqua+W5IHxSXrIDmBCuNtIOVNYZDDgMUlwK\nIIxA9Z3cYd8mOOe2JvnOQvEchuy5lnFi1L0yaJFpVkU6hle6KUWOqByuBNQq\nCJNLsh+tKQCt8LjzXMLEh2XAjiXhVgOy/MDFSCJvM5om1DCa2W3IuMbFKf2j\nOEXIeiFfj0UYPYmeIrF9TPqpKZMK/invkhXfiC+xCcf5CWFUat7OAlr32qdN\ndIAD\r\n=/rpa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDPnkuFhX7loOTUQdeYLAixNj1NtNPp2zPfG+tuOGX7AiB5vTQA3F3FLzfvWhWeovhT2ob7op2Y0WC8S2h+nLVQDQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573593669.d62f56ded915eaf6e27c97e5e4aa32179f081d25_1573593670738_0.6897498592251798"},"_hasShrinkwrap":false},"1.0.0-next.1573597678.68a1f3c6df6fbffc1ebfab5854eb94e7bd6a8505":{"name":"get-cli-arg","version":"1.0.0-next.1573597678.68a1f3c6df6fbffc1ebfab5854eb94e7bd6a8505","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"68a1f3c6df6fbffc1ebfab5854eb94e7bd6a8505","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573597678.68a1f3c6df6fbffc1ebfab5854eb94e7bd6a8505","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-9jkucZtsXDD4nObXpvSXoC9HA5H7LvXQt+6Zy+7o5E058O5QcZ3nJ+IbDZtA6Ds/ScNbbdIyN7CIv6Y6KrSqAQ==","shasum":"abc7964b2a81b3142a1dd53697886a0a4dc432c9","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573597678.68a1f3c6df6fbffc1ebfab5854eb94e7bd6a8505.tgz","fileCount":10,"unpackedSize":18448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyzHwCRA9TVsSAnZWagAA1xQP/jR+LooK7RdneOYi6P1E\nFyHqw9wpzK5L/SmTzOkk8wk4im4EJB/Q2bXoebU241D4Y61vfC4/c8IdjNGH\ncE/U5A2Pk14wCihznsfsQiUiq9+/huTZuzm4/xASdXzXhU6tIPqm6F3bamVn\nlelcY1gnHBYNT5poQINpg68PpZOjwgW9r1tNY0WH0CRy4mS7eBmhfzGO93I0\nZyXQwnGhR/0/ZXReyclhDmCM166egwqZxtMNX0pysk0yDRyKPn8AKO5FUT+O\nceBWMYNMynyl9sXcCBDmYD8s66o2P+etJCveKX2O0EE/VRnYhP5oqL9rCeDi\npgdd0WxfUr8DYxY0yVIT1JY0gUXBNTotTSvOz8kb7SQH8QFZRfGgpzcoyCYz\nnjeLUfV9ZooS9rAK4kV8febGOEOD1F+5IITuN9mazi82uKbaFoZ1BSAUaA0b\nkqQ9JhfW6R+apylJw4tB2BSZTNTU0rLa5O9+YgEyyaAz9rAXT5nECHeAn6UL\nbLhhzuLHspc1nKcIOZjRf5fNI+VkQ83GgwXUSr7Dsv+z5+StjkYG9jdI5Coe\n9Cp42fXdliesh8AGkkEg2DOeLxOUoNqImJwGLRu79guLEC8UgBfWB/vdLEA7\nKYFgvmqIgdzhxrN0d6Aze491XH5XwwbUmMDPoq3aqgUhIuATaRR9ofXFRoC3\nBvyx\r\n=7WA4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAY4hGGmk0lIs+U8npDEuR6OWt7FFmG4FkBJzCiYvnIoAiAo6+dfUysl8pBwebsvLvfeBYkd1PxAmulFvXmkN1Xhcg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573597678.68a1f3c6df6fbffc1ebfab5854eb94e7bd6a8505_1573597680039_0.16595269162143222"},"_hasShrinkwrap":false},"1.0.0-next.1573623113.91cb9491d673c7f9e17fdb4d381d5c1a7a7e7ff3":{"name":"get-cli-arg","version":"1.0.0-next.1573623113.91cb9491d673c7f9e17fdb4d381d5c1a7a7e7ff3","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"91cb9491d673c7f9e17fdb4d381d5c1a7a7e7ff3","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573623113.91cb9491d673c7f9e17fdb4d381d5c1a7a7e7ff3","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-NXrcdNaK6QNMFXf79DjW6TMxwTIyTXxwQA0QbIrjjbTCbFWzKP7Wbyko8ZlpqEiaCHxe+OoZA121/Kpt76CQCQ==","shasum":"4f2fb15bf205e7c07239b7b3b51fbe4daef64be6","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573623113.91cb9491d673c7f9e17fdb4d381d5c1a7a7e7ff3.tgz","fileCount":10,"unpackedSize":18448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy5VMCRA9TVsSAnZWagAABuEP/1lxqnE4C4M2YPObZP+9\nTOLbFhS07HBD3OgXTJHWRAIGkd2H0QZqamQD3V2jm0QWOtvtujTxujKnG1MO\nKpyI+06V6PzCvM+oVwzPiyfdf43K0QFUNJU5nhxh8HPRrX3MsYMXDW8/r1dt\nTOeFKx3WlI80O/6BufoycPERi72yEfMJytuJsP1pJcPC4m7FI1rO9U+nv4QH\nOzUoZaO8gryN8NwbvpxbZ4UtQ049WMVP4qxy3yBIzA2Rxh1NnGA8ILGotHt7\nj+gggJBVOOsyxcmB/dBVLfIeVmve3ruY30G6eyRcOPo303aBxyjH0KVmqX69\n1QiBYQssDMBft1ZB55+X7KDfxFVCCXhp6C8zQA2i7LqIHyjokI4grLI933se\nM4OmpXUoVkFW9tjCcv9GJ17iX6sM70tHUH+VvJnlv0pH0WBQKBbqImpdvICk\nKgbxq2pKqcH+W1rIiSe4SnSLoyAEnX8fsNe6ypJHReEJNj3M9UJu5cd4m75t\nOGyAQP1IaJuweh+m9tc1pLcdSOUU5W8wh2ofJmydjR0GWFul7h7En3p9WOOF\nO2eH+m1xmAKt+2E39TCgEHa4utz/6zfpHgMD7zANKl1SBTaAicF03ng4MlHc\nyfxe5FJB7eJcxMgSWUJRUyNj0NvBoPAc4YMNjMmFaMYuN8FWsLJ/PhKMe3/2\n7hHg\r\n=4m+d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHp9PQJjVH/zR6eKhWUS8NSFjzWbNOWBQZf29vk3i4F6AiAVOnXsP97LMY3o2Sr8Cg+LF+mVVyzAj3FFs7XrPeSksw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573623113.91cb9491d673c7f9e17fdb4d381d5c1a7a7e7ff3_1573623115627_0.21290776510518072"},"_hasShrinkwrap":false},"1.0.0-next.1573623199.cd4e6ab0545380c7eae341c1d7f364636fc2547b":{"name":"get-cli-arg","version":"1.0.0-next.1573623199.cd4e6ab0545380c7eae341c1d7f364636fc2547b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":{"type":"cooperative","url":"https://bevry.me/fund"},"author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.0.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","assert-helpers":"^5.0.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.1.0","prettier":"^1.19.1","projectz":"^1.7.5","surge":"^0.21.3","typedoc":"^0.15.0","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"cd4e6ab0545380c7eae341c1d7f364636fc2547b","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.0.0-next.1573623199.cd4e6ab0545380c7eae341c1d7f364636fc2547b","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-eie6N8VNttzYhSvNsRfnaZoun3TNIx0/XL4kIbW77EkcLV4MBs80n2ObRNlFu2Hp+HZ8fhhs9GTOjarruAWINg==","shasum":"0fc471a8a913f20f49a84203a4ded826d0fc7d2d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.0.0-next.1573623199.cd4e6ab0545380c7eae341c1d7f364636fc2547b.tgz","fileCount":10,"unpackedSize":18448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy5WhCRA9TVsSAnZWagAAwEYP/0NDVvqBDv0rxqQDr+fC\neoDIg2gYZr7ru9YZ1i7op2GTTnPlFsO9bHBKrkrWScXICq7cEWMEdQrJIWmd\nZiCsrnPBOOvqN1CMKBeXnWY3QeOs5A6fRH4JRVuK+FQivi3fbQVZV+7RtLlZ\nfZvGxA4L6GtdZYB/+9ea2xNV7Y8fYJCwG+vy5mz4bY/BlSH3UfbbjhFtDLJ/\nUibVrp30t/CqodUKhsbGwI+vjgrO+1l3UDOFqAmuscrI6KmrJqCqrZmb/CTv\na4h6cp1cZAYCGgxrDNfwitvR75BCoFqzcbJ49p4g+mF1jTUiov44nEzEIjsg\nLPZcMwX+d9GssbCiMSE7utyadWcIOw30V67pAN7y9vJgkp2IibejtBYBJaDO\nTJxrvQ3OsVRtYnbe7jluMnKfOi+wpYKmjc/gjsTO3Sy7nCb6j4W1CC6dI2kV\n/Pnpi86f9dnvkyo9VfwXniEK3fyJoWaTYae4Pua2gheD031kmcE1D+rA/TqW\n4kaHStgQnwCQh60gxMiTRB7yTYIq2x14r1Kd44DjvpWJZRb9+uiZUwU2QOVW\nUg1JVrxKJOU96zUAtuCANMuVhBDc9esLPpX0KWL1OJbmvsLxT/+4zWy5A/No\nLbU0TDaLi2z/ikbbmnWKXWxGEc8Jdm4vIxpyoSMV5oAkWlJlMmM+YTVohYkl\nT903\r\n=MbXh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaSqj4uVsQwWwPy2GtxWcPMMcjHPgbWYi3cvmpEAxSBAiEA1+3wkrZoUHJVpxk84r9TdfXMK3K2d5RDebucnm3QtEM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.0.0-next.1573623199.cd4e6ab0545380c7eae341c1d7f364636fc2547b_1573623200998_0.9712316300725217"},"_hasShrinkwrap":false},"1.1.0-next.1573632141.ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0":{"name":"get-cli-arg","version":"1.1.0-next.1573632141.ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"^5.3.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.1","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.1.0-next.1573632141.ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-V5yQRNM7+UZ8bzdZvRFM19qgRecbgh/nHsHLJHCCXF6EZPeBXgtIxma71GGJwRv822u38nsAAF/HzMfWbfEzFg==","shasum":"1da9e8059a60c2f27b175e0e7aa5512e0ca5d9be","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.1.0-next.1573632141.ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0.tgz","fileCount":10,"unpackedSize":18604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy7iPCRA9TVsSAnZWagAA+90P/RHnn6w/PyGrWYpvATGV\nBrlnR2dd2kcg+xsQksfEhaDvghYbOXiaoKDElM4c3PDtg7VB8ohx19QZ7E+a\nZ4yC6+RwO0vyPFmF33RiyvZz7/RnnJST8e10j3/Nq+BH68vJ+jw7/du4WJQ/\nrVw4qPo8qac0bTyNzC1SnlfTUXqyo/9HsUvE0YWVJMWrN6734p/xI6s2rxgO\nldgC6YGO/QYjx9sUY1F40XLdfGc5y+mMv56hSABTjvQpLxtIPs7iHSozSeJ5\nHGd4merntCsYt2KtwsZdo3MDT9yMgIP+yE/pF+Uu/gZ2bCUcEX0G9H50p/+v\nonJ2sqt2p+G5hzt+RxOe1ilPc0nLW9aut7WwT70p0YQLuJKvk9MBKoY9xt2X\n/Jr7acbG127mPFWjYpS/Inwq4K6RHnBRJ2khpSgyaYjnFJ+4k15IdfiOhHO8\nfn4sHbK6Bhx4KldbCydlFl9lrKW2ThAe0URmlz31znOL3QM8ikatXhpyrPt/\nGQ43NGcgB95kjEFJmaoKLhu69vAxf7k1gtArJhaCCETeAHulN6jX9oCByRTZ\nTugGf4LIPNONTXPxaJzVx4AQqDTloOGOyr+P/Ut02z6ikNQjl3R3QUx9M1nl\nTmm9vytrzcP2tAAJk7NxJ3KM38IufxWAfmbi7pLRflkJDOiXGCpzs/x2Q3mQ\nRmkj\r\n=Uu7b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6TPcekzFMRI0y+dwSj1wK9C48aWTMQfEm1kmzS45S7AIhANuRjzgUyQcid6ReNW6EJVhaqGz/WKDIVeQJvy/NCyEr"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.1.0-next.1573632141.ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0_1573632143271_0.7323767170137478"},"_hasShrinkwrap":false},"1.1.0":{"name":"get-cli-arg","version":"1.1.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"^5.3.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.1","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0","_id":"get-cli-arg@1.1.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-IBDM1yUc0JQDhDdiJ+gk67MaGKxejxZi/iQCU2jWbSYjGiojBgBN54tH8ZJ+nQIfp3ArBWCtf8ffp1u52PluMQ==","shasum":"ddf371e947a447f0ed281f485d56d1d10e16cd50","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.1.0.tgz","fileCount":10,"unpackedSize":18547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy7jkCRA9TVsSAnZWagAAynwP/jKMC/APDFg1tcxl51N0\nFTUDCENnwSkQcmaADDCDViEL6hHyTCCERBwJjV0kAH2/ivAXiJBILKBj6O+E\nZYxdH3bSd/Y4v5Angdz2jgj0SBYAIlH1b/NFGCiWWufVkx+mzjuu2m759eQt\nvr9H1nOwxcZkOEDsdPj3g74Z0NbaTywZeSHrN6o1E0t/qM7ORAt0AaQc6YZ2\nqrGbLlpCN/7D2+wdpOebko/a3D9UVS9V/4YjfKZP47IFcypQh0bKgmSsw3sU\ntitMFDPlEjyQacY+b34gOw1A73qCEJsU3dIAWw3Pu1hBJ7cteZLUq40JCDJO\np7r6DwxdUJr/Y01L72RdSvPMntqA98xctCPu89gawH8bMRmlpK7GXXVp69PY\nDBJ76kLA01k4u7USGHpyetluHWoyqxTSRaz/FECSOdHdbhdyk1Jjcc88OLUj\nRTbdeiRCZzwL3PSuB2ryo+WAEXGJkoVeLIMwaBNK+8sZuNM4wKLBZr6qHo0u\n/rfHhnqLxeiswX5gPR5UOkcZ/wVjKxw7YfgA9H0qoL5zYkMIQJUwDZXbLuFW\nUUWwgGwfQ01ktJmm8AZmjbI9kSQQDFC7/IqunJhHIeJVTvBn//5tVSZmL7pw\n0JuRr2E5bbMFBpOYYXXJfwRLJHU3IR+f5wTMu0yhZJ6ooxeohLVefLl8la1t\n4G8o\r\n=IYOZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXLx/jLdDU1KnfEuAjGQ27xXVvZf/CcW4+SnR4zgYd1gIhAL3b2TYKXnsMrFpEYB/EnE+nA72eugfVQjcsO9IE7mE5"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.1.0_1573632228479_0.6038028468004166"},"_hasShrinkwrap":false},"1.1.0-next.1573741305.6a549bbf8601f960b57feb1e7e333ca5e1a51670":{"name":"get-cli-arg","version":"1.1.0-next.1573741305.6a549bbf8601f960b57feb1e7e333ca5e1a51670","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"^5.3.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.1","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"6a549bbf8601f960b57feb1e7e333ca5e1a51670","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.1.0-next.1573741305.6a549bbf8601f960b57feb1e7e333ca5e1a51670","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-s2f6hlONnU6aRjuHkDdjqLmipethi0IT1SjPEybPWbOs/+/DFh2sBJ9m8t3xsBvZoqOurJgglRLOlJCcNTlIkw==","shasum":"a622ae345125cdb9dde0bf29061150c82775ed89","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.1.0-next.1573741305.6a549bbf8601f960b57feb1e7e333ca5e1a51670.tgz","fileCount":10,"unpackedSize":18604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzWL7CRA9TVsSAnZWagAABlkP/j0byHBQa/h1yNczHcRU\nA09c6Cm8+SXLZMIpDgUBHP4/HE8AMJXqLJeoHoUNDQWANBhWAx6UjpNiLQvV\n3xHWRuCBnwtwDkbNvRA5kYFCQbhBDQcaBzABGRhWoHTatarAZh4ZsG3z2AOI\nIxEr3LcXlwH6JeR7aMfif0yG/O8UOcj2X/F5n+/5Qdkn9g20lwVJYl28lHYx\nXcTFNcV02kMhUpFeBFtTmerW4FZbqUMVMGPhAKuPVz03Yh3Nt60iXRmoYP6N\nZYIcq9wg+wz9hJIGbdIRvPPHjNGUaA9P6DPYrtgp2ANOdjAvqRoQTTd5vdFk\nPq5Vy5gHayNwrTMMFkiIa/U4kRHP78i7iGIgEO7S+nrBCu3yy/x8peaTcsna\n9Cfg0mQAJGJFSGBH3xEN8Ko3R5xQJDLBTNE+ALw/66G6+ee4V5JjbBksru8+\nV7oJj8BfRNM+h6XWrOwV/GahHg4t5O6p1TIeEydr0oEDtVCTPhQQ0ZHBlhpf\nrBpJBdnUS67GkFMHlNVpRiFe00YZEGlq39pNu4r1yzWM9gqjAn7IyrAZ+LFl\nuNaXw9roujx1nXEquOWWRwbECowo0Gp1AKfKAIYoj3NjGOppTi2XgunIDoW1\ni57uDvSKRXyEHT90+k95K0vhYS7DTXPvrfW2TfCuRB3K8zRdzf0zBarYSRTP\nMP86\r\n=NVKc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0xXsvdaO4wWf4MafDy62UFX714w3EaRvOnlHPPwWtjwIgMfpJt4DYfcybgm/oi/IubQKe4DDxBg9iai1Cv0XxTnU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.1.0-next.1573741305.6a549bbf8601f960b57feb1e7e333ca5e1a51670_1573741306819_0.6600393353710272"},"_hasShrinkwrap":false},"1.1.0-next.1573811403.2d53e14aa0a12af1e26d09cdc87309852a7457e1":{"name":"get-cli-arg","version":"1.1.0-next.1573811403.2d53e14aa0a12af1e26d09cdc87309852a7457e1","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 13 with require for modules","directory":"edition-node-13","entry":"index.js","tags":["javascript","require"],"engines":{"node":"10 || 12 || 13","browsers":false}}],"types":"source/index.ts","main":"edition-node-13/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"^5.3.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.1","typescript":"^3.7.2","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-13","our:compile:edition-node-13":"env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-13/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-13":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"13"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"2d53e14aa0a12af1e26d09cdc87309852a7457e1","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-13/index.js</code></li>\n<li><code>get-cli-arg/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@1.1.0-next.1573811403.2d53e14aa0a12af1e26d09cdc87309852a7457e1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-0E18iHQ2KvmAP7apqUyHUBbbXHBVrTkf9LV6hupCgzIpIPk90iTppg/v/AoTI/+gEe6+nzIpH9H+U9c1HV6+tw==","shasum":"398b3538ea4420fd4d65de4c595c55d6e9357707","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-1.1.0-next.1573811403.2d53e14aa0a12af1e26d09cdc87309852a7457e1.tgz","fileCount":10,"unpackedSize":18604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdznTOCRA9TVsSAnZWagAA3HIP/jI6T9O5/fvxhUOW9ua8\nRyjpwBW3j7rgJt3/JkcYXJT+7mK5tvTstbbJ8zonRVjtHpIXcVyXe0kczfSd\nb4z9pZfQX7RkrIHdGePvn/7pimCGkfg7eiBIDc4f/I2xamg8D8Bk+jz5kEbM\n8bZs/1qx2wBH1d9cHQCsTijYiSzxT1wRZGV3G/ZXl8on2byzOP5BLM31AETY\nkyp4kJTu9BeoiJXHjI85Hs5vL53b2votTuitvsB8bruizDw0i5NnZ2rcNrWm\n2OTwMpU+bTtmzN/pA/+32UAogv59U04gYYvbOUHk78+5OZNl+4RoYghqyKwU\n19m4Bn7NFL3xtMumfWmekGxreOp3B1MyB9g6lmxZ+Jp1z7L8CNuitpx1/6f/\nW3/J8rcbXnGtuBknIg2LF+ZhvnwToNB3rI7OvBdRWyXv282woWyDVcJVsH7I\n1V4FWYtcBI5vMM5L67VFkXetYiQX2K7qkF1OOji4mmQgLwYlPJ6EqbxrNW1V\npEIvHSkL/B4O+hMtAly4hyG82PMxCKDOGy9f6UV++YkBvFmOhdz7lV4+KNbI\nyyJ/Ea9eaOD0QNBOG9ifBZOjI2KsMdyEnze2tAK7zvurUNAfZ4jFwk9AruFN\nxDkFljxEGmAZIKUfAr65R44LiRslRn2alBV1ertWxgB6D1UuWZc57Xdyopdn\n1kGN\r\n=95Ok\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+l/UzVIVVpEtnA95PcQJqkhDFgKY/+Jw6k+XH8eWGIAiEAyPuwRSwIUq2OEclv69fHxHlePId7oGwZHLxz3dhAOa8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_1.1.0-next.1573811403.2d53e14aa0a12af1e26d09cdc87309852a7457e1_1573811405615_0.7925078789533575"},"_hasShrinkwrap":false},"2.0.0-next.1574050603.105f6cfa76c7d0ef10c3631fc3800aa6d4dba171":{"name":"get-cli-arg","version":"2.0.0-next.1574050603.105f6cfa76c7d0ef10c3631fc3800aa6d4dba171","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"105f6cfa76c7d0ef10c3631fc3800aa6d4dba171","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574050603.105f6cfa76c7d0ef10c3631fc3800aa6d4dba171","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-qp4VFlczR0GYF1RlXPjBCPafgTvtbdmGxl9Ux51K/Mvre2i7M5kjm2aMt+YmuZVDPkvWvY0oQEXXG9E63wrwhw==","shasum":"901e63efe4c701c0b8ef16156bc5fa4acff78a7c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574050603.105f6cfa76c7d0ef10c3631fc3800aa6d4dba171.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0hstCRA9TVsSAnZWagAAdRAP/RfsJdIqQDEpLp8XPzU3\ndaaH9rZ2UIBP1SDb+3Kjh3xEfIDVV16dL6MulU412JWxaMLbflS/hfGJeChW\nCU16SvUac9d08E0WfuoYHyX5Nq9PhcbJ1O9vUM2MUR5pvdpJOuAfbHaW3MQr\nzkj7AyDgESG0G15rtRw2EUDJ2HyDYygDtXQEhufz5ItqoGLNZkmbcINQLzTO\nWVqeEyKg7zTwgD/6x0aXqnYbvqazZXR0elyFzBKpPeuIJGGGDLbeVn7c+hPO\nKVoI6VbsnnFb2R3qalujr48wrMyO6ZTSrfZ6dHzQ75BBLkramji2aguNwr3+\nqz2c6ZDxZpFdtJifZ/fIJARtGxPOLzJ1SuDMxAcHWXDeSEHR14sO6ou3dnw4\nL+Y95l+440AXqhpIOxJ7hq/eCTuWaCaxNBHpvwkYVh/+ZMwmOoq8r84eX5k5\n9d/S/lwkAt+W1iSUFb/MGybPWquufOIPbU7fgvAcxEXM3B1glJK44Fo4MdQJ\nctFIavSrtUw52cS08ZfsQdqpVAnY4qV3ZzDvhtzFrBTFkp5fDp41NxLH0PY/\n74o55JDiCiPV7jzSFgwHrKthKMiNBPko7t1UxhjDk8mzxXlZZLpxI4N3V+UB\nbiRlPA+ZdvQ8Xn2phZD23Jguh505Dki3lzRFoPPbpu5oSYBdBD4fj+bW3ZhE\ny/lu\r\n=5bq4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNVB0JANxsJ8rMM/6hc7QvFuHY6v19x2O1pqASK0Z45AIhAIl+VM133Ddi7kF6SxO3rrPpIEAMAlc50GF1NOKmNcGb"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574050603.105f6cfa76c7d0ef10c3631fc3800aa6d4dba171_1574050604621_0.4980003809838831"},"_hasShrinkwrap":false},"2.0.0":{"name":"get-cli-arg","version":"2.0.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"105f6cfa76c7d0ef10c3631fc3800aa6d4dba171","_id":"get-cli-arg@2.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-C8/+FROgYpFSMbIg/PHzcB1jcb1Xn7HQ+w6wYnQ9NRRF/2EOykchrtsWsZD/hvt8kMuZElGnIZWfzHToFAypWQ==","shasum":"672012b5fd6391eb3f610c692742ff32010a73bf","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0.tgz","fileCount":10,"unpackedSize":18992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0htcCRA9TVsSAnZWagAAFHoQAIDqHtup8cL65PhmLWuT\neNirZxB00x5n51/NAzSoHPUB+chZOFPkLnA+mSifnZHlWzGAwh77s/nNCMOo\nyReYHvNV3nsG4dyK2YQURIDEoytSQ8vK8vWhuXzI6UOPW+U3/wbFh0Tq6sme\nKkAhpyE8qunWQeURw0rfFAWGHRo8vhpA84aKXGPEiBl+ZP2D/Y+aWE+kuDIc\n2MVWo6jOTnDZTdTk1tsBnjzsxzhn4vA+FzWvOUVKIEbJIc1DL3sbD+y03PbA\nbv/0zozySXRpzIyWu7FZj/daGlPjcWZ0cD3YIb0Pe6dhAZqXnwNRgshk9oSk\n/5w83A3CAMMoMXf+j8K0Qp4R2q0FoQRBop1aWnen+3zLpgi3ikU62axRcozf\nPC7npcZ4w4vR5CpLEEVQaefK9/n/WiUabLkQHlf2gKs4HgxjnL7TFMqzb4SM\n8ziXtGOU8Iuv9T50VpEzyo3bKGXe4afudqpc5AJ9eidsl7MeI7qeV/V9A5Os\nkPOZdOVWJAe13ru+UBoJE5Ge75agyomLv1TBehZl5Z+axdYqe/OxZL0ZXz9j\n8mgRaXWrh+9Rvshg1gjQ3/Rj4wNCpQVmDVehnY2PNvg6guuucsmSnd0Fyxff\nALPQCgph+xVOiYtuyMip0bRomeqFglxYsR9dH58zzIPYR7PW1COBICqj/oGE\nYrO0\r\n=Br9r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChO1xBZin20/cKE6zkJrljU9owIH+klH6jNoxacVsxuAIgDSlTpvvFGleT7i/qj/OKs8gyfl9569rT52rtFT0WTz4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0_1574050651959_0.5076228064161727"},"_hasShrinkwrap":false},"2.0.0-next.1574637853.ebc3f5c1cb1e983846f255273fa4cd5d01c9da05":{"name":"get-cli-arg","version":"2.0.0-next.1574637853.ebc3f5c1cb1e983846f255273fa4cd5d01c9da05","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"ebc3f5c1cb1e983846f255273fa4cd5d01c9da05","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574637853.ebc3f5c1cb1e983846f255273fa4cd5d01c9da05","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-rx0F5F/wpMBviPhFFjB6R/XTOzdlo1y5HO5kkbPo8L98wkZ3HjQE8I+j6zF66kSe5bpkFxvpHEIAjAg+h33nJQ==","shasum":"b9587698eac8283bce03ca721d3c2210b750c400","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574637853.ebc3f5c1cb1e983846f255273fa4cd5d01c9da05.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2xEgCRA9TVsSAnZWagAA5G4P/jPsWFMyVxtuzzwrn66u\nVmggr/+Adudi5TcZjcWL+uMoBYiTdslSsig7aIDHQwfCqkhOzfZbx48pp0Iq\nLZgaDc9k7Lj1F8mYggHfR8UibavdHZeMCxAhmjMvoVIzNg/PHoVCUOkTuX5Z\nat1iQ5oyDe40xQhaY2lTokxzYzAL35SHdbQdXt50AfwzuXCRtvGVvE20c0Gr\nG1L/RSaL7q4D261PVxg1laHdWsGd4dvwj5sggy5FdwwT3n9NlPwFgGuZT4La\n5q+GJDfe6aQLI5pOd7g/cJR4IVUfkdW8wXCn8FsQJFx/32ZG2dL1lMPu9+Ne\nkMiWoOSG9nX+cw89cwpqlBqEgn9e+9wczEonbB05g/kpcc1Jzq4oSiJzZERS\nsaEMntKHpuhaLmFgGoeNZ74CbZy08grV8wJqzZKKGyURPgUcAZ33taAZ7ZFE\nkq45vo2qF3YpkiVB79lpDS5jMMBc6FFl5DVOH4skZ7OVpqeD0tTG39QbISO2\n497rTItJ7a4mxyOFB9BmYfgIf2OlknvdT+7+MahraQ9EOJZICGeytbcnSTDr\nYX5W0tVFrjtf2/ArBIN1r2AbjvqubKNxGXdvLvVzBpy4rw/ZpP91DHv19wve\nsulliRELMmReDfrkUJe6iatlxEEynV0lL6febMpN+8npK6xd9G92m6YooFD3\nzCLO\r\n=FJV6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICL5gb4i0vu96BhANGRcp3JL9Q/nxq1Nn/a2C0Z48EEiAiEA+uI+rAR4LlSN6346KNsRRiQChKqQnb+S0CdRHZvXIx0="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574637853.ebc3f5c1cb1e983846f255273fa4cd5d01c9da05_1574637855525_0.9542790110338308"},"_hasShrinkwrap":false},"2.0.0-next.1574638317.b8c84d2c8b3c151346bd40fe43c203f4383608c5":{"name":"get-cli-arg","version":"2.0.0-next.1574638317.b8c84d2c8b3c151346bd40fe43c203f4383608c5","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"b8c84d2c8b3c151346bd40fe43c203f4383608c5","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574638317.b8c84d2c8b3c151346bd40fe43c203f4383608c5","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-iFfShkSOM1GPLrQQIN3j7QdxM8xV+3gkcupfk5vLif1bG9CYan9UrWhziVm8AqRgBgd3xNTNGHBtAAGYynlHuQ==","shasum":"c2dc4f5d6124c6ca3054afa1bc7e5071691754b2","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574638317.b8c84d2c8b3c151346bd40fe43c203f4383608c5.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2xLyCRA9TVsSAnZWagAA/OoQAIj2wU35U9nwkLHCzPjT\nEst0vp89eF+aObZ4gSAfukCq4z30LSlruZnVk6BNBLciIiCCnUcmNeXdMgpc\n6h12HBDD9tyidQ/hs/zy4Td6bt6zN8MnPcZTiAZF7MYVE5cZ4HLgkvfHTqzf\ngrdDP5fH3S/q0PzmVc+SX3xliT2XackforK6LHHfXp9ZAPTLBU3QTesFI+cl\nXjiHzY4jIweDO9pufGMBxMm7W9qFhxLqUxfLTI5n1krkO2jXakEHW0uoxbaT\noSPz/Xhh5uYSEjDrx0m64ZIn9PqEn6mCPVCc8q4p4o+uTsI9t2eMHXb4U+DC\nRBi1+YRIqz6zwB7YPgOB8mkMImLHwPeHo4PLDEaJzzNN57HIVUKj4Sf8w0lv\nIWBZ58g8jNAi42uB7PthPJ8/RfgPt9WOOYwyFEMI8YewW4AQ2W4mQEdNI2if\n8GJo2kWqkx3WpmxMFHCSANEEPlfylnZZIC+EVMe7t4x4FHUJ/MZ1Mw7a/rLd\nuOBEWFhGfD1MvKic1DzefHHMpt7XR/jci1PY6H58pf8AQGdElQVdAvvbZRXj\nr5uZdXsMsxiBBhmL73oZFNIm084S2PW7CseXgOI0NWIG/xCu+YSKKlnC1bU1\nUdEbORqMHn77/fTBTUcOnjL1B5EpEK3/CgZ2sSXj2jLpMvUaoms4zAyndtTX\nITHM\r\n=wKzR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF87v7QucBe3F1GjAy8QF/cGQg8WL+0KMgF38cu0SYRnAiBFoKjXTPV7BXvP/TMCDzIzpzWH9GVonVTwVTHF0haLsA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574638317.b8c84d2c8b3c151346bd40fe43c203f4383608c5_1574638321931_0.012592565536783784"},"_hasShrinkwrap":false},"2.0.0-next.1574640396.24c67d9e8272a3a4323ca3b27be13c3172ef856d":{"name":"get-cli-arg","version":"2.0.0-next.1574640396.24c67d9e8272a3a4323ca3b27be13c3172ef856d","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"24c67d9e8272a3a4323ca3b27be13c3172ef856d","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574640396.24c67d9e8272a3a4323ca3b27be13c3172ef856d","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-pNhLAnEbiij2TQv1Lv4NQJWBXhQ8xkvbv71RAHm31QrYCJx25yVEXjrE5sIsKgbUMKmiMiyTxoEu22y+e7F/QQ==","shasum":"7c184aaa31ddf9bbe10474598c709848cddf409b","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574640396.24c67d9e8272a3a4323ca3b27be13c3172ef856d.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2xsOCRA9TVsSAnZWagAAX0MP/RupfYtsuhTH62ynU0yv\nmUYu7AvhnNU3Rob8dFAqwjF0pomQjQeCQM6xhyH35iVS1AxILXj7PkG0JqW3\nFybLfXCCOEorb+rE+cM1QYOfCfT6Mel2Bfa0P3iXQliyH7e1BZKI2cmoHEGb\nW9zkiJHlhqotyn4tl9FOEVoPb3aPSk0tXxQDL7LvFnz7PsfyZQJUT//byYcA\nuSc7chiei+wKN8Epf4YKBx0EzlQvvIk721bYJMtARs3tGFvcnkshJCPwF+L6\nBYP/w//yDOvXeCaOmCoo9SUSW8EHHjZlKWJ57tp2ZwN3fySDgh3xLNcHOJT8\nnsUpzX8ZGTkrYFsGLoxiEvLVR8/M6lFfNHDlbUVQ8PGla0JGXa62LZX53z+z\nqd05jXXlGcvBVv8Z8SrZPiowsKXO3W+0XVE1fuSZhjU7Q4hADISOruUcp3qk\nteIz+6p/4cC8DHMnh0oK5AGdaqH/64x+QaqNr8PAVLrGf2VCFFnLtRTAyqBn\nSCqf1NtNHGRVdaYkeKFGJdXFRgcTv8/R1vjxqnVEtfebv3rAKMJJ0ms0gJcX\nEkXmQyAmk5Qrwd6+QMT0Kn7R3zZ5xN+0rgt3YukAZCZuvvNpeqikjUAC6Th4\nwSdVVmK4huPNB06NTHgTv3azmsiuA7GaaTrINBUsg81+gqRA1MPvRNeJTA/w\nYMco\r\n=LDzZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHb7XikK7FeLtrUMF1/9gZTCBxj9cAEB0aizRzNIM41AiBlML08RYdNd9O1xJXKUUrwHWCcfq+/twA4yc3or+1IXQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574640396.24c67d9e8272a3a4323ca3b27be13c3172ef856d_1574640397769_0.9391609009726156"},"_hasShrinkwrap":false},"2.0.0-next.1574644947.defef2385448ca58d4a00d319fcdef309a82375f":{"name":"get-cli-arg","version":"2.0.0-next.1574644947.defef2385448ca58d4a00d319fcdef309a82375f","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"defef2385448ca58d4a00d319fcdef309a82375f","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574644947.defef2385448ca58d4a00d319fcdef309a82375f","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-GlcsZ8sZ/dRZB/ttZkgpCa5ppu4bBIQYOS7XOFkRDyNWf8AyA4Zf6X18uOYacw2jIgEmpfiqcBbM4IcR7kYksQ==","shasum":"71f972a44cf6ceb8a59f6c6da834ba32ebc5bb69","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574644947.defef2385448ca58d4a00d319fcdef309a82375f.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2yzVCRA9TVsSAnZWagAAAHEQAKBTEid77VaWaRGvlM3B\n3+zV8riZbmwziKyIkROhnWBhdWTsQTJw0in4r23E920jYfIGyAafD6TbhzAr\ncwR1HD2sDv9b0BEmgo0a3q0Cum5F1+nkshCei0XXNXx3YBpw9WptX/TFGzOx\njikS7Gb3FICWqwfpv2itW9Rh1FhQ0ZBhBzNErOfMw95AmyfIVDTxqJkwZgxn\nhFGg+XalQiAtYDKFua1cwlkRTFuv1Gse0WOGcR8nnoPQxE3G6xzreewlX6kA\nEdlrWeTehcp+qJEcUkDIYvIi25mllSP8uIt0BM7a4g9Rmasel5eXpu4HCeFB\nFoyk6PKTUZQnMdXJE2KCbW27Y+Xg1X0D/iTh+Fh8ilMd8w2MyI/afLoBc+NI\nbqyd8TBpeU0ZUdqo3iTGq1Y8HTkRbmpsEa6sWU5hee2U77+CXanhFDnM9Qhc\noAWa8a5Ir9Hgks5TkA36hQYF/Ply+ckcQ0l5H+4FPjsV5tax+G3MhQYVzDpM\nZJkIVDKE9/hxI2oLtU+P03xXLF3JzzEiJSh6VgS87crexdHf4ExHLpSajdFW\nN/b2L6GYEdodZscuZDvnrjFSsW0nSSQOmNLyBepxBL6BC2pnDLXLx+bD1ywV\nmZOrKjjxwPtbc9AScv1KZXbTAolNQSK5NvP7gFoeTCahoCNCvoArF7+BVNJ5\nDLxl\r\n=PrTI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyuvo75s/+33thpeq/jif72mQrhCCIzw6VeGiSs5WPXAiEAm3OBuDTDIbSjBXmPWkDDUZSP34e0hrABuxxd+BP1Amo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574644947.defef2385448ca58d4a00d319fcdef309a82375f_1574644949490_0.8429286123151796"},"_hasShrinkwrap":false},"2.0.0-next.1574645489.8aba9fe283475b06b24ba5ac84ac041a8dad0b43":{"name":"get-cli-arg","version":"2.0.0-next.1574645489.8aba9fe283475b06b24ba5ac84ac041a8dad0b43","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"8aba9fe283475b06b24ba5ac84ac041a8dad0b43","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574645489.8aba9fe283475b06b24ba5ac84ac041a8dad0b43","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-eOtwUJHKbB/DcJmpWop9Pp/gipi12CN5t2a9gaWFPBxgD69f1ZPWXt6YhaHdW4EokMkQxMk0bHvZiapcECRGKA==","shasum":"6333f2aa876df0b0baa79dcae90161a9d104ff1c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574645489.8aba9fe283475b06b24ba5ac84ac041a8dad0b43.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2y7zCRA9TVsSAnZWagAAibsP/RA/vViWtswntIpioSFv\nSxT1zJrhEA4ANam/FQNorTu9Adww9bfOeJxzxF/BN1qjhsUt4LWoISykrbGv\nQJ8eZWUBtk5UaedmJcFnI1tBegiJZhBdpJGWJ8OVbP3Fq1SNwmCZXkL95hAA\nBimR2iVfkvxYpH5zL1E5WMyYAu8dfXvYLbY1cCFNi4EmIThIb4+i54DOWp/s\nunRmY6ss/d4Qbw66qNE1MMT17iOtCW5rbBRiBFdHQBKV9/v+zses80Gifp3P\ndWlH2FwoP1gk163r8kz86PEPfbv3mVAoOM8XX3n7BOM5a6zOfZpiaUxcGMW4\nU72c1BtzhXlYs2YpT4LcrgYBFrmU3ABczjk6SAzgzd1Ttjd/GzlZLBvOiYuA\nXrAzJ9z1DOfXbwNc1XyzgNZrLPvK/n2rdHZeb0DStqdWJS9uSloCvQ+x5p2J\nFXhQsl/6xW3wnhqccojDDgfPH5AsOcZmG/k8JqoNo14n8oLg8hQOaAnQmDco\nfoMEGpM4BxBQiahX02rU1mpuUsU8hKn0fLz7VTyNYnep+C7sHnVliEHEwBa+\nsN+JNeLTbo9VITymyM4Fg1vUv54tuDNjC49Ydn86hWMQ0ktrJ8y3YyOvYfHU\n1jlSURURBAwWaGZDREug1YJvbw2LskVS0wZ9mTrcZNRqmUOIbWk9NF4kBo1m\njURp\r\n=3bg0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAoQnyfLfhOIc89t6jbnC7e/wus6uNzFePpm7NjnxOCzAiAf2CH97f6+Uh7LyCBDP6HejIHWOUFKjsloy5h+L27SMA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574645489.8aba9fe283475b06b24ba5ac84ac041a8dad0b43_1574645490923_0.33682848355111994"},"_hasShrinkwrap":false},"2.0.0-next.1574645750.e9fe9d2621b2c7dd74c18f4ae8215ffad3b8e9b2":{"name":"get-cli-arg","version":"2.0.0-next.1574645750.e9fe9d2621b2c7dd74c18f4ae8215ffad3b8e9b2","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"e9fe9d2621b2c7dd74c18f4ae8215ffad3b8e9b2","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574645750.e9fe9d2621b2c7dd74c18f4ae8215ffad3b8e9b2","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-2s6t1hJ7ECOrOryW+yDvLtQsCuILb9bWj+ZpmM4INGXHWFZrsrsyNXcdShPFjFc/tnnNcalSvl/snhFT40JKwA==","shasum":"78c13f9d96a4678f75b187eb0abe1395911da06c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574645750.e9fe9d2621b2c7dd74c18f4ae8215ffad3b8e9b2.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2y/4CRA9TVsSAnZWagAAhQMP/1WqivqJAWePXiI633tL\n0qrpfsTfaeFYhSRJE68b3GBm94ohzrXZAQ0E50/VNUqvRlhnDPFKAn8MJ01k\nVZKbriGtpxmKc7kp07VIlTmbWwAoInLiia3Jaek2s7orhBdmLn6xR3qtwuvG\nIoexnAkMBWMK5/kFecNLT8Y2db7Cf63tPszSzUbmtKnRo0NNCJHbNL6bjnr5\n4xHes8e6rWZpBBYR8U07U0DojyVYpj520aHKUccioHDlPjyITUOecUDGaVXX\nJWp2AAEd3YJOI8zfOTF7xUOwZFalZUf1ycTH2oFbBk4aHBlIERVwBXf5GFzE\n7OZCxLM4mMR9q2POGwYtxbiTa4wHVkDBjCKf4wW/a/Xiuk3xFAI+FWw8u2gf\nC+2IpwLmxRBAOeFbwd/Bu0Y7qfwPo2oUPCWwFc+Ww1oZ33GwMf2fOl88H46W\nRcA/JlRi08xCakDEG7I29TdscMe+xb6C8qzNsR5AlsvItSEwHShEumsLjaqZ\nLWodiTHEyNnbuZVQlylwhkAgxjME/Ci3G5NChKHRtp3pIqsjKJEdAQhHb6dh\nxOKlAYhIEjvZDcPX0c6PiGZz90tN3NS5wLbuc5xz1qpmYaQeZrN8CtmXkU9F\nGUQyZ23SDeL+5aoaP1fhybbwO/LcCjIo4pMP4Gc43F+trOflxuDM+sWqPxGO\ndj0q\r\n=q14C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1/XBw88E3dE7v1RbZSQQlpa960g4l3DcwZpYJ1tgFvwIgUAAQsIAlAko1Z3JCSmug7FOJVe7JRFrJsbPs0kVgMog="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574645750.e9fe9d2621b2c7dd74c18f4ae8215ffad3b8e9b2_1574645752197_0.9509260720055637"},"_hasShrinkwrap":false},"2.0.0-next.1574646229.351e3cd71a4c9acebcd847c9a2060822a7ac375e":{"name":"get-cli-arg","version":"2.0.0-next.1574646229.351e3cd71a4c9acebcd847c9a2060822a7ac375e","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"351e3cd71a4c9acebcd847c9a2060822a7ac375e","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574646229.351e3cd71a4c9acebcd847c9a2060822a7ac375e","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-2eI/hI/+QVtHbh+j4nZWF5H5PsfyZkOxj5ZKomHf2E8Xl4NruOrO30lnZCQqylKhCnd41pA3p4zW2g/e54y4bw==","shasum":"c80cd6795e4b36557e0332bcf762a0332df56b04","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574646229.351e3cd71a4c9acebcd847c9a2060822a7ac375e.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2zHXCRA9TVsSAnZWagAAdKYQAIiR1jaA72TCW3KDdIYi\ngI8Pl0WGLaL0Eu9X1ZLHpR3qfNwx4s/RL57mKI5EhkqdR4xPuPGF3rdKurfo\nQQkh8aSpwb2Fi8khdr45m+FjzDsYIeBYV1MtB+whY3xKNspKw+i0t76lUWgw\nCGh83kwS2/WKiXX6NPtGaNfYCxyU41/8s4rFPMyf8+hCm1zm0nDJjCAxrJNL\nP3EufWG/HnBZGDpC7131uaJPe6A1T7IYTgDBHOjM7KUVhINa1xm0t4tCYyEW\nMPJGHY2HA4if6BvIvYM2vg7vKn2I896sjx/XTGJ605ZDVeMiTqVBo1VAIxhO\nXmx21NQ19vZ49otBdVXreDDW5KE1xVVvPc1dLzkT1VeDR0EEtmmjseY1gv8I\nBp2YBr5hciB95W7i+ID6KaKgOEqQKIRREPU6L8wzEqiq8y93WsNTc26NbDKD\nEtUmWurU0BbqSXJ15wHQXmN8geTt0nKFhyfE3iqiwVPI5vQMV+jrf4kWvaLL\nE+muIQd44Ja1dN1DRZwd9Zk0n2SlEc52f6IxQPQxnoGHghrKXmX7/sibYPZg\nv5jv7zHbxcepcesklYsxEp7CclfROqvhuNf1ZMzeGupuBEFNBvUuasJSMKSG\nmG0cjRj9tmfdjs+F6mUjSLlW4gPoB+AxcetJK5T4WJWn6hE80OJg3Z2ffzVh\nHyIj\r\n=Fo16\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3wpxqirCUpV+NKeBmDxnkuH89jnEM2FKge+tqazzznwIhALjDocRGjpbwATtrI34a7guj94CbvvdGkfnhThfKSsZz"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574646229.351e3cd71a4c9acebcd847c9a2060822a7ac375e_1574646231006_0.5707543649186015"},"_hasShrinkwrap":false},"2.0.0-next.1574646741.588733b63d2200708454abe090c01606fa972403":{"name":"get-cli-arg","version":"2.0.0-next.1574646741.588733b63d2200708454abe090c01606fa972403","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"588733b63d2200708454abe090c01606fa972403","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574646741.588733b63d2200708454abe090c01606fa972403","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-xRIFsd7ubDKoO4vDBEuk8Eh6kV/Eqfz1UA4tiR/NscLPcpxNoNQkVW0DSNou2bOpOKDdHfoAu51Ff+WtPCPrfg==","shasum":"37740a868ab68c2b88cfcdeb8c05e6be760f76a9","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574646741.588733b63d2200708454abe090c01606fa972403.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2zPhCRA9TVsSAnZWagAA2d0P/A8Ylt3OOTxGMUcRQn3g\n97PpJfzvh38+KV2kuCraowErFP2QDbm7tMUheQbRKVBCreQGfWbj8Tb6p5+x\ntpDXsugMj0PdAQDQEISHT77ZLgMcI4SC1wmShmamHOPx6ap8QZe/p8D14nI9\n8w8E/vIsLD8Anz8oxsFKEMYZaxpt2GavivBtWlRTlhJGRUskJyPPJb8OFizA\nnZPCertO7NZAkhKcfTPPPgxs/5Ptt8vIXG8RkA1rQf675dHz+MFN5AYO+fFH\n0JgK63nI7CHHyY5WPy7rleNoK5XoaI3KqTllmbT1LY8bMGc0+UIpl0sddG/O\nbevyHHIroqfIwyUksHEfuDlyHrizWGWHCLB9pwBN4QjiNh4Gc/SHzZo8o03e\nELT7PwIDqYEjLcPc66Rv8f4IwLWjt2vp/7HLsLRzBCk+EHnY8crIlqAJc0Uw\n8qsUqhmkiBfOzyDTTHR0I+ORRm74Y1J/vxIOzwnyxd/H/sE4uR8ZQAltn5qc\nWZ5wBdAcv4V5AGgzZKbJu38bZlv3UpsTh8wNASoAV7sFtDi/gCXGgfPQT5f8\nhPEng4eNmQc7N04h3zMK5IgtfNGZ6MW9bkCp6IwyXlKtAombkjrPGJtZGH/0\nfPmTqYkl+JRiJYxpH4sKzAhE4qfkfnE9jJi//ZnAy3tTD0A52afvEDzbqvX+\nmkQ0\r\n=3x+4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHul3AfHSN06VMBnqQ8oG994QLW2CJFNjbVJyE1EBUHEAiEA+oJTH+5wyWlB2KphcuRaUoOsO+NTv9ITkjm7z26g9k8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574646741.588733b63d2200708454abe090c01606fa972403_1574646753222_0.9846502959482817"},"_hasShrinkwrap":false},"2.0.0-next.1574646798.5018a5c2559bbbd6279c8340de5243c25e71774b":{"name":"get-cli-arg","version":"2.0.0-next.1574646798.5018a5c2559bbbd6279c8340de5243c25e71774b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"5018a5c2559bbbd6279c8340de5243c25e71774b","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574646798.5018a5c2559bbbd6279c8340de5243c25e71774b","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-e5WZUsTCsFotX2/xC9/cwV5cOPaqDzi77PlOG/1MHsGtL/gyqgEdZLhjc6qJ+Wqy2QQE/TzcOk2FKd4sGtMZnQ==","shasum":"4c045c010c3abc440172cf21d4b538e380b594b4","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574646798.5018a5c2559bbbd6279c8340de5243c25e71774b.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2zQQCRA9TVsSAnZWagAAO+AP/igBjNhZQByszjN/nbAd\n7AZUWLJwSm8YaHdJamEQlrgVVwd6sWqdv4ZjaWnINjgvJ8TtwqiMFNcGzf7h\nZsKisPh93hS6jsyMV/FWo/1jdZNpnFZ2FVAnVxFs2Yb30+uxlUCneRLDjeoL\nYFyS4tGKir5xZZ8f3Qw5CCysN3dfUdr1JITpfAhcQP2LTevN08qt8mtE77VS\nWmybp30tvsLYDQCQluBqM/fZjHj1IR+PszEkSCGxjxdc3C/xpEmx751ZliQt\n9nOX26eetqz5bVO5YyX8HaHOPJMmjm2jf8my1cHKix6yKpeV72W6t7WYqNWG\nEcpWHXKBOfRcjEGWBQh7QctWP8s8KQZvTyH8u604vxMysP+ozKxec8oh+q5C\nUbbMakMhgQDSYW2XRomOS7QUpsD2z1Pl8vDdNmX7hEu2xL+DSdgcnaHdo5fH\npT0WKQrZzVDkwWFZrOW1bt1eYgLOS630yC47VzMhzUuI4eSZUrAtI6rq5N5v\n3M021+9tCTA5Tuo2yKowQKuFutOT5nWo1eDXqLVxqdQ+zQ/0rAWE4z/w4rJQ\nrieIeHIJTqF382/lAbwsipQIggJiAaaulBHTuPcu1tJjCH06mPLAuI4cCr3e\nruxurA8QrfS0vj8H4TTvUiWxjEp+yXl0ke2ApphQve+XLrr5pUXRmssxKQ63\nggze\r\n=8a+X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgSt07qR8e/zLByiwQYHJ6zrzSClSD2sFM4481oNxJjAiEA+eNAkCHdwhl3HN3f/qRV26SEhAQF+NdtszyWdBNXHPs="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574646798.5018a5c2559bbbd6279c8340de5243c25e71774b_1574646800366_0.6499921436445177"},"_hasShrinkwrap":false},"2.0.0-next.1574647391.7e09d372cdf554acf80ea8fea54f1c8413082848":{"name":"get-cli-arg","version":"2.0.0-next.1574647391.7e09d372cdf554acf80ea8fea54f1c8413082848","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"7e09d372cdf554acf80ea8fea54f1c8413082848","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574647391.7e09d372cdf554acf80ea8fea54f1c8413082848","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-01IdrLNm5/PJdTFV7Sggd4lHrMYG1vyW/Wc+yLt7dbUizuQeDjBxefX8L91twPnTiG8leSwL7WEGf36LG4njFA==","shasum":"b12ebde629cd86f20eec4cd36f597ceb9faeaba7","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574647391.7e09d372cdf554acf80ea8fea54f1c8413082848.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2zZuCRA9TVsSAnZWagAAxL4P/1LSEv0zyoJijT8Py5u3\n/qEG7lg8UwNs279udENEl7IcUIiBMY5JgP9gFBnQnI2spctKpFMaUQOh1mGf\np8j1W3UDUtxAkNaAqd/JDO7yWtQCpZx32YnNJsEQO4RpzAjGHdoY7JFZvkYA\nRYpnYqFCU/Whd1CG0zooliUlqMHYM4sIhlw74y9h0tIoXO5cNVKMJFssFmvH\n7l/QIZw5hkUuVi1hTvh5Jog/RqwNPbUkuRS+YijGVDL28nefmtwMsncCftiH\nwJzRNa47Tg5sOWifQCLyVYSH/UvuQQOmLA4fWZbR2BR3GFgLNkhquZ1DnOfk\nS+ySaYpymx/PxSp+CCAAy88s/lumvKbDG8GiB/y93u9JAOsNp3Mm+lnWnoBh\nZ3IF0YCjOlCyQQdENgX03xGCAhNrJnHbHxaG+DQPYIr4xmSuhvLn2fTCLLor\nXeF43zH6MGwAVz10DQPx7+IBDcTaP7TUkPeowPsGko1gaUXxKi++Dmz2NLDc\nScyaKWNH8thtUGHdalJFybJKbjqTtJ10T/ge4TJYrOyfKI4fdyQPm9Tg4XUR\nrAO7V8d6pkUbjcAhtMOFWNlynPyn6T9jtAzXRNKuWosWhD1q69GimhCut269\nYUVb21ftjPPQu5be3a+CgTMzr3XfBHPhVAh0cPpZjynIHGAr1C39PFw1A5pW\nqaSV\r\n=v6ku\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwQQYdQwez+OlQF8pac50YJj6+L8donj6NVa1eItj8zgIhAKckYulhDKrDSVoc9cCBOXpcZhREPNabisL6KO+X8ciE"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574647391.7e09d372cdf554acf80ea8fea54f1c8413082848_1574647405701_0.2611918577588974"},"_hasShrinkwrap":false},"2.0.0-next.1574647508.483c1eb2dd6d27338d6820d3df129b60675ecbfa":{"name":"get-cli-arg","version":"2.0.0-next.1574647508.483c1eb2dd6d27338d6820d3df129b60675ecbfa","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"483c1eb2dd6d27338d6820d3df129b60675ecbfa","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574647508.483c1eb2dd6d27338d6820d3df129b60675ecbfa","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-Zoj6PeniK8yIhRmxlXCLXP+DufwghaGocydlW/GP8ISuhFFwDkO+Qnbg/YKahCgaGFcnX0K0V55pzgzDgJlfNQ==","shasum":"d0bea0eeec081c2f2d1f8169d9dada912b071e40","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574647508.483c1eb2dd6d27338d6820d3df129b60675ecbfa.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2zbXCRA9TVsSAnZWagAAP5cP/ArfYu+W3dUh1VVj+yCg\nnHPwM4EUPzAgxzlQ5CI2sTrD9gp3HFVLjoml6ihbmkxzxqyKbriej4AFvSTb\nmJj7rlt9v76OO9FsvQcnD+kxWKyeYt0P7aQ2lkA135cSuYmCZifr9WDGQO3C\nlptv7qFCuvriq2FsPuIpQtg4G9Md9tgQI4aPhcTSgGRoiXKQfY8Gqhl25Ylt\n88TxIHmoJHClNHQ2HMDUx3iPDF56926V7CFn1CuhrMV3uwkM/TprkFq1MfYY\nAW8vUUdID+ozm1L2pjhgjfq7WF7lncCOIaGZmYRryalzg6xf8xJUI1nhdOJ7\nBKy1WiXpg4O1d9MgNvzIxOM3PWB8Lvu6rnenxDdg17PxQQjOSdeSXvLi4v5c\nneQRQ//1beqILjidVP7g0fHqeMByIfk7f5SR6+nUdo1AyaBYlQy2Re7YpUoW\nCxy63W1RsyoJ/IXCctMsdqpqYa1uxg8Tby+NHIEz8y3W1Ka0MnsXmVHBX0zL\nyLVfd0kp9LiDZ7HKSss/B6YIHAEgZB/8VyuUtdBcek6NhOI5toWMg/jKPp7P\nduL6eJprgXO1AlLhDMYVb/K807jKgZReN19RlD41TdwWTxR2KWI4pJO18muF\nvFMHCbu1lQFnEzs7lCB5+pFeu22AgO0TlQXms30Kl5pJmTAG9e5BiqyZJ+sO\nTYqC\r\n=x+Ib\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4BeNmqhlTmry6Plcqst5v8JDsxefzhUeCRTkxuja+pwIgIZ4kJakEq1dfWl6xSSae2p+mQ7WQLByivJZlwuSlg7o="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574647508.483c1eb2dd6d27338d6820d3df129b60675ecbfa_1574647510570_0.3622332664064061"},"_hasShrinkwrap":false},"2.0.0-next.1574648791.ec93eb70be479281ffca01514b63868315d824ee":{"name":"get-cli-arg","version":"2.0.0-next.1574648791.ec93eb70be479281ffca01514b63868315d824ee","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.0.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"ec93eb70be479281ffca01514b63868315d824ee","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574648791.ec93eb70be479281ffca01514b63868315d824ee","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-cWkEIBRAKNfr5h/Iqr75iUxUO5nFSfx43fT/ktoe4RnvylBWOirdZQLXYRCQGlLd3h+wjkVu8s7IoL2X3PWoIQ==","shasum":"e9ec8ec9b2f7bd2b6ac70e8fc2e830dddc92a471","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574648791.ec93eb70be479281ffca01514b63868315d824ee.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2zvZCRA9TVsSAnZWagAA5cIP/0NFtOX6GiMnVWgBNKVZ\npuo28Gat5YuNBE6JnOkpnR8iJYTHFkhslgsbqAfjavGz0ORJNitXvJ7aiPtM\nPrqT6N1gk2NOzyi7mz+0T2EP4OGkxvdcye64h3BZyESAfFQQg7KXPLHUVy3K\nyaAzEAGLXBr1tvtg/uMuhecftVAEYqviYyhoItpRilaPbdLYuMhdDrarYIZj\n0PcyFifPjFifo8HUpt3uUswUAc4qLg26PIuTodZ7inTUyrANsuL3Hiz5+6LU\n6C+VkGfoqZ6VsprGCe+NXQ5KK7dHUbyDCXvOxNiabrNULvsI0ptd03coj8JJ\ny8TixeFHk9IjYx2zjxPFJha0yZvlJQmuWOT1AMotbVqPKsBPxbddnt7TAZaw\nXZ2mFeth51CIpzsmx5nQHitad7tHhks9M+N9IoRWiZ/ZUe10yh+zK5TUNB9f\n8QmtKDM/6X0lR8gP/Ieyl+Yhhf5S4fJC+4Kd7JsoJ/SMNdIQ8RQKES8bIgsj\nGXXwYopVsqwdkxUMBzoApJXGzO13FOtNHSpYfBZWy39H/MoAieWj8RVStP0M\nrYb6J0yhkgUGai8DSh9zPc6/G+fraqjg1/V/nx+Vzwf3glF92Wd5QuF1Xfhk\n0AUZFHVVJCnAWxnq62zXgqfZ3IE/VJSOOm0B2fTbn3VBZ+3GqvL6Lu1nfPIr\nvLSa\r\n=qMS1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcyhLK8rTBa8uofjxhFL5+6hwJrrUqzyRua9z0/TcOuAiBnKJ8LFbpa7r2eODBY9PNRm2j/42Fa8hSbXsSwMKWM2A=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574648791.ec93eb70be479281ffca01514b63868315d824ee_1574648792737_0.9974681044500837"},"_hasShrinkwrap":false},"2.0.0-next.1574648877.e9c244df162c1f8844ce7a2fbeba811b5dabd22d":{"name":"get-cli-arg","version":"2.0.0-next.1574648877.e9c244df162c1f8844ce7a2fbeba811b5dabd22d","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.1.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"e9c244df162c1f8844ce7a2fbeba811b5dabd22d","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574648877.e9c244df162c1f8844ce7a2fbeba811b5dabd22d","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-98prtOgN3U3RohucTZR34Y//9GmqcW/uAydmYj4qRQxABEKbxtGJcXhRrbaQhXt+yR5nEACfYKppZW79xzS6OA==","shasum":"1a80dd0ec494a1afa04e886bef4c3aad50a551e4","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574648877.e9c244df162c1f8844ce7a2fbeba811b5dabd22d.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2zwwCRA9TVsSAnZWagAAClgP/0Yl4H4bwnId2iOYQYPD\nPh8r73oyTHQ5JUws/CcEXHbHxNLRG5HWyzY2fiHO3MKBdJO/vSHau/q1lGDZ\nfuqXhYbCcWMbJnbG0yen/tjuLFYdU+EHLg4K8Er4dWAl0w05jNIgDihrai0k\nWfu+nB37AClnU4TohdTEQqu+RJGRhuKLyad+5n8wjuvUuv/zTnsUS79/cocQ\nigMy3nT6DYX6SsJfculEZfLgRKg2vbpjmWLNaCw+QwzL/yoElKNAHPjXGwoZ\nA380q5GlAtqKabGPac0I7L35z4fjgOX2O44UIYATzxiVKvVGn2Mcy2ImN/A5\n7s2XyV6XgkwZ83A3PpYtYi34kPymSpKd23P70T4KOksEZTVesgjQnSXUehi9\nfKsZlxbsw+jKKdRKKUMNXwHgoCQ9ENICHowMrlgDm3pJrjiLO2vZegKg/LmV\n+1cX5dy28aHNSNIValXbOwPOl2E7oa66jvGlT8rAsdHleLLU9RfYuf8JBgTt\ntEP0mqmYsJ1Ry1smIg8w2qHBr/2lFcbOqi8ZhGYyqWIXLmz5Ht8JTFaTfkPD\nBCMKr59g28bR50nB/DnN7uhAXgGka8ExWsf3Yh6BdFHGn3rdEVi+YHQWIVm0\ndkuoLsZZiod43VkJfkeb3kWt0Q4oVtUiZPcGJaMekkTicymk0xxlgTfp92GY\n5Kkf\r\n=ROAO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuHb/76VVUcX00RTfyAj+U9aJIXvtLb4b1Oc0wO5u1wAiAs/TPuK9EPBjdtcRfu0kkSqTTvkSEZ5+pzsYkXh80xww=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574648877.e9c244df162c1f8844ce7a2fbeba811b5dabd22d_1574648879790_0.24021465354093552"},"_hasShrinkwrap":false},"2.0.0-next.1574649681.25ef5373ab5a01d648e656e3f12bdd3b9fad7bfe":{"name":"get-cli-arg","version":"2.0.0-next.1574649681.25ef5373ab5a01d648e656e3f12bdd3b9fad7bfe","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.1.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"25ef5373ab5a01d648e656e3f12bdd3b9fad7bfe","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574649681.25ef5373ab5a01d648e656e3f12bdd3b9fad7bfe","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-hB4nMTQasrkNZlKigL7NcMdzQAS6zWA3oLrvLYiP4o00iT8fknSuNKPC53zloGnAtxLKQpYXpK93rFJyuLFyDw==","shasum":"368c1da6c64b9da6f8ba7cf090bcaa979980b7a6","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574649681.25ef5373ab5a01d648e656e3f12bdd3b9fad7bfe.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2z9VCRA9TVsSAnZWagAAOsUP/jN2JZzxltbyZPr0Imq1\noxIfOjeLADZyp9hUG5ZleFIz4eR9mXdyVRlEtirghC8iauDjP1i5ikfZ0why\njhMJE5WWI05qHWNZOzaC8acyp6Dp8oYAQOMO2F9Foei5d0ElIgnXRzchyQXK\n+pPcc98uwUB+egQPncdOZvk2mEGjcXhY5qrdZxMyKN4GNWgGCRTMfwdE03m7\nQHm5CADKn80oHGBBih9JljzRx+A+FISxVh9Mi77K1vFGbPGh06lc3TWh/EYa\nWOWdjAUTNPkNrR9cKQfxj0oZasXG6RXp0LwW0N1beva2yp2m8r/J6ljBoE9P\n7NVex1RULo+zUh21yB87XlHSVmxfL/eSbU+T9V8XyFtsp6TMR5GZpU6Mgkto\nS1iQCA7FFEo478AVP6Ud3hRuh+F5If9G7+xznpNYg41ORRkvydJYy/VT1gIU\nLN8ePzsPLLwtsn563yFwBbu868921DQ9YmMapafO3D6gt1F0pHur/bzUtAtW\nJkNiFnJezC5XygC5o+1PWbED6pEtJOxlwtfmKsg08bGHV4BJ9iG4DxR8LyuI\nzXrh2R1T8km2GJnIGWtsJJoVzsN6P0rBjoT/y+x8vbfmwtrjtM/NlhnxOKeQ\nd6fpWAHbOxJJlMtOc51G2ojKUHPO4M79QgbpchRZIz5J+8vVF4Gvbqa/WhFR\n/Ge+\r\n=uyfY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1NLXaGEAGIcK/iQt9ZmXV06lUscpK/cE3HESm74W+RAIgKdW6fslt/BJwKFAEq7Wxn53ppHCuWvofJZAojnA90lQ="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574649681.25ef5373ab5a01d648e656e3f12bdd3b9fad7bfe_1574649683399_0.5890397271563435"},"_hasShrinkwrap":false},"2.0.0-next.1574658287.58029cb1bf04e7e81811a6fc8185ce5b9a17918c":{"name":"get-cli-arg","version":"2.0.0-next.1574658287.58029cb1bf04e7e81811a6fc8185ce5b9a17918c","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.1.0"},"devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-proposal-optional-chaining":"^7.6.0","@babel/preset-env":"^7.7.1","@babel/preset-typescript":"^7.7.2","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","assert-helpers":"5.4.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.6.0","eslint-plugin-prettier":"^3.1.1","kava":"4.1.0","prettier":"^1.19.1","projectz":"^1.10.0","surge":"^0.21.3","typedoc":"^0.15.2","typescript":"^3.7.2","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"58029cb1bf04e7e81811a6fc8185ce5b9a17918c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.0.0-next.1574658287.58029cb1bf04e7e81811a6fc8185ce5b9a17918c","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-t3VIdefPzE2lPLy417GkiNlh1V2NxUkdJtS7uDOHmn7SFZvL8jRYR+Ba64w8JH2QCMc32hAma5TtCCMpL3PKNw==","shasum":"fae6a28ad0bd2f216c4ab84bb417d77e5ba8f72d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.0.0-next.1574658287.58029cb1bf04e7e81811a6fc8185ce5b9a17918c.tgz","fileCount":10,"unpackedSize":19049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd22EMCRA9TVsSAnZWagAAydIP/0a7rC769OR9TfDuxgI5\nxv3x6QjIU0jDNJu/vI+77FhjMerC9MrGiFOHFIwVzED40YvabvKo3xl7fIgW\nIJ6mWlRZPUpnHNPPAAm9gIDIOJygUSs3Lddm/V38rhd6Zd+ZK/Cu0Fe/0Ciz\nXOLDsyV4sJiT1IIdPcp3tzk0lZp4eDuEZDRqT1x16eOTitp+ZzFHgGDAbhez\nJpBk5qwtwS5/uNfU5pP6hHBi00gKgnc+ttoQZi3+RWhMbPg0iPXGJ4xiWW91\n/Rz/482K3+cbZLVOiMmjfWTamZEhlIl7Y9XaF+bhGsckVZnA4QPRG9epZn0v\nsmLdDW0goP0IBUuQtEAjA4v/2dcNny4J0spsefjWXBRkDurTzHMsFELzAqS1\n1GZLTKvwM5HRa/K4/X2Vb+847AfKPTjFeFCX1SCjr4eejt892v86EKaCpYxH\n8VEpBptp74ZQS7jlZbqH1WFW+bzPLU1Zi4+pipU+Op6P4OWCpOL2BQJZaRNx\nbkhodVush2Rq0Lj88rBe9Yl8Z1wyy6LAVN1M9GhHvxfdSpHx1SYWUF2v8War\n7uLQuM7khXUggPnyFDzJDW5Zw+dTaN1LN2F1/P4BJTsTJrmJvdbWiZhsqz5X\nYms8waZQyaiWPFdKK75uBYfTRp5mHSbl7f5rZ53IokpV/Vfu+YH5Jbk0G0nv\nsw+Y\r\n=jm3k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEWS5apz2/c6NkQHwzpKUee9wQHcNPhyi3LkCF0ik3ZkAiEAk2WttUMHJ+OzhAoCoJthj3gH8d216eWVCrUTl0DVzUw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.0.0-next.1574658287.58029cb1bf04e7e81811a6fc8185ce5b9a17918c_1574658315698_0.5411044611993439"},"_hasShrinkwrap":false},"2.1.0-next.1575148805.c9426f6599da357aed19af5ec0938278d22316ab":{"name":"get-cli-arg","version":"2.1.0-next.1575148805.c9426f6599da357aed19af5ec0938278d22316ab","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.2.0"},"devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.4","@babel/preset-env":"^7.7.4","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.9.0","@typescript-eslint/parser":"^2.9.0","assert-helpers":"^5.6.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.1.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.1.0","prettier":"^1.19.1","projectz":"^1.12.0","surge":"^0.21.3","typedoc":"^0.15.3","typescript":"^3.7.2","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"c9426f6599da357aed19af5ec0938278d22316ab","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.1.0-next.1575148805.c9426f6599da357aed19af5ec0938278d22316ab","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-UH+w0OrYdgNbwTTwLwt6mvuxgJN+eA09Ng0WAySDy2JUl9uUSdNsLlNSVOB8QPpZEXLRj80uD+suTYk+eoWjCw==","shasum":"1f70bb5ad3839c8841f5584db3eb23513e1f7461","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.1.0-next.1575148805.c9426f6599da357aed19af5ec0938278d22316ab.tgz","fileCount":10,"unpackedSize":19253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4t0HCRA9TVsSAnZWagAAqrgQAIwEPh9KEbKXRNfO+JzL\nj4D9LbHNHLLcYg2N7K6MKIhSA/C+gU2mYbARnwsaxy7U2sdaCjK13rRmO9hH\nnOmeWBYFo+W11k2npk9E7PeXb9MnS7xDHEQQ7LMTmvVAeH6chzc7fQNIfwj0\npcpEL8JfmvcXsvHhDWpIxEzBSPQWU26A6taHgCLJjz9ggGtxoaijwzF69X/I\n9pqCC+w95/Hyn1oPCiFk+TdVRvZe+BPSbZioxDvsSkUwY7jOOQDeTXd3DSuy\niFjUl7DACQOuk2BhvFzaKH0PV4zQ5pF2D0bOmhy3uXTz/IKlkzxohNXKN4Gf\nPzM6vyTVxgrz2LBD1QTxU1KIweod2BjZO/NOFtiLRn7cSKD91osxhNma6bwI\n366hGXEG7d+66EaErc+17byseBR+2gM/1cGtp2ssqhNPxXF+bf0hQm6KEqHT\nzddBt3U/GMRfI/6oidGsKcaYmO+nQyYBBAIc497ScDfSo3BkczyolycKvvdd\nzxz9y9S5MupN3ho/HsXg/1+7gdgqguf4GTeQdzgrIpQuxIXZIW+Ms1+XwDPp\nrxOzpQiRDLa2kidRh1WLpEmmqkbuYpeyZ6016D4bshl3T5Q78BOQ2saxe2ZS\nNo0CoQFMe9qJiRc9cC20qUfBYOlp/yJZKuU5dtOPC59lSAxJvCNZo1v/VS8x\n061Z\r\n=fsk8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAkt+W1L7lVXOYpGZOmli+iao93Ss+tUS9x4eXqTF2jGAiAcoQ7VxixeN5+C2E6B1yYDQ+juCuzu8E+vwF3i4E2yfA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.1.0-next.1575148805.c9426f6599da357aed19af5ec0938278d22316ab_1575148807358_0.5183998871228697"},"_hasShrinkwrap":false},"2.1.0":{"name":"get-cli-arg","version":"2.1.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.2.0"},"devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.4","@babel/preset-env":"^7.7.4","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.9.0","@typescript-eslint/parser":"^2.9.0","assert-helpers":"^5.6.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.1.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.1.0","prettier":"^1.19.1","projectz":"^1.12.0","surge":"^0.21.3","typedoc":"^0.15.3","typescript":"^3.7.2","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"c9426f6599da357aed19af5ec0938278d22316ab","_id":"get-cli-arg@2.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-1Cm3o3guSzdV5zkpSs/THJEFsu6T3IrbZo1NXs9UEXNeLBGQ3dilXo2+HLnXS80/Bl4AjE/qS184ztzB7I9H0Q==","shasum":"3c612ab758306defcf4579e896b273a4281d25e1","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.1.0.tgz","fileCount":10,"unpackedSize":19196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4t1CCRA9TVsSAnZWagAAxQgQAJ9po317ECfkLHD6PkzB\n1wZUn2xrCH4j0mwNssaysZ4nWwhSbc63TnES+MUhwktCuTydXCczjzumKwF2\ngNHEHMtg7DOQZnWFwGNjy+0OYvKsEGwfKsT4esTusJboDiBU9/a4nrTGN7q/\nWKCPknJA+UxwezueFCSbmbFXortFE9kbQ661a8FcsTnh4DXvZZRuaiD+Vn2y\ntW3T5WFG/e00ZEtoxYDRhdzmqiZs+ZfpLuPGLb8sZLU5bIGKJoxqJ5H/JzB3\nFSPiZ+qwXfg6kfNfeBVuZNFOoeAXkCeYR0pAEETUPMk5dZYbuRnKlc0hspEe\nmlCnZ7bYOmOIyZKmeOvuP+zIbTEEpsoILUVeV0FseKnlpB9iJd6ro4zuEkmE\nGGZODpnLjpCU6LtYJRgKgZqPzete5BkeuBygPdrpbX3yaPZNPxBBKvpuCkfZ\ndVIlg6HdXbQPm4k2azuEuy3k5jHxY3LyiPwh/7RjJjuU7pHraeqh2hsYx67I\na2CZxdYviN6He2fCwtk0sWdQ4M+zimB+rCsx9qfK5Xyc572gfRDyIYQmWng1\ncpuFuri5O+baA3gZl8hxsK//mrzb6rRMj73OB/2AIdOcm0C7JQPFPce1rhl2\nCapIizJqo6XV4rAJNGqlazKyLccv4vp/WnWWaxxpaNcHz2Rgalg+UUZH7Y5W\n3NKu\r\n=uGTb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFh/ezmNydRg7b7roNadupBCRVBoSqPCzz+J8vPw+3EAAiEA4BqgWGf7jqUW6SbuNquWXLexcg9rLngRr/7lp5CE/5o="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.1.0_1575148866527_0.07011971933002759"},"_hasShrinkwrap":false},"2.2.0-next.1575175699.62824d5da0e66d244b7ab747c5ffb132a17ee9ef":{"name":"get-cli-arg","version":"2.2.0-next.1575175699.62824d5da0e66d244b7ab747c5ffb132a17ee9ef","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.3.0"},"devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.4","@babel/preset-env":"^7.7.4","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.9.0","@typescript-eslint/parser":"^2.9.0","assert-helpers":"^5.7.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.2.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.2.0","prettier":"^1.19.1","projectz":"^1.13.0","surge":"^0.21.3","typedoc":"^0.15.3","typescript":"^3.7.2","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"62824d5da0e66d244b7ab747c5ffb132a17ee9ef","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.2.0-next.1575175699.62824d5da0e66d244b7ab747c5ffb132a17ee9ef","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-3QyyHXwAlHv1SnGAwFZmbIuQ2vIRGIkEsyy4CQEBQQDbmtzl1KfqYdnhap3pGa46T23EvS2qrU1MpDHEpipKGg==","shasum":"c6ffd2b634f33d20d558dd8eea7bbce7dfc879dd","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.2.0-next.1575175699.62824d5da0e66d244b7ab747c5ffb132a17ee9ef.tgz","fileCount":10,"unpackedSize":19458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd40YUCRA9TVsSAnZWagAA+H4P/RPtKFCe6qdEhRxo7zT5\nRyAd1tr8dNsrq02C9l3uJuPDHH2/Yj255RcZWnZFWIUmkLbP+pgT513hoyjc\ngXpgp9mqNFxigqJzkctR63NueS8DGhqTcUG4OUaMxavvNZipoTHKV1nVIYgp\ntUaWzSEGFODmajQdXxIG11wUym1n2ZUHTtCm5WxDc036fAjd6R5SgqkRx1BV\nwxZXYFueBoSiwwUfwqu4+JTIP5ZSFJwWsjdQkZN+DUKNYsu3KKQXmGqu/Exl\nkKYvJm2dixhRvHl7KQeIfDdxvPObQVxX84z8ZATS21zH7lrx0nByhF3Crwfj\n7HeTHMyPrhGSnAH0HLUa69pe5VysYEb1TTjeSfBnwPt4uePkQ86EwmrX2LiE\n3OX1wlfG/szh7tXKJoB3+nNRhDfyOkTH9ydHEl1imRs5cTSF+qQ6mNuvqTHM\nuXQCGyWarIt3pgKwcA9uuW7CVmXRWBWfV9K22PpHMcqfyAMTmHobqkqGhJqu\nJ87MjNNluoiGcS41e/q+Uq2U1CbvZdlQzYuDkSMIpJ2NS/j2r6Ulwkc3Mana\nL7O0HypyhZzEFCzU1QUqlpdm/D6x6GvEMZsv7y0JxJY/q+p999nhEn2K3qoq\nRMUOg4glpf06n7jKiRl+eX3jMNZX84pHMtbTFLgv9qW5qNSPs6BfVKSeigui\nG083\r\n=H9A4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBA+JOxflRup5iP4rQm/MZnu16NOU5uhSIx6Y4KBuTWSAiAfyW6On7sR8BzRBGw9xUN+v4bURS0JyUIrbt0V6VBYFw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.2.0-next.1575175699.62824d5da0e66d244b7ab747c5ffb132a17ee9ef_1575175700365_0.047418945077821295"},"_hasShrinkwrap":false},"2.2.0":{"name":"get-cli-arg","version":"2.2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.3.0"},"devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.4","@babel/preset-env":"^7.7.4","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.9.0","@typescript-eslint/parser":"^2.9.0","assert-helpers":"^5.7.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.2.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.2.0","prettier":"^1.19.1","projectz":"^1.13.0","surge":"^0.21.3","typedoc":"^0.15.3","typescript":"^3.7.2","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project .","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"62824d5da0e66d244b7ab747c5ffb132a17ee9ef","_id":"get-cli-arg@2.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-q7t3smNERE6rJSU3URl5foovwD6CoNAN5i9fTfbbcJFIC8xN8giKg3/3nt1XBtOQd3t7ugeLTxv+cUtVSLISKA==","shasum":"19159b8f3d42a1922ad57ab19c9bb9bee6e8f423","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.2.0.tgz","fileCount":10,"unpackedSize":19401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd40ZpCRA9TVsSAnZWagAAcgoP/AxM22dmrmGYwLNR4OgD\nddsbo4V16x5C2y7NEmbRppc3U/iZzBi50CqjtqIaV85JeDrxIa1V8n+PxPw3\nd3pAK4MX0XZu8THZfHiKNSmXb0L00EavBIjfOx7OnbbFhdTTAV3hLQJ/40y0\nnccD5pVn7cAyoruBXd8nvlLP48OfdWlcA/K2beDbSJUBIK+/naRhgnm+5QSY\n6Z0zetFcTbHPGsao0Ub9WsQtsMtrjnebDkuRiECY/T6jZ+NyQ3SmjmXrjd8t\nKdDrUGlNgBcfD2Gl6EMNNUtd/oo/8RCLZeOoJRjW70vUnFwMFQDOz6HDQN7w\n3qPCQNGJEzHDB5AnTryKpgIvraiTFFkVs5PItou1Ww0RRUkfTasK9q3xy6sG\nQFA5m6/vFAKXqL30JSZWGGeaalO9WB5aYToiU1IFvmPSmV2w9wUTwFR6wL1s\nvftueJvnoh2f2O1JJOCD1BzOvljt4uQo3BO7wskNZgySF1IKUlALcf0mI8Wu\nC9ikngSSIn4OFXkAZIodyD3GoZLy3wqwnVE1GT6nPKZan3/egCgTDaJtUipO\nUjc9pZOTq3eoMZgtzmM7dKkte8cyU7qtyxYR46Hhvg2UCC2AmRv9vxeTMGDI\nU6mX3Fs55UcksoCtoD1e97FMpT5YIT4BT0XSyRJqtJcz35KdzNHznNcNN6V1\nS1Wv\r\n=TN0D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtPWXrO+QbPoeLRhry2Ff2tomYsfne6IufdMsf2JvMDQIhAKFDDsuUy7+s+fQroocNp0xxCmEy2TFcWW16ruDhEbw4"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.2.0_1575175784870_0.05227679761864201"},"_hasShrinkwrap":false},"2.3.0-next.1575882162.58b42544a02b957cecff223871a6f4ba98e8a2f3":{"name":"get-cli-arg","version":"2.3.0-next.1575882162.58b42544a02b957cecff223871a6f4ba98e8a2f3","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.4.0"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","assert-helpers":"^5.8.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.3.0","prettier":"^1.19.1","projectz":"^1.15.0","surge":"^0.21.3","typedoc":"^0.15.4","typescript":"^3.7.3","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"58b42544a02b957cecff223871a6f4ba98e8a2f3","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.3.0-next.1575882162.58b42544a02b957cecff223871a6f4ba98e8a2f3","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-zJFfobQ16R4iojex+rlFCNyvJVZ/BvWOd4WIT8J3Mw6beVdmUcnUoZ7uhqUrFSxv/TEcP/Nl05UUw45C1eUUpw==","shasum":"3c275d9b731096d62fe860fee9fbf2073936cc69","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.3.0-next.1575882162.58b42544a02b957cecff223871a6f4ba98e8a2f3.tgz","fileCount":10,"unpackedSize":20314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7g2zCRA9TVsSAnZWagAAmxkP/3E5bByzJc5jsum4rvb5\nWn5fJX28hnLPnOI5TSvBrm1ECFDxhysqG+GIXFPo42QoOYyP01ofTZpj2nCr\n44yTByx5gpvyockgnKvnNZEe+ILLv2szo6gi+X2b6wAsVTuwdtP2Kh3fVrdb\nJsrELIuGpAAN/H1mMEnFvBn7aRPANCCMdP6HCvtcweE1sMYyjtJq2V9+aF/f\nj0KVp8CFp2W7BXjmpW3vwABZ3PNDn5wedszIM+uPRaS/H4nkUOda881jQRdy\nYbfVV0od3ukfKltYIwP6GV/8Nn9rYLIsjLvz+iIe9bY0gWP71A3F7R9X5PpE\nQgbAcH5rgXGIAtogKVYXQ7J0VLjXQxF/nCl+64txhYmtuexnDkSLbEnbfcGK\nhOoudB3Qw0mTp+dj5BQbC/DVieI01vOlDqvJMFpAcjCaVME5HAHN7gtb5vKK\nSpbPHjcj+ErjgcSwQTJx7LBtukstvVz0gVyeFOfauZ03HjvGt+O8MA7qjlb0\nNyQ6bnYXg1cRsz5kla1i5eXmIG0XL6DAQ5U+9vWAYonllFQNWFknVxaA4Iu+\nv/UmLlgaPctaL7A9PA1XRdO0ssIrRDW1au0hJma6NgKR2i/yey4lWl2htck7\nMuLlKCw9U7n2WcoBX9Q8bMP99BhcLa2NbJt9u9Z4jrqP9hLJ9M2q/8D4tLzs\nsySA\r\n=A+2M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiPdmeDyQyaAKDMCJzmxL4o4z7xiYVNL96I38UKfGWsAiEAr6gJRGcELPf4u1z20zR8RO+LxXHeinzaPXFRrvHZ97A="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.3.0-next.1575882162.58b42544a02b957cecff223871a6f4ba98e8a2f3_1575882163112_0.07944524994084179"},"_hasShrinkwrap":false},"2.3.0":{"name":"get-cli-arg","version":"2.3.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.4.0"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","assert-helpers":"^5.8.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.3.0","prettier":"^1.19.1","projectz":"^1.15.0","surge":"^0.21.3","typedoc":"^0.15.4","typescript":"^3.7.3","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"58b42544a02b957cecff223871a6f4ba98e8a2f3","_id":"get-cli-arg@2.3.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-Bizo/ZZZB9u/Az6u2G2FyEhpz2t/gDskGa/pWoFDk3mozSuJYo85fWcIY1DNa3q95sBPrdcEcfSaCK9Fqt1pdA==","shasum":"e36d8de291f6c713c120c7b1a68f8d3a3f4ce1b8","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.3.0.tgz","fileCount":10,"unpackedSize":20257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7g4GCRA9TVsSAnZWagAAb5UP/RL6uG7+V11v/Wx8vfBV\npktce8wy8rEuoMnHbCUZQBYGGnbi16nbg8M/mtmBKDpGFLak3XBbcxBv8jh7\nq9Nyckd11ZuRx0k2SgCVAOEDvgVvVut+cDn5TiA71z7QH/SHFZtO/4tm5ZxH\n2Ya0e7DInKiPY2xF0za9AG5t9+ubIOIdQ98drWDlixUEO19FQWXWAP8trHyi\nndaDQpgMmHK6KRXduvUKcvM05jujRUyOBl8FuXPnlow+7E8R6Mj0XPOAa4sX\nANz5888NtLRVZYAb+b13lASES9S1ZpFTR+VGOooN1oeM3ZZ/mRyMxySiyQpp\nbaTOrkIWBLlj6dBVRhwUubLR5uDWj87sZ+LVSbRLTlbKXY9joqniQ2X73xt6\nxjEoeT4s5UnWyRIiRm4epyuAWKvxHasG+fRIrIw+ViB5QlkR3PNJeJx++o47\ngwUVWi0uwLmIGo5vCdHT/9tzqnnYUlKSQbKLPHpADZrxZj7YbXQj9caP6qg8\nYGwuMHkc8Uc73w85lzYgqRqjMMmJYeIKQO1I/AZh8b3H/0g9OHS5jemlex7x\nO3SlqlDcF86vF3oMFmb82oGbh4Ii683niK3DdRVjf/8aUglrJuPL03nyTWuN\nLxdF7b5UID7dmNMxilrtDXjrbi2rW1RlVUZwo52MII2Kvuu62EygBPmBESGv\nnzHq\r\n=rVus\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/qKgt86CrOiWdNdCNr+lb+3YVZFfbqGPH47Efav7NLAIhALDbJ72osg3cMMo3inuEeBGtGrXKoQvkS4QPoEmtV36+"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.3.0_1575882246239_0.9018258153307797"},"_hasShrinkwrap":false},"2.3.0-next.1575882245.58b42544a02b957cecff223871a6f4ba98e8a2f3":{"name":"get-cli-arg","version":"2.3.0-next.1575882245.58b42544a02b957cecff223871a6f4ba98e8a2f3","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.4.0"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","assert-helpers":"^5.8.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.3.0","prettier":"^1.19.1","projectz":"^1.15.0","surge":"^0.21.3","typedoc":"^0.15.4","typescript":"^3.7.3","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"58b42544a02b957cecff223871a6f4ba98e8a2f3","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.3.0-next.1575882245.58b42544a02b957cecff223871a6f4ba98e8a2f3","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-3IKRM+lBhYJQUmVy+HqjjTsCVr0GAgG5FgO4LXmOQsgmYfPUm/ACQfN5U46L2D/XIN9hWqSeM59MNP+kCB2o1A==","shasum":"d93a6a96938aa503af8e5234c4c31c4e13052db8","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.3.0-next.1575882245.58b42544a02b957cecff223871a6f4ba98e8a2f3.tgz","fileCount":10,"unpackedSize":20314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7g4XCRA9TVsSAnZWagAAVfUQAI1L58rmAiGJJr/wZeh9\ndnrQSh3gWof0En0C+orWARgy493hJqidb3HxF4z1QTtt5lGuc+ilP2etKXaB\nE3/6+IWg1CplruIuVRBFQQDAcvsFgzSueoCurWK6dmZmq9CddVscTstpnMTX\ndF2dhSoX+OSvU19/ZZ2dhfVAKFBvxhl48nIoI+QxYqjIBYBSzJx2dP3lkKbv\nYsi+HBqVXSLUOSIIhJvNeTTdWOXJzk2e/SSbcxSPgC4Zm5VlI6vs+zVKhImi\nA1SFKvfrf59pIo8kTe2IsxGhP8tOx2DeGjwEFiRh2UucL5ae5ctLribQQpGJ\nFZm5Yq/AWNSkJ3f9DKym3DGvE9yl+5maKwIP7jF9UYyOpeUoHiWweOToQh7f\nW9D7n/UiasMBLdQCqlhs1fyXLHAMQMQTQy6p70hD1Mpgx0tYe6DsDX8R2vhD\na/LJ88GSJDJNr3++nCGYo/Mp0IRz/HTUEl37GeQa7vx4iunTVdK0ruHa9tbu\n6BvHtxwHGjYVZ6DXoht9Sr4k1eaOhFfJzhtc0vfpEmpUUSXXZN6eg3MODTE5\niVH++BI2gTyNSnIFcpd7iIoaQCd0JEDC5yarbFgTrw4d9lcSNMvUC8AEz+Dp\nBgr7oUwnJ9G6JSVLovGMfFQiz42oG4zmx3+CUKvvN2gkRS6QgTzzWBB6aujw\nm1QB\r\n=Ps4m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAlAcnQrzXoy+QiEHb1M/ZRUw/SaqBf9xJ1W4iaduN+2AiEA+wqTMMyxVkUGgIOQj613mwofQ7om/JiFqej3np6iaWM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.3.0-next.1575882245.58b42544a02b957cecff223871a6f4ba98e8a2f3_1575882262714_0.4330260266017314"},"_hasShrinkwrap":false},"2.3.0-next.1575882315.9260f81d322f3c07fd50910cc9531cf85ceff752":{"name":"get-cli-arg","version":"2.3.0-next.1575882315.9260f81d322f3c07fd50910cc9531cf85ceff752","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["process.argv","argv","cli","arguments","argument","arg"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"typescript source code with import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"typescript compiled for node.js 12 with require for modules","directory":"edition-node-12","entry":"index.js","tags":["javascript","require"],"engines":{"node":"8 || 10 || 12","browsers":false}}],"types":"source/index.ts","type":"commonjs","main":"edition-node-12/index.js","dependencies":{"normalify":"^2.4.0"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-proposal-class-properties":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/plugin-proposal-optional-chaining":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/preset-typescript":"^7.7.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","assert-helpers":"^5.8.0","babel-plugin-add-module-exports":"^1.0.2","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.3.0","prettier":"^1.19.1","projectz":"^1.15.0","surge":"^0.21.3","typedoc":"^0.15.4","typescript":"^3.7.3","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-node-12","our:compile:edition-node-12":"env BABEL_ENV=edition-node-12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-12 ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-node-12/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-node-12":{"sourceType":"module","presets":[["@babel/preset-env",{"targets":{"node":"12"},"modules":"commonjs"}],"@babel/preset-typescript"],"plugins":["@babel/proposal-object-rest-spread","@babel/plugin-proposal-optional-chaining","@babel/proposal-class-properties","add-module-exports"]}}},"gitHead":"9260f81d322f3c07fd50910cc9531cf85ceff752","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Require: <code>require('get-cli-arg')</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is typescript source code with import for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-node-12/index.js</code></li>\n<li><code>get-cli-arg/edition-node-12/index.js</code> is typescript compiled for node.js 12 with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@2.3.0-next.1575882315.9260f81d322f3c07fd50910cc9531cf85ceff752","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-8OmfhcByh4bD7Pgpfsv9ldoDVoEoJCdVnoV0Pe4053E1cIautTQbvDHQL25Hve+8nFawMkvgSIwIrH0Wi2uGLw==","shasum":"c7f1b2cf5ac9ec28e99961675a5e3dabd86db32e","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-2.3.0-next.1575882315.9260f81d322f3c07fd50910cc9531cf85ceff752.tgz","fileCount":10,"unpackedSize":20314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7g5PCRA9TVsSAnZWagAAsUUP/3MikRHI5GLqnKDyLUTk\nf4cPTxqyjikGjPHBo/iSHPAk5V+X3KXx7YomEcQRwnLxoX7xqc7w1Jm5NXLq\nv8aFSmlhn3rvqvHEq8c3Z9629AaXpxod7BM14vcNij2RZ6tUkP2r3mVIvAWc\nEdbkaPCxbaHSqppURXLo74q40gY3C9Am5StVod/yYsFmiZjF4pQeo+D9UcPk\niNhcu/oC8JJQzg+dRJD9lkV3OrO3GacGymcuyBJZOLMTtCSBB4R+d82oJujx\nTKF/74C2QKqMf+yjTxYQiIIlZ6j+8RuWsz260WzrDLCKuBOMoF6tPiYqjK6O\nXidR4Y4oYaGk4lFqD5bI1MK5/FEVWCMaBwGo0teI6mBGzQTLDENWzCf72NBD\nYmPhWxLCUv/+AWpYVgIYfBcfZtYnaJiD26srEKG+VignXpQ+FZq8iZCxWpOG\nZl1PWhW2pHPsCJ1Cd19iIn9QlXGC3HAQC45+o4FX2yGKyKCLHNb5H0TsWYaB\nJ3ryyKsRxQSAdqPhJG6MysysVMDAE3CpLGHcU8HqD0O4goBimbo2NZ42mHKj\nWhKhhnJhQ5WLH8l3d9+A0hyet6E/CpM45xyTDYlLUb9wuEYoAP+23XGj+WfS\n/prKZKLgqMGOp45bfZ0xOmwPQTDCGwWDA2V0yKi5K/EE4Gnq1HFFqRRlFBDh\nY85o\r\n=tpz2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGS9lKNgU2U+Rq2RGw8/C5XgOm/Fl6rZM6BjJ4o2+BquAiEApsi4TCBXTRI5u/0x2Wzb3nRJzffHgC4z+EG0WeJ7Cyo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_2.3.0-next.1575882315.9260f81d322f3c07fd50910cc9531cf85ceff752_1575882318729_0.3989327029558707"},"_hasShrinkwrap":false},"3.0.0-next.1576633060.24f955452cfac43e58e8568969da4697d67d94fe":{"name":"get-cli-arg","version":"3.0.0-next.1576633060.24f955452cfac43e58e8568969da4697d67d94fe","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.5.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"24f955452cfac43e58e8568969da4697d67d94fe","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@3.0.0-next.1576633060.24f955452cfac43e58e8568969da4697d67d94fe","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-GDr3o1OSKi7qvPAd+iqPtb8GSb6ODctzE0scPf72MrRmYIyY2JZvHr1u7ckOAUvuUOEQk4Wr2wYdxC2N/X5Bcg==","shasum":"28c4f2e5cec084f911a60da1173d2e942333566d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-3.0.0-next.1576633060.24f955452cfac43e58e8568969da4697d67d94fe.tgz","fileCount":8,"unpackedSize":19465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+YLmCRA9TVsSAnZWagAA2+YP/1bwmmOrZ7JXxDNWKITs\nsy+uBVydLjFzzZDcyx26Q4hp1sX1FSel3gjXWC9yB5sPyMn1ze8iFnwZWwb5\nVJzwnmgJozD/sndHRR82+A8zTKOACL8OcL8V1QVwiiPy/4Yia16Tc3GdXRG6\nOzqXKiMAUGg4MtcLvOAW4lnH1tYqnTNXueFGrincIvgM0RF981hziiX2mMnS\n+tdCln7CG2xqomKP1GCTgPCRK2T88rDrW/UBLO/269pZmnKkZHEuES39lFkR\nKvGmyGbBBMXzbMp8EMrVYxvg+XRTbkxu9XMRxBow0GVnNIEh3Cxe311LuOTu\nDXJhCFifM9y2hPJhRRaCypJJg22+pvjkAsGs5JVEm+0u5k4eJxkZctTuw1V2\nr5h4+jhLVwF0W7Cvgr9FVZYyv+JvVsAUoUHNl3cKZHGWRV6Jm+l0g1xV18dO\nH3+zok56KpcqUT4LJIeWwV44UoQzJj2jLvdeXU0waA7NRh7MlINyNlwv7Bko\nJeUMYYMjE0F9EVyuRji28av7yFzq43PFimg49IidYualGfcc33hWJIcc6ITs\nzfjVv3B5MaNs0qc10Vtr1FcTOR/9me6Yix0Kigs3pTyYXs5FWb2h1fo3YPoP\n7zG1vdP70ag4oEmt4nCxSE77CtKW8MyewJBfnH4rdBp3bC+C0N1Hj4lV1+1j\n3d/5\r\n=AmMq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZ/lZ8BpIkVxvWOmNiD1uN2zP/7NKD+zl0bSxsYx/k5AiEAlyuJaDAk9/cWxLKMcJKea4Fad3rQwJ10DB9cqDIiv1M="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_3.0.0-next.1576633060.24f955452cfac43e58e8568969da4697d67d94fe_1576633061920_0.4866666590975679"},"_hasShrinkwrap":false},"3.0.0":{"name":"get-cli-arg","version":"3.0.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.5.0"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.2","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.19.0","surge":"^0.21.3","typedoc":"^0.15.5","typescript":"^3.7.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"24f955452cfac43e58e8568969da4697d67d94fe","_id":"get-cli-arg@3.0.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-VYg71Th2yOw5LT/Vk1/YSzPLiJMQxWn4moK7KKl9CV+46EwyScnbSA+N8Q/2CJ5Gu7gFpGHiYGOZG3OQeScDUg==","shasum":"15f1301bd567b500c7c325a178b0b80532095669","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-3.0.0.tgz","fileCount":8,"unpackedSize":19408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+YMZCRA9TVsSAnZWagAAL5wP/3AVHPDpT1bv8Y0RYLnV\nzm0+sy5F22wovSJXMiE49P9p/y3/IujKzQBHHBrBsiQpoxhSMhCTyqrTaW2W\nQEm+nXDM2cQxa6YXibckT/3Y0EoG+l23SHQsji5wyMaM3Sly6v+/5PcSQZnS\nhze/E4CRSeOOdgENwTWCwjCD6IYCDf3JOshp3eKYA4QMmgJGthEBiK3W9ik+\n2gwHs0Ms+Hjf7NuRlOrLDBFiCKy/V+t/UsyLu2d28ShxfpcJjpg19ynwb1Ft\n0E5C+cUSEaKQxw55sdKL38XG+xXFjQoK2dYl5fcEyRjFeLcSRlvKl/IvLFf2\nymId7cM+zeYmXph6FTwH0ScqGOmzfi/yYqlIVVoDuqP04hrS6M4liRI3asn0\np89V69wRChilL38Nu1L7gmoYW4Ktyh7KORVRWcz1U1SUNSzAkVNT/Sq2nFQU\naK/NhH0uvPMvNPcAGgSTBB5Ioxntk5SeLMKEI1f4r/O3VMLwmiK9kEgjhCKT\nKKaQ00ihv7GVIHu4XHD7qeuUUyhsUWAuFOJwwNypYwfOzbNyBIjp2dOHSZoJ\nldPxYPezKUcLmff2kz2VY13kTstcneNTXFln5P6I9v0xFbKoRdb7XIf5xKB6\ngN7ZdtVmSbrytzZRzh/OUQip6tB8nmfk+a1HQmi6dsc7aiINU2nWRWvUpzwH\nTNQs\r\n=xWw+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHsqO7Fq1DvPwCdq/5wjsyHq4PgAVQ2yxSmMDMWiO2pdAiACsaWW6oYr7i5dgsPoEA8eXXykwIw1mazw5mEMGzzMtQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_3.0.0_1576633112717_0.7173901863052352"},"_hasShrinkwrap":false},"4.2.0-next.1588726818.05fb7c8c2344a459e957b9b8a6c42693733c77ff":{"name":"get-cli-arg","version":"4.2.0-next.1588726818.05fb7c8c2344a459e957b9b8a6c42693733c77ff","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"05fb7c8c2344a459e957b9b8a6c42693733c77ff","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.2.0-next.1588726818.05fb7c8c2344a459e957b9b8a6c42693733c77ff","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Ph09bCqjRAqO/Yus2ycHZVvujUuIJPqgZ9iFFE7O6Lwt7caSZFPRG187FyqidZ+bSFNDPoNUo0tJZzIdkJMTEg==","shasum":"0dbefe347a9e44c6345d89c659bc11cea4c52d9c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.2.0-next.1588726818.05fb7c8c2344a459e957b9b8a6c42693733c77ff.tgz","fileCount":8,"unpackedSize":20266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesgwkCRA9TVsSAnZWagAA4pIQAKTTlHnhU4N1uYWRQgQO\nx3SwmipD/8gdvkkJ+EzlDcDBnSIdXAH8y7tdRQto6oPhFWI3UuKQErIXmeCD\nX6YnDaBKVGUkPAH/zUcqhT7ttFhIo994SAPAYWaRHA12GGRCc85V7c/E1jvV\n8Wil/2iAwdS2mcHvW3lENSYthTBfpJDst46aQoS0LmShzU8IpTckbtxK5KOU\nVlGdmqnYTLASHbXO+U0K0gefQsgIBGYE8nd1FRI5q057IrA2QO2cOsJUscG3\nx50OzVVr8FhsrI9g3Vsc4mDI8cXdTQb8CoJgoS20Vg/rZ0O3ZZliCMZv51kT\nY+RyOflk2y+KbiWawiZLfju0hujrIw3yeJjasJMYrL+JyaJ8eUHl/6LR0vY4\nqdEQ0ENhaMUARRqLQMKaku/uq8Fun1HGeCFOyQVNZZHtXl65XYYrXH/GE/1L\n5S0erQFcgW4yCMTV1K64Gam0lHHo6RIOdqn9K5JHne+bUW0j567/ib7VQ1nS\n4Z+RR6JEqQxPYG4XhXPg/KVPoTYbpQORnAf13DLoXYTDdkrVXjfNQ/xIFypt\nxW2AVzn01vRj7nndFP2k5YtcTtkvbhPdG5Ts84Pll7UQLSRrkZBxqmeEJkrP\n/i+zSi7tVwBqMmHLIu5E32KbGKAUbiAALP6SGEAAbbwxsfTXH+wt2KAnyM1z\n95s8\r\n=WQv0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFXH5zBfSN041FddsttzaE6JGHAS04QuT1y+91HVBPmAiEArcSg+/lpIpjsfkCnCtA3jgAOyfOiD/l7sOw+bHsdf8E="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.2.0-next.1588726818.05fb7c8c2344a459e957b9b8a6c42693733c77ff_1588726819884_0.2920996213715574"},"_hasShrinkwrap":false},"4.2.0":{"name":"get-cli-arg","version":"4.2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"05fb7c8c2344a459e957b9b8a6c42693733c77ff","_id":"get-cli-arg@4.2.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-o1zGEtgIH/pPGo4Tk7EfusXRF9ww8tN28cZfTbcn7UEv0fnSk4Q/xol6a9g7A2qoNO9hegmKBVnz/ojYU6SndA==","shasum":"3e2b18a58d8818ca5c7874d90e1032d660f6239e","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.2.0.tgz","fileCount":8,"unpackedSize":20209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesgxwCRA9TVsSAnZWagAAlzEQAIUaxTRhqS05H0+X7Dv9\nDLcJmY24ZHGDuQchAMa5TkeZ8mHAJyhDcRF0r7H/6OoB38c04A6fmvs9qtNj\n6hdqFjViR0YkgtxuKkgXrAM8ahK11REY+xcAqOuAbwytgxvfSjaaWNwm+Eh9\neWKtFwF+v41+atIp5+0hg6hb7E2SJO2k+CKocy3DV7D0izI57CZvI5zxUPz3\n9l/iHt/EtIxyptMJTeSJHKHl4MfspRwglnvtDNabm0aB+CsNrWsCpvl6B6Dn\nIrrTISfwINfzW0QaCH+zEKSH13Y/T/E/+xrtp45bqiey0E2ixZ2TLMo7uY0f\nzyDfoaxB3T0dcdE7Rw4OVNCFChY2Tw86YSXWg7WQvhW6CFyDId+p9EhZU76Z\nsJFFc0PmDxMcE1CXMbmx6Le4mW/6tx5PVgfys6jmeU6Jo+01Al1EFCN2Vakt\nN8zudXasy5dUZasSlAKwk8KM4qHXv2ijjjJZx8237zyoDAyqVOoxqceIHD4h\nj4sBjZWDidzb++yD+1mmf6Jk/7+SPlZxpPoxBlD/TQ2tNh/EKDcol589KQkh\n/1lQyC31kHQuPdtoD32n1bc17SMPYZBMZoo4w9sut+AxvjFHgItWMDBmt8xu\nl+oex0lETqsyYUTxbyXoN/G9P3HrhHQP/STK5AFjp269NBCK+SfEWGU3BeBh\nAxMz\r\n=JA1g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExGa6Xyt32DjHMtd6T3NgmHWlR22R2DlbyYxqFKj5EBAiEA7vx1eM7BYleSv7q85Wd1/9/Iks7fG1g4Xazx3YUP4Xc="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.2.0_1588726896419_0.5857665824626455"},"_hasShrinkwrap":false},"4.4.0-next.1588733171.d6b1edad264c69387cd7ce757ba787d87d15d54c":{"name":"get-cli-arg","version":"4.4.0-next.1588733171.d6b1edad264c69387cd7ce757ba787d87d15d54c","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"d6b1edad264c69387cd7ce757ba787d87d15d54c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.4.0-next.1588733171.d6b1edad264c69387cd7ce757ba787d87d15d54c","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Q5In0ksW4FU4Xmsmy8vu6yESfSSh8J1HMSptJbWD+zyObwwGGxE9bPJO/SpxZ66Tnx5tGR5s1ojS6uHwiEdceA==","shasum":"2cd514c318272ba506763c811738c9efa5da9959","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.4.0-next.1588733171.d6b1edad264c69387cd7ce757ba787d87d15d54c.tgz","fileCount":8,"unpackedSize":20739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesiT1CRA9TVsSAnZWagAAdt4P/i1hBea5CtoA5lJu75Ie\nLdXTJCaDytQt5VfeOTBpz47nJjmiAouYhQ4zdc4E0anSK8WaSbdpEZtKWhLw\ngsjio5GEyIn2m5Ko0GvvsoMZ6Na9I1XTcJCI8pyl8s+Bgzs7TpsNorvE5+8d\nw78Ex8qkM1puPfhQXivTgfxST5PN5ol6LcmR5PRFtDn5f4su4D2unKEp05x6\nuffLCJz1Fe9QB6ALPp3ig/+w2mjaccIhK/tj7Apj0NO/1yrvyIZDx2aLTzri\nZ0thy9a3GeSYUiku13XgB/IM2vmRVyBDNLHEkqOhbXYMU+kldBJnyibODPez\nO/vqhOEnxYRH3wHPn3BQsPHh07fo1J7+5ECnDnHkXZX0wk3qF7x/Or8HPyA7\ncfDwLgZc16EJkWwgJJ/lHD5kmG4OhSDCMCToT6sI0e/HesnqDek16YjYe63k\nZpZTa7+97MCV7bLieX+P2aVrsiS0smVMzjiLFLIR8WvGT2paaLZ/9G88XCra\nhFPHSRE/4Iy+hr++o0wj2hhIL25Iyf9Id441YKrD05a3JOjODQt0IaPLgwqD\nDcanwER81HFfil6tPAFkBahBVhNPF4lSeZuhVOWD2AVSF0vrXz4fr4MxkAhZ\nikCfl45jlKJ3gbCcd2DVmW2eWFkpFflNwdl/kK2H0auK4mtUV7oXQ6tZWK/V\ne+Lq\r\n=0S+s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHG+br+CJYFGPeFWnrwkoEAlPfpl476U3yJVHrG9bofGAiALwXOz+Louqp5Zg7Hc6SUxo+ngYWNjAv7i+QJEWaGJDw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.4.0-next.1588733171.d6b1edad264c69387cd7ce757ba787d87d15d54c_1588733172813_0.12816919153546702"},"_hasShrinkwrap":false},"4.4.0-cdn.1588733180.328467373":{"name":"get-cli-arg","version":"4.4.0-cdn.1588733180.328467373","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"d6b1edad264c69387cd7ce757ba787d87d15d54c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.4.0-cdn.1588733180.328467373","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-cYeIbzbHK0zTH7YVlLBTwSNg8CaqFNTyL+ER2KdgJgLGRDmNY7D0z8/l7fsJNJLQ6qB8gedSJb1ALG8EFE1i5w==","shasum":"28d9dd7ceafbaf01f714be3923e75836320ced2d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.4.0-cdn.1588733180.328467373.tgz","fileCount":22,"unpackedSize":206021,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesiT+CRA9TVsSAnZWagAAeUgP/jrfPEKNBW5YLLzVmLc8\nMmf/MwNUL/KWaP38FeY8kMsvgbj6TumxUKyLxKcCjOHjaFox4NygneUwrAVE\nMwFYTxAbAoVp5+VVXQQdbHV0YwqWMILIpKvRXAoNBfENDUmTetwc/aV3WUWO\nzf2JTBIyGGGQmjqpFg4RCawtjUA1RgLuOyDGog1NzsQLKqw8lfuioKMI2dY+\nv+JWp7owtlwWZh77RfLm4J8HbgSYcW61s5LaG2lL4Q+xWHjGc+ZpD8pA93eg\no9tWsAGwiryNoVicExsCUjz6/n3yLM4cnJVjRjriRdSqY6ui+YHGFU8ZatKN\n6/Te78SQ0L+WB1N6gE+Mb/tOVOsh5p+BDwsdprJXsmxC7Vkvi7ZfaQyPJOwe\nUpDAlIlLd0a2g7YOUTTKT5TYrQFtzSOI2B5XMG+SFZNQRU5mmyZyll2Ixblk\nbNJnlm7zJahAmK6+HYjU0gU+HCZYG5MGuAWwT9XOvObc2FJw5FXm4nilaQ42\nEUQX3aV0Eq5laXZrQfJ67UMmtybID70SXluv2w7EcPVC9kDgpXh3IFz88CTh\n6/TPRr0iMd/fcxluzc3CHTt2jiwLc3Nfl3NowoYvePAyr8VhdI+ykFWzYIBZ\nUK0vg9ZVbFtz0S+8ALpAICTY7nByDd3jiPz0mANe3dVEibFmbjQpN+eQHI6V\nFoUa\r\n=f0to\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG78WYH3JlqQh1WSN+u+L/5GCWi8AvsSb0lcqLHByv+IAiEAkiOEuIUCgNm5YHa9WKGwKYEWrrX7au0ZGoSm9ioswLg="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.4.0-cdn.1588733180.328467373_1588733182503_0.8195090083234142"},"_hasShrinkwrap":false},"4.4.0":{"name":"get-cli-arg","version":"4.4.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"d6b1edad264c69387cd7ce757ba787d87d15d54c","_id":"get-cli-arg@4.4.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-c8KzX8iKgQbAkyY49VeKbSh1YOOqjgjKxTSkgFJKP5JoArZy54XLhe89I4GTl7iBEegPlxJ8zUDQRycn1FOX9g==","shasum":"acc2b215153c4f521011b4a13b9eaea3271df14a","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.4.0.tgz","fileCount":8,"unpackedSize":20682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesiU3CRA9TVsSAnZWagAAkU4P/2BDKyrSFWAIKiIfMNWo\nJvsllxIdcOYAimK0YjOfDTwtRpehc2WZNMo+xiIb2dqVrhwk3c2GHoD/RAjJ\nTmiZkAL7Fkmoy9j0/DSyosi6eVFVMhARH//uARKAW2gxSzudGxKQ9fkm2dm/\nGyfrcppyzVtPlBt547AO2FAdgi/1P0AJU15yhoHc5OVuDwiGEJ7pVEdgQzM2\nwYPcXGTnI/ccLxQdF2NOuv6Ijope2ICHcQMMl54l6MtGr4ATExRCRH0DqgAb\ncp+wRID1Z1ygMwwf6Q2jqMcN/ZtxVgMlJL7whaSg4Ydq1fgjbcu9IJXTUu4G\nF+71mAwAb4Hk5fm8GHl+JJzPEzAq+6VnW2gmStV+o6/x0esXdaWJlDJLd0Sj\n6GTnHrXN6Sslk8aWwVO/WiQtgp9FcZuudvkOlMpIhKlO4ra0Nd8DFml220sv\nf85/Sp+arW5spagRI3q6BVJ3bePSgH+VdN5/qNOzWFvH++k3JhBnsJ81BZhz\naVE1FNltSHknz5yPJNItevNtLi1MnmH9i7ENXpLgQxruv97iPLVIONYk/9So\nJYM78fakBp71KrCmjwZk63ePsrsjV4Vh0HMGorqciHaxz+64OOyi6KPH5BXT\ngozw3Gg1PHjQDdx6ZFJ5WNBfoSaGVEC+L7HqSYQos+4GXiCeDdFPXj5NmyO5\nMale\r\n=3Rk9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXldIvTLxe+eXGvbQwTH1DKTlfdWiEkiUrgFBkT+gbbwIhAJ0c3EtcHI90IN92fYrt/TIf2uNhguc38OUt8ynCcYau"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.4.0_1588733239264_0.2470497018119493"},"_hasShrinkwrap":false},"4.4.0-cdn.1588733248.328467423":{"name":"get-cli-arg","version":"4.4.0-cdn.1588733248.328467423","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"d6b1edad264c69387cd7ce757ba787d87d15d54c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.4.0-cdn.1588733248.328467423","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-+Xdnwd7QHwyoFF4p8qsM526aIKgmdg4UannPPA0cG4dpUKJCHcwrpfeaVDHKE9UtgqNJzNLINcID2tiM8tHArg==","shasum":"13ecaa4bab5ecd6f3081a63cec6a30f60b9d28fe","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.4.0-cdn.1588733248.328467423.tgz","fileCount":22,"unpackedSize":206021,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesiVBCRA9TVsSAnZWagAA2EQP/0K+K3GslTsDvjk3RGxs\nzJgbtrT+2lXZ5Ik5i8rupRVK0aHqw80RbgmaoMMqkwq3ZjTqHQmsWVSLEHmI\nT0ja4ctNKy1L+4dMNux8VUsMoLb9LgO1l6UjLnqVEGhX/9VZYcgiJxIIoZLp\nIeVfDZLJ7LeI0w9eqSK9b/HmcVGJPKOgcY78ydi7OiFhNHWLTT+mo0qrSyDa\n45TKvfcrFvUGOHSJZucPzhfz1uRLUb5LKqaqVxbN5o8p0vprVGjDlWj/wmzc\nByqJCdVWozWmqEudcjxnNBLO4DysX+duoAi8RRYUhiaLkk1VNl395I5a+9MH\ntEgSnMkK0LCFOdDU3MB7eAQDq9TXyBKbe8tQF7Rb3vLjPIjit2L/HkcNvFsp\n/l22Std2uxka11o9us1O67mSamynzTA92lez2bfcS4NJyE5iHhC5ouezfz/T\niUfDj4oUeZrPijp1NtlA5TPSdl71pfqJTI3+CG8olskdDMwryrvjDdkpCkf/\nzX5uTjHF3+dhUq9ApG+fhCBDPghE/xvY6Rl5NChW8JArHcPu33YpAx6COcAb\nqWPUy84n4c9g1STJaexIxw1j6Rkp2d5tlJWeVASq3u88aAgT0Ej1bj1QktWN\nAvkxx6QXLGC6W6kYmIko/XaqwSxPEhN0w7uovK+O7DMNRIEyX1NEC3/PbZ28\nSTux\r\n=UjXw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4slMotTIyG8fAMIcYw4TGsZeEmAqI2OEYAbgImvXuQQIgRGtDsGdtmtLI45/6yTSsWBO9lcp8liMP0YETFYN95is="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.4.0-cdn.1588733248.328467423_1588733249316_0.9775848175058126"},"_hasShrinkwrap":false},"4.5.0-next.1588733765.2dd2d5331f1f644b78bc949d3fb91f5b6a369298":{"name":"get-cli-arg","version":"4.5.0-next.1588733765.2dd2d5331f1f644b78bc949d3fb91f5b6a369298","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"2dd2d5331f1f644b78bc949d3fb91f5b6a369298","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.5.0-next.1588733765.2dd2d5331f1f644b78bc949d3fb91f5b6a369298","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Yv+etcNrY+Dq9ORofSTuroevaYoi5Re4eDs4LaVvZHo9C2oDW7WHUGfMCrD5JGl7EYQVmdOJNZedg4NgGlQoOQ==","shasum":"9b3634493c0ea669b70aaec44309cca44c571c6f","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.5.0-next.1588733765.2dd2d5331f1f644b78bc949d3fb91f5b6a369298.tgz","fileCount":8,"unpackedSize":20931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesidICRA9TVsSAnZWagAAc2oP/AwuNQFxw7+nYlchdQkS\nmEQM/Pya3SGb9FqFMRXnH7T2RD9sStTSGJGFrLZBaVOMr6faPAti5MkvCw4v\nlN2gFFEhkAD6Ozhd0oZrPeiuLKZyWLMcNwgVfvIROu/1cVw5wR4bUGYhgPgA\nfzXxVPz+YuLmP6fO9QhlFFOlvUwuhc0BlbeIrbqwhRryvIIgqRB6sn3Ji2Nz\nV7pb1WortuLwFjilUx8rceBsihgizFK9X6lfBzJTrPTZGzJkIWDDwOESd3N+\nollWXQF3Ez8yoK9aNGY+ffa0XmnH8GtmQr+tUPoVdo14XwGqlwBY7KBYAZ5T\nHj+x2pE9o08JOUz51RAN1eiFvOOKl7lRcwwhbtqvWX8VMWCmbundVW4aOn1u\nyZwfZlJGSls5RdQ7fAPwJVWffhAovJBu6d4XFy5Q+GwaMVPRWd3lelEC3bym\nKl2TsK8K1mLJImi/KkMVL9JRrKUCL0uIyHeK3iTGNDSH12c0IIXOymOSLOKo\nL4mGvz1bpwzKVkfF2PUotY9hi7zbv1Csl2/s48JyhsTiVpbYKy/9JbRPRNkn\n898dCUaiO/NcKq6xCjb6RjundHqazU6+d2YTewmK6Yu5BFF2UPzdF0BQJOsv\nTZnXbXRSl+kVuBUdbs5z5xzLPzKcVvGiZwo39Qm8sEpSN83ZHd2J1DBUdSIP\no3g9\r\n=z2mX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvfbRvJanYFDzG/m/KBDR+QRdWgo0s7F8uxfFp7bee0wIgTFq3s1nN4nd/VTNtDkpbvlP+mt9CtCGPSsvP+0GGLy8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.5.0-next.1588733765.2dd2d5331f1f644b78bc949d3fb91f5b6a369298_1588733767980_0.8364998437424631"},"_hasShrinkwrap":false},"4.5.0-cdn.1588733777.328469035":{"name":"get-cli-arg","version":"4.5.0-cdn.1588733777.328469035","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"2dd2d5331f1f644b78bc949d3fb91f5b6a369298","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.5.0-cdn.1588733777.328469035","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ftUqYzDzFnQ9IX2nNIJqLWhPps4gyy/uDZ9AL1xEQb0VUrrei2gtJmGlGQz2iEMwOYXFkvS5i5rw0tcnrkNbGA==","shasum":"ad3c72333053297fa30b56a17905d11adb9efe69","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.5.0-cdn.1588733777.328469035.tgz","fileCount":22,"unpackedSize":206213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesidTCRA9TVsSAnZWagAAOpoP/RpsxG/hiterKSllzqGt\nt4/Z9bKdmYRG0wQ0Fxr/b/VDzK1LCivo/WCZodyJ0qPm4dANOQngpFR3UNJ+\nsz5Vuzk8cXZm7AHsfglN1V80YQuih16bjBJ0OqpPSuQPYc5G42WWslCX5+2P\nr1QRiLTAxFNdQ333mUGUlcIcOna5CFzUJKFqPN23q0JJToWaNkodDpMaTIQn\n4ZALf1WXB8fcgZVYdcon3NsS+mbAVqWh9TVQZCML2s9ZovTlNyWp0j08eSb/\nm4pHXJlpwRRpqTQcGyCt/HCkYdLm/936LVdAFO5s44nNVeA/RhH34WmH1v1E\nvSWxZmSDWi3ZtrilipYMG+ex68xX5da2/dAbRrZnvr2h0em921Az3Qwnr+vP\naBDj1wJYuoywAK3DN11zeDkEld4QAQ6+zukYhGYGmOszr6oGF874JZyeLJee\nqDZroKHq5a++1X+A3A4m7kbYEk2IaC5/mtr0SgGEZ/zHvH4nVOuSQ0jSVYkL\njsUEPpQhDLNbVkcQDjzh0tMT0cBxdgZR6XwaFofKeK1bQzOBe9hKB66uFovr\nLojnRC63SsQGaH4wABGy3CucqM797RJEvMPzQnuVxXYWJGv14RkASkywZJf0\nQgwhD5+QDtgYDjmDzKKhvEH/jxtbPTquvspmbpHP5GpA/7LOdDfFRpS9OdyL\naxZn\r\n=3fsM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAAj/hrXEAe9zXnl3vjTfNMRgUYs3/ZzvHD1NQBNqL/AiEAyNhjcMlyEvDMwqf0b4WJDYWDXlelpPEwzc3VLrF2taI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.5.0-cdn.1588733777.328469035_1588733778995_0.9737424011367093"},"_hasShrinkwrap":false},"4.5.0":{"name":"get-cli-arg","version":"4.5.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"2dd2d5331f1f644b78bc949d3fb91f5b6a369298","_id":"get-cli-arg@4.5.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ve3PeGKzKwsR7HQm8uzCE6jKVC/xndyQV87AeMTWnJcb8dhujigogndwgMYWG7UGNola/bkMDrHA6rrHHs+Bgg==","shasum":"ec581430bd21c9f2085776fa573dabd5c8066882","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.5.0.tgz","fileCount":8,"unpackedSize":20874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesieICRA9TVsSAnZWagAA6vMP/17ujBlRkM9z64A//4gl\ny9SSmdmfEMYUz2tXdoY9gGoSuwv6bvuM4Pw+DEX/+ZwwQsjnQD0IoPG4a4H0\nEwqLBxRhCimWvCYyFTx1BKYZni7P+9qXLadOdA7W1yvwxRL/7lAnMj3ws9jD\nGmLcvhzo6y4YjN6LzWf3c+cl8HWEcFAS8ZaRMpgI4xf/5ap3z7bIdhMCh8iV\nrvRNGZn/3TVDAqhi20Z6ywcbFkTEfBVBmcnKoIjvxtMTCm2pd3u8Q5eES55X\nIBVY9ZAlaKuaeVvupnor7yx3wTww2EIMvTLMxQ+ob/MnXWgC+D6tDBd5BFrR\nMaoJjw3UnarjOWnefHr9n38JNAhZBZntAe1RAe9LQflaESMtfi6fV5H466kH\nBZEGWFcJl4WUfWTJvofR8BtGlJ/+7FU0V6aSGC8n4OXQww3edD+sudg910oG\nWA7/OUUMzuPY7+gZpq6UEcA6UOfiCyBUTX0dWALj0J2cS9VtYXw6cVhQ3+nl\n03AKlQ0geEBRVZCWJQvS6ZXs+N/1Qay/hApQOpu2p1igBEHg+MDyuViDIn0C\nuRNerv0pzy4f4GdCJ0tDa+smvECDhQBRy1+ivTxD1uindSvVZIzs+ZWmVHYt\n8aw8eQHIkUzktbKCDu5dlIpfj/bGWjkOCY91/sIY9mBd34+W1pk19AQvQBP0\nVKZL\r\n=yM6w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDblFBhOyoPr1RS3aVwFe1EjihG4Vv0usUW9CiBWSXaigIgJTU9GWJJ1HQwEEk8+yCFOh4DU3wvB7fAgzOp0mmbZ50="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.5.0_1588733831662_0.41800896857182757"},"_hasShrinkwrap":false},"4.5.0-cdn.1588733839.328469075":{"name":"get-cli-arg","version":"4.5.0-cdn.1588733839.328469075","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"2dd2d5331f1f644b78bc949d3fb91f5b6a369298","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.5.0-cdn.1588733839.328469075","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Gh45Rl81LQYUFClgklPDspyVclxso+PpMQiScdNyx81O1JpjLriRrE+NxS5noV/HBEZ2a4r8P6aY516dGVCkgA==","shasum":"185d0f8fffc2988eace412451e78810b67217f19","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.5.0-cdn.1588733839.328469075.tgz","fileCount":22,"unpackedSize":206213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesieRCRA9TVsSAnZWagAAGfcP/0STI3Orfb0gfPoSY8it\nwBo8rbGWK+JUIbQG9/IEK8t77U3pZV8lXbQkfqFZaXTTlm7JcVjFCJ7O3XgO\nrPbQ4pAoairIrsIUuCdTbzdrhujF7ubKA4G7cpLMZsc4MXvHVvwnS0jREJU6\nxBuqVJsiaK83Iz9XslxoE3/cxug/q7vvR/PebWxmdZOS9/vCgwWyhr3SBH+v\nvdujkkDVK2oUTZlZWjFfcnXs5tlbN48zK8Y1eawE3Rbu50l6osGKY06aLLEY\nhBDfc9mKjQAPN6Kvywokb5PhLb9U035YYXelRsOYsYTiQxFvlgd8N07eEAb9\n6+Ny4w7V5rtvsdnPz16BZ550sBXoKWIfg4+qq+PhshkmC8in59zZTMLVVDRk\ngoS+HMiM4Aa9axXyYWtr7emx5aBX1rlxNE4dSzwlTjB2F5J6CKm/B7RKflTQ\nZFG5usu5ScP9OZ8hWfj7f0GswYK5KIr4CT/afX4WVqp5lqbNlZBMjUogc3wr\nxDSl72FafH6XVz6vGVG7IcMfnCpBk5OmppoEP8QZ6Wzy0gs55L9lxMdDioTJ\nh4WJJ2hVAa20EJeHQldOYzamQFcoET/fPxp2fjLc2XCeNOqHzhUCdvk/FUW6\nNu5HJYhbETpN3dJKKmLpJXj60jjbiUvsru1/DPN0ZEwhxOz6BZiggxr07S6K\nAR6+\r\n=LQ6M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEe1tT9Gqit9rl5Gn6dYcykDfr0h6pT0jxkzHZncYG/yAiB15+bls1gzvyIRNDktD0/Q1oT7oZtg38VeY3GFecq0ZA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.5.0-cdn.1588733839.328469075_1588733841314_0.7067688568784527"},"_hasShrinkwrap":false},"4.6.0-next.1588734070.6b4cf4bc12b1eacb537a8f398469bb9ebc73513a":{"name":"get-cli-arg","version":"4.6.0-next.1588734070.6b4cf4bc12b1eacb537a8f398469bb9ebc73513a","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"6b4cf4bc12b1eacb537a8f398469bb9ebc73513a","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.6.0-next.1588734070.6b4cf4bc12b1eacb537a8f398469bb9ebc73513a","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-eyvFY0D4ylPTsJ90JfuCYXFazprvf92JIXh10IN2Z1VrmERX33lDz1OZvI0N0/PNOqKCy64sY3IOGruOXZ4/hQ==","shasum":"0f3ea852e1d416fed23cf5e8f9e224d70f4393f2","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.6.0-next.1588734070.6b4cf4bc12b1eacb537a8f398469bb9ebc73513a.tgz","fileCount":8,"unpackedSize":21033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesih4CRA9TVsSAnZWagAA5vAQAJ6fM6+XfpDIoP9NgUhe\nC9cqFTn3uHsp51bhjZHbj+rLAvNC7Tied+Eo3QS4ehydARS97mImkzJItJGT\nH4rEIsniA8bS8WNW76nHMpp/zgbwjDZ63MloAhnmmOLnkojD/qWzfhwGyfjw\nlLkcxqu9r1HlalXiQ5uZhc8xBpLbS7BVdX9sEiPCO78yEca8xt0MldVrtBeD\nLV4h8bXA2isl7wYkyHtodWGXCrxkBFOJhJWAXoZrpQQDrxFd8WsRngIAMQyt\nCIsI3GO07FTBk7jbrTp/mqPzscl0jBJ2UXdzDEw22WXDzI78rgmMGK9QM1qN\ncigNWBFrnPznuczpZsUqbW8suVyKcXcAaluW0q2Txwn7T5O59RsYlax0LVSI\n8JpOfmrnhtuLoRxrx0ny/FH2jvJEx8bxhinKqm79xLNBBSxXM7dWUt6OfbbE\ni0ynE6eJ+to4Ub0ZoZFuuCHzw45UUATTLHIQNwwbVo8ncI9EQmyneGlgBhG6\n9laa+dDZElrI/QzcTbeklDU1oGyd5P559t3V7j7UUt5JPMvQDiYE1zuGuXRI\n4Z33ZAgbiGnFrNpevAWNULXqnfCOgiMzh1xERJBwYd7tuKCu6U4K1WbCrYz6\nLix+MZhRHjdBWrTOMcdbaOwrPX20SrGZ0Hy7/C+yxf7V2veCFjwfwUphhWoH\nt4Kb\r\n=KweP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuj/vb52t2ZrN6wNc36ziKg5PVl1spIwXKbjMgwJwkTAiB3T6k3YmGKaBKSPOIIAtNaKDKZGDS8ZBmrqZzwDcdHTg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.6.0-next.1588734070.6b4cf4bc12b1eacb537a8f398469bb9ebc73513a_1588734071868_0.4350253882604027"},"_hasShrinkwrap":false},"4.6.0-cdn.1588734080.328470074":{"name":"get-cli-arg","version":"4.6.0-cdn.1588734080.328470074","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"6b4cf4bc12b1eacb537a8f398469bb9ebc73513a","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.6.0-cdn.1588734080.328470074","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-4HLSavBkml+rS6fCK1C5k3wFioktVnxjBwxOJMqOmPTP/FsOVEskUi5qXNsV1gtLigb0K+4h0IKTmlyw+3hQ1w==","shasum":"cda1abb958fd6b44ef20df2f5618a2121ef2fd5d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.6.0-cdn.1588734080.328470074.tgz","fileCount":22,"unpackedSize":206204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesiiCCRA9TVsSAnZWagAAPhoP/Ah5KNYiJ9idvSbLVrN+\ntIPfId8M98jGzgtUtqnNSssgxJ1mnYN5QhLOlQ2KSn0NedFAqSDuL4l2DN8G\nvN2J9jthMh7YXvCZpim9hbna/zx/okox+YO2WMSE4k4qURPxSUsM23BANg/p\nHmZdZwVGdiXu3pAU8Hg/WgBVNABw3Wzo/Mgkhjf2N++2CW7d5sKfFD93fwuF\nTXDoY5YkZK0RjTKBzd7/rsKt/usw9mdV7npTclSNQmox3QQ7ZIQiv/m24lpn\nGhXGueDSnS26iQsos6bgxddAHPOWHNEKikBRACtxl1EJ3u/WVaIVNiIvRi3H\ns6US70l3vm/Ip74RaFPhNsxnB0GM60J6OMweDeQpHd7uOdo1vmz11DpQt3ef\nqUz5IvxFp89Ds8i70jLVhvnSqrScPiSBcyIkA1JiXizz7d/frP7KjLp5NpZm\nPv0IWp7YoZymH6jQTXDm7Zb5do41gTQYvcjDTeMffcZGwk7klZ+8NUUoM+mV\nV7JgHI9PbdiRH27K4KkvG6YchZBmU924Sa8GjLWioJyWg8vfq3odk5OS2qdD\nlmQ4JqQE3exuLkXsLG4lMydUv8rcJibFbfQY75zBHyLs9UxAI5oa29FgXoqA\n4RpB/Q7oWnY7b60NZa5qElwZEYuMjDncNCCBDTqKSnaWW/a9yq624QFgzNzk\nHimQ\r\n=5WPa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0Xm92M0nuNwMnzROLnDyxaC9ZtZHnMaJof1/duTRA3AiEAqB/As2QRCYBe/NlWTU/r7gjWAttVvb6TDyHFUsVhJXs="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.6.0-cdn.1588734080.328470074_1588734081819_0.12525106588431667"},"_hasShrinkwrap":false},"4.6.0":{"name":"get-cli-arg","version":"4.6.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"6b4cf4bc12b1eacb537a8f398469bb9ebc73513a","_id":"get-cli-arg@4.6.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mlpvgc7nBm6JJ9+ejRqgE1/gAH2tqH1vYHn/9UtnXuxgHFbDB+/pVYnOUTxx0jW0NN0UxGMgjvBzJhbS951GvA==","shasum":"3e3c7e29514cb5320a1697d27412de68e48f30dd","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.6.0.tgz","fileCount":8,"unpackedSize":20976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesii1CRA9TVsSAnZWagAAWEsP/0oYpGeUHjNZJWDlJNMa\nNLCXBEM9gdl+X1srj/5qwpXi0wM2bmkzB9T+7aP/8pFGX7BS1YVwet6vFJwW\npUY8L62jl7+TCONCXaguBgpnrpC/06Mnh1Qgxfw6C5N7mkZjiOx3ztV4iRP2\nbuxJDEPJ5+meyEVcRXw6F7fpIXFlpSSt1asqnrw6rLhuWp6xUHPcaoHJo+5H\ny4QhFG3AAMXkx0w6m+UBfeIsStf55gDf4T2qoo9tgs6XJ6t2HfDZbOO4u2Kt\n0ct+CwrTMfilagnes11NOjVIEcaoG4Gzyrht9Fbnb2WRn5Y83p0j9mB6ygw/\ner5fmBiDLkC7q5Np4FkEFUYkQajXrsYJ8qBwcV+ToPszUvCj2DsUecfngczZ\n1yP49sTSF9wp4PjEPCBiZdgN7uSCKdG5QL7IDpe2jaUVqfZSCdSc37B5Kup5\nmhEvr9UIZwhxk88oY0gPzGkJWgl90gdY42LilXoI89Irie4X33+StenHQJqV\n5q6mBDGybDTAPwFMdF8THyQTC/cGmiZlkuXjLGqqxwYTvnMGMMic/juHTLVk\nAKNJ/zuBSvfDVfBTkX9H/YoD7u+7ryYbaKBy9+UAC4tklai1Cx9e0yVwlzfn\nxzZSnOJ0kmv30/5Cu+iEmkYx+RQdlY8J04HVuMLmMpGBikTDn1E220TS7uRr\nBNss\r\n=2yGp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBwLbyqrHGeYGH38yCnGl1p5U6juSCU1rGmfDfkiaZlfAiEA73sj6t0uCCjJ7yH6TlwP2EvvjuZW56JzvMXLyACfSPo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.6.0_1588734133041_0.5614524477519875"},"_hasShrinkwrap":false},"4.6.0-cdn.1588734141.328470105":{"name":"get-cli-arg","version":"4.6.0-cdn.1588734141.328470105","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"6b4cf4bc12b1eacb537a8f398469bb9ebc73513a","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg(process.argv, 'arg'))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@4.6.0-cdn.1588734141.328470105","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-t+QFT8HiQiWk3pyK6Sn8RRRsH/OwmqmX5qkd8cUtgyG5dOqFvb90wqK209I/wpyLDQfTiCnChfcKCvhroTG83A==","shasum":"253f5ea5cdf218801e46e30cfd78ea39fc8c64e6","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-4.6.0-cdn.1588734141.328470105.tgz","fileCount":22,"unpackedSize":206204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesii+CRA9TVsSAnZWagAAPpkQAJsBtIL+zsAyhRA0uVp6\nPrGvrv+7Cr2modYf3zo9x/5N6woTYd4x/1mZ4V6c8Jxa4E9QKwKjSPcU+5IB\nJlY2UTRj4OgTOK0oYTdxmJO/bKMbdAMl9AE+jVD+odJHDxjgEAB4yvUeGhAs\n5sYkvuJ7RxEBuFLfgZpHaI9zfAB+VbuTefZtb1ZCmQL8whOqyN24IBlteL4z\nQCCmCX/PzFeSYOLFVqrYQInbY/gM0m5hAfRRi1fOfgNln0o8Nn5E/ppEuNPV\nougODO71QfCOB1Z4Hsiqn2WC+Xgae+CVpNUuo161Y3ceB+dvgwfHPsryUoHJ\nbYAcBY6R78znZ9uV/F2shUuY3bb54FQdlbKTNJfjsC6VaovhodPud77zIeFX\nh1qLNgWpZJ0GFxdSab7+tcopwIbRB/X2IXJu1EET7VQUHpJZLd8j5qWGV5xf\nA5B2+xKoV26MLiQvXsk/YvN3PCwXy1uXhjig4tKEdL1wyz+BK3pqhycC/4LV\nwHnjczi0KMbacuAyZBiQ4jzHW4gIz8OH/XiHlmjMiSmMXqVXd7DcnFo55KPs\n8jnswx+f5Js84eI4/5E8pqz6p5XPdQBdFBVlVWA3obHo3LGYBLO3qXMAT0/m\n4YbKOZ6GeaxQWXMxy6igIy8UfhG3ljx+X6sHpoRbE9/77qstIMH1+s9jiKi/\n6gdf\r\n=fsLw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCreZavE0rsbzrOmpP1kD7gEm81vbvlkFc90tsJieLP4AIgXqZAYdGvDJJdze75qGQq4yll/H0ayKa2WnXwG61OT70="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_4.6.0-cdn.1588734141.328470105_1588734142291_0.7536304009446637"},"_hasShrinkwrap":false},"5.0.0-next.1588761084.04467fd3d3602f34227ae2659c660780a1603df3":{"name":"get-cli-arg","version":"5.0.0-next.1588761084.04467fd3d3602f34227ae2659c660780a1603df3","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"04467fd3d3602f34227ae2659c660780a1603df3","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.0.0-next.1588761084.04467fd3d3602f34227ae2659c660780a1603df3","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-s8U/NeW2ccseRQ7fLiEAkbjPRRG7FDh41SBHM6vLQg3r07pisqeiWglX40t5SR0XaTjLaaQLy+AykwThLQxVmA==","shasum":"a2c39232ac650cb06484194fef0d7f2539dde6ad","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.0.0-next.1588761084.04467fd3d3602f34227ae2659c660780a1603df3.tgz","fileCount":8,"unpackedSize":21229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJespH+CRA9TVsSAnZWagAAtwUQAKKBj417fSHtPzr3Gd1o\n6sMday9jgB2S6N3H6QRVYWg2zaZ8K/2RWrMNGJyeaPPx1fj9tXxRffnOUkty\nUXxVN2hzD6w3vxDU8C7s4RjTi2D9jM9BOYeflgXod8cQgmf+BE5nZy4MPjZT\nOw4wJXFp9EBq+taoHxSKfS7qX6dwRVOMaoWt+etv/IDxaPYJ7u0s+8mz4RTG\nMo9a11QxEaDo05zMvWuFNVe3ZQIhK7g9OQEiQKdOFMOy2R3q04Q2N/QOVk/6\nAcQ96kV/czmH1+TRo8wPorbcOC0NyIyEIDKckdur44JWP+avP3Aj9JpmsIBl\niXacitnD7P3HqRAc3xrzyy1tfyx88ua49vT4fV/shMHuxD3nLa4p3a1suMAl\ncH38aRsXWuGf3NDTKMu4XuopvTVecCXHqhmx8Nq8viHYncO6kwfbTCaVNUYL\n4XWOl6JMilbwLrCOpEO3Or+pDvmoUW3ON/HTBQMVyzpiXi+wnmNcwMvz8b/A\nronzdPDZn7uGG5qQWs1dBzT4ExTw3qMz9Aa9h7qjzeZKCkbBHZxU0UPErm2J\nhsKqYJOtlPeHwBJ1H86ZrSUTktaW3Fekn1v3r28dOOTq3YZ6mkk2jyImChGf\nWK7dy5BjCIbb4kmmth6GNFH9551QrD0Z8Q5uQmEQseBo1zsAHRuorFfJI9ma\n7YsO\r\n=6piQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfRv4qs2Fhq6T0W05jtF5y+2zv3ydWWBRjqfUd2muUsgIhALy89mOQKRmuK8qCx/6uTA4zNf/yGZjkKZZoifMsxQIr"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.0.0-next.1588761084.04467fd3d3602f34227ae2659c660780a1603df3_1588761085562_0.6566216498487816"},"_hasShrinkwrap":false},"5.0.0-cdn.1588761097.328608451":{"name":"get-cli-arg","version":"5.0.0-cdn.1588761097.328608451","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"04467fd3d3602f34227ae2659c660780a1603df3","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.0.0-cdn.1588761097.328608451","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-A57qSC3Ulgp220uvfZ0L6lmLW9IJuNyLBGeoEdCvmI5203A8g5HIHbJz+ejgJJgDEYd0DcX12//77dJSW+B6fQ==","shasum":"c44fb01bfc66843983a30677d0eaa6f033d93f9e","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.0.0-cdn.1588761097.328608451.tgz","fileCount":22,"unpackedSize":206557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJespILCRA9TVsSAnZWagAAoD0P/1e8oUHbkavZ8EC4u2PL\nTF2Pa+prvfuVt5y4r69h2lrmH2fsn6Bpud0Hz71DYHhSdiJt+qIvZjYo3qV0\npZo7AKd+rkjCZt+KSeF4dNjT2goWZcPNxyMaUVpchREO2SRsMTZc4M53Aj49\n/tWFq7Vtl3hoEh7ZeO40EcDjdGmawZypdB7aiSeMv/yHNeCJvA1rv6zok/qp\nbXSM9Kko8TMDUYeyGABDF/D7948OYHknl0vgzwMRnswYG3xT69if/kGZQNaa\nG1xAPW+acRR2MFOZiDyzetJ3eJNCQBsXznRjeehJgNN8widjOKiSzDJjHE4r\nAgl+OerZFLNiAjd25CK8k0XCl2nnNvo5ZC2uRMIxL+ndqEJrvUVeHKESDxUO\n3ieRjvT9QnU2uSSNoQnps3L2CRhd4aeaKcRadNImHK5xWTun+bstRcPMdWXW\ntQBL2UbdXMxxaJPHf8t1h2nTd3z2l9bQ604zw94oIX7CPn6Bqq4w7OOnwZ8b\nNv2870av7dMeUU0L4Hw5m4rL5nIyT6sKvy6CM8YypgTrxQAW0/ym8kUq33zh\n3kEXsyII5IEZQabZ13KmReUQpsHSyRUYr9tAdrOKjL9+TlHcryQRykQbRNgP\nDJHBLvqbyRbFvQrnev/CK/Lipt4/pIKD/bvgLXvZNlWOcdGG64fXv1TQPHpU\nCLhc\r\n=bT4r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5fMIqUUQwFu/kJgFiStDlLktASCM6ViG1v2KiQLZzqAiEAk3mvdwPK2SI0eMKK/hHUyvnXXcttJZyKWlH96Q/swOU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.0.0-cdn.1588761097.328608451_1588761099080_0.7356018356901413"},"_hasShrinkwrap":false},"5.0.0":{"name":"get-cli-arg","version":"5.0.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"04467fd3d3602f34227ae2659c660780a1603df3","_id":"get-cli-arg@5.0.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-80AXlciCV69AKq6iAFolYjsCBf206vwZmi24OCbrfczcrZzGohnoS8OLSIRvvOYD4R5R07cUPNi36mARPwUhLw==","shasum":"e60a75a218f7fa47a4eedb73408a4941c5e8c810","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.0.0.tgz","fileCount":8,"unpackedSize":21172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJespJCCRA9TVsSAnZWagAAvecQAJpbVPYnSGLtZdUGjTo1\nIxdGaUvVjmEnvECfhtJ3VwV5nOQ1+ZLImF7FmH/k0dQD8mIAOnt0SC6Gg3pQ\nCd47xRA2pF1nZ0NAXpoL2gjKkBRyOLmhpL9URdVzkjzv/bIw7WAmNBY4A+yP\n27WpMEzBn3e/M1oGWwTQE6Gn92yFu1QGMYBTGsSGwfbfFI3+rSgnLIGv11ix\nrvOxxl9Dr/vfEDsGHclLqkYVhxLE/Z18RCTlVeX4/jRZMad0VvfL8GA8V28M\npNkdQtzz0Dv5A+UoU33iww/8vpuB8JelZymo8UkIHTvjV1oYKvP7ESHLvdbe\npruc8bthaIX9wecd77rDJON6tBwwChIZ+oEPgMY+brW8bUXeaMLEevIlwGAG\neGj/YbMFCYRj+YMnJPbZ1VX1L5yNFvN81GCHoOiWCUSSZiiKvTG7JTojSyxP\nOxuCCfsfHvgcBBsi501R3uMx2t/7m+xZWMJbLINA8GjkGWCCxDAY12NTQkUd\nbcEk7ST16LLJLLuULdKoqr7wlKXn9drPamzbZAM1INtEP1RRFRnpLVdC99rM\nB3CID0u+rfI6uy35JzaeaftkW4PhNf6J6Yc4uFMTV29KNEKk1wc2GlS6KAdZ\nHOxdUunvwUy0r6hPd2U/IwMJvrufaBWIFQBjp8jkEIi/bWG+HCWXNBBGvDk5\nRuSU\r\n=C4fG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDye4MX4pLMggGW3K3lwOIjXkH6Qe1HBAmCM0daRWhp5gIhALlgBID8MA6Vjzj4AGvYeu6/gNhiFhxEbWgCTbgc7zSg"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.0.0_1588761147759_0.9393806152567177"},"_hasShrinkwrap":false},"5.0.0-cdn.1588761165.328608501":{"name":"get-cli-arg","version":"5.0.0-cdn.1588761165.328608501","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc"},{"name":"Benjamin Lupton","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"source/index.ts","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.6.0"},"devDependencies":{"@bevry/update-contributors":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","assert-helpers":"^6.2.0","eslint":"^6.8.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^4.4.0","prettier":"^2.0.5","projectz":"^1.19.1","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.8.3","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && npx typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","our:verify:typescript":"tsc --noEmit --project tsconfig.json","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"04467fd3d3602f34227ae2659c660780a1603df3","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](https://cdn.bevry.me/get-cli-arg/master/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li>Benjamin Lupton</li>\n<li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.0.0-cdn.1588761165.328608501","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-yttTJFiyurfyG7okqrUr+MsLQakjdOFLJQwcjVTXbPV3RKWDz+gLZ1MBNFAgCLqfdb9VxzW1t/b2OM9gbuacVA==","shasum":"0e02bfbe639a29eb6644315fa2476dec7e2e0150","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.0.0-cdn.1588761165.328608501.tgz","fileCount":22,"unpackedSize":206557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJespJOCRA9TVsSAnZWagAAumkP/i60D8ofpmlKgdsaq9sR\nkRdiG+pbAM/kwUDYGtR6ok58QnWn/jlZek9FR03O80Ho1T/mCRJpXdk7g2qC\nx8QgEy9YgNuFNrmS43mNMo/86YF/CdPlnZsA7cKUS3J3Swq5B1HipLyNNtm4\nica3JJ2r5R4xDvSg0xID6F+AwE80nVI5LoLeObNg4LrA7QSAdopxwwpkP5oO\nVNFCAn5uGEtdSRb/dwM8UpL5c8ZdCgh/X6X4P9ZBuPVktPoHpP58Lpzh+Nkn\nihu3mu/XvMv0aum7SXwBF3LK2tHQ5IgsY3majSeov1273Zc7qXRNDp2iMw+Z\nbcC0fftTXZN4g3Yg5SIsPXI0ESplGf0UFEGabgpVkVSAbv6IUy6qTRBQ3Tbr\nYvZZdYqhOQ+RHy4CH4xqeRe5TXqSg0mHx7DiczgsWqr6n3Gvt7+CY24uSeX/\nPPdCUedW8aFM0ngo3I5AGcaX5//GQrQgKg8Pr7lfMOeC0u2nGO4hn76O6OCv\nMz2JhiBGmHNCfX7sXwbFzj3ixwE8gxmY/L9v7XZE2LEvmnGIFmmBNWiXQi7y\nA49RsFx5kpsA+cvWhGknQza6/efmee9QGUKaZ1HmIRhBq3fjSeI/HF/NB+Yl\n1OrZo1n8uOmt+DBWWu+bL942YyrNanAso51cIomrGBpogo1mF8BW9KbwtiJy\nihyZ\r\n=/V6n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLBKjlC3L4k5SmNBRDyZLJDDh9Ddx0J6uHb9SOtslFswIgEB4M3HHmloSGsPXuWeYJRDJtWtqecfLWGIUv+E1tHVk="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.0.0-cdn.1588761165.328608501_1588761166382_0.8373142182501352"},"_hasShrinkwrap":false},"5.1.0-next.1589359540.a9eed1080ec57d8bbf8d3cb74299e78dd8119293":{"name":"get-cli-arg","version":"5.1.0-next.1589359540.a9eed1080ec57d8bbf8d3cb74299e78dd8119293","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"https://github.com/balupton"},{"name":"Benjamin Lupton","email":"b@lupton.cc"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.7.0"},"devDependencies":{"@bevry/update-contributors":"^1.5.0","@typescript-eslint/eslint-plugin":"^2.33.0","@typescript-eslint/parser":"^2.33.0","assert-helpers":"^6.4.0","eslint":"^7.0.0","eslint-config-bevry":"^3.5.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.0.0","prettier":"^2.0.5","projectz":"^2.1.0","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.9.2","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./compiled-types/ --declarationMap","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"a9eed1080ec57d8bbf8d3cb74299e78dd8119293","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li>Benjamin Lupton</li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li>\n<li>Benjamin Lupton</li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ Benjamin Lupton</li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.1.0-next.1589359540.a9eed1080ec57d8bbf8d3cb74299e78dd8119293","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-D+2Omuhlx5mH0B7Wp0ar0ucBsKTflE640v2oF/MlqsMbCLkqE0xd9PfFsDRqNq2B1zC3kOhrOVRqMx0jxkkOxw==","shasum":"27be551e75d8bc653c307e285655f2003c01d3a0","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.1.0-next.1589359540.a9eed1080ec57d8bbf8d3cb74299e78dd8119293.tgz","fileCount":10,"unpackedSize":21646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu7O2CRA9TVsSAnZWagAAunsQAJQX6TfLkqgeo92nHxql\nlYjYkNa4yieiPcS/97VgWGhH2uesdZk0o040a6qRC7WQ9Y6F+P5JrPbpILg3\n9tQM3VMPqmNrJkHr+GCFDwQRxj6Lb1uLIc1JshC3v6nM9aYcbkWe2nJJYmJe\nQgHpFdqX6E6QSWyfs1W2Z2AKr6Bq9UNEpi/CbunPIfIpnQFo7jPSOoIxPeoc\negHQVDvz4FSmZz5d7a2tHXaSi46E+8kHUbn/V0vCNY8kWLis0otSILK/sJro\n+DOAqU9TcQDXyAd3aQgu/SO9nMF35CZGycbe8r1Z6d7PCxuUd8clzaLWJDxj\nPJn3mAMk1cavx46qZY5hmFq/OsEfeIGCggN1pqSgnE4hBEToonOit5wM05Ks\n+2UXUZQ5t03aAwk7cLyqQfMvCB2sxAl9M2KdWvfqmG95cKKvlGFRHOj/hHAS\nnHFdmD9LxW20U58PGE36rSnOMjX+Tz5Vap5fuX9WbkCcdnYBjRq0SZqU1T/X\no18pdQ8MvL6L6AoetvZoElWvPI5Ace1Oh7VRpmtUhg9qzUtqFq1ARLE0eUZ2\naVQR3gBwXzc2sErxy8fivPFS0ZaJHxTODyhqB6CVh2PLhrHPuPiRAI2LE3B8\nEKmKugLviVFNqlH0sJF1aC84fYCEmJzZC2ysDATrYxSc3XQeUewaTKolsn75\n4tRE\r\n=Z/tC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw3OtuHDCnGlr0GyhzeDPaRzCUiwCeibxtcw47qokdkQIhAJ/gM0Z6YqVyTZBkMSlsJQflGdeYv24av25jpLr5/Y4J"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.1.0-next.1589359540.a9eed1080ec57d8bbf8d3cb74299e78dd8119293_1589359541978_0.19778441744914765"},"_hasShrinkwrap":false},"5.1.0":{"name":"get-cli-arg","version":"5.1.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","url":"https://github.com/balupton"},{"name":"Benjamin Lupton","email":"b@lupton.cc"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.7.0"},"devDependencies":{"@bevry/update-contributors":"^1.5.0","@typescript-eslint/eslint-plugin":"^2.33.0","@typescript-eslint/parser":"^2.33.0","assert-helpers":"^6.4.0","eslint":"^7.0.0","eslint-config-bevry":"^3.5.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.0.0","prettier":"^2.0.5","projectz":"^2.1.0","surge":"^0.21.3","typedoc":"^0.17.6","typescript":"^3.9.2","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./compiled-types/ --declarationMap","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"a9eed1080ec57d8bbf8d3cb74299e78dd8119293","_id":"get-cli-arg@5.1.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-oOXovxXOcKkV0e9G2+4rd6tWii90GkeXp/5pdpWuWXvUvxhYBcTZEvfgYQX6Embwi5GTPVBO2LkJezPMZVw7zg==","shasum":"183fb7fd75a3d5c30df3ba090d669207baa9c3b1","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.1.0.tgz","fileCount":10,"unpackedSize":21589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu7P4CRA9TVsSAnZWagAA8LgP/jysnK4oTNhMSSdAGJgH\nrORJaiPrBVtRS6NKJ6Toev+DjSuYvTz7LWkwN5CS4XYL9TKHrgZZqtxpVpIo\ntw2qwTtnWA6Z5q2r/Zr8QgrJKQQvliA+CBrd7prBU5lEIrZxfQSMVwrswtgq\nX16oqbx2OQ0TpUbQDRMribB/OkzDm1ncmftzA+8U6Z0wOxgh1Lgzjv6ViNlj\nipvlyl+4WBBInqRRVD5RUHdcGPa1YnM6GdyqaOMJDrv8UWZiQRpCZZ3ZzeWe\naqy5nB/uRfAMDFiTCcgZPL7Ko/n2U2xvLs80qpr4w3qi/964zaAR4tqh02iu\nK117pN1d8XpgSrp6VZWH8hm+jquxk49neC4hcGbQvejGrwArD3lFoEashFld\nqgDp8TJLlisKyFUG8fP9X8zmMWIPTH8e/JVOPQCxTE8D+mJjSjYPVEO1fLQs\nCCqXcDL7SGHtooSomKxbcezMeG129D6tJ6pwTG4+/z9Eqo1n8KqiB0FqcmbG\nOIxNsQ307N+nuUp0f7eqqMuYd87tynEjys+W2LRqhbESHrpFE8mf3ZvJFgKn\n1qEVjmuCwtUdri1lZ6I/mMTW7BvgFZ0JTJjhyxBKFkzp/0QWc7IBeghwUs+k\nC/gwwmpItsBl4I2e5UYEjkhUK5gg8fQx304GM7YTUpGo+aYH7wDqF/ogCWah\nKuDB\r\n=F9s/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkmVVUVv8SuzcHAdQeZUAo0sNy9moOZ9a4O+muqNwvcAIgdN9QTNENwmLdlqDHlxzztPekO1A4L8zKcfbWtJO5oCQ="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.1.0_1589359607684_0.3589265921080709"},"_hasShrinkwrap":false},"5.2.0-next.1590037582.1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6":{"name":"get-cli-arg","version":"5.2.0-next.1590037582.1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.7.0"},"devDependencies":{"@bevry/update-contributors":"^1.6.0","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","assert-helpers":"^6.5.0","eslint":"^7.0.0","eslint-config-bevry":"^3.6.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.1.0","prettier":"^2.0.5","projectz":"^2.2.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.3","valid-directory":"^2.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.2.0-next.1590037582.1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-obBEk7MP2836bDNo2x8nqkrcS4VCI2pmtFxg3zJqE5GlOccU6mA37zPTNRwzVVgGDvEVKch0GGEDrQEXPIpVzg==","shasum":"32abdd6530b7770d3583634fc5bedf3cfc493e98","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.2.0-next.1590037582.1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6.tgz","fileCount":10,"unpackedSize":22254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexgxPCRA9TVsSAnZWagAAWDgP/1pwgrGqlAxVJGHPSIWV\n4JnBSfCvfRsQStfH/IByIvKBvOZDlij8z5Kz3+Nr3VRadr14zU1juqfdKmXj\n03PyM2G0zGOxJ50iY0qS3+bvuGcNAC4ECIx0jn1A3Da9Tej75Uk/z2oXK8tK\n3gZDD5RdQsnNjcuXUeuY2ttWOCohvaX6z9kT/pQLFOHi+7l5LR9GnyZJt3bQ\nRWtS63flYcQUBjCq6KoNhqtysOIilyLi7X3k1cJaQWnpz0WQ2hsTJzbfC4Gg\nd1HtbRHOcHi/Htfah+NnO6XI4DqwbkeIcUXUnCIoelnAQNzKMsOvPZd61KYD\njZkRi+UW9FxlFuboL4W/6uWPypP+A3cIe6NNV5MRw4w0tmcQ7buqomlQHluI\nfh43Em+dXelrtDj/uv+yVdj7kcQ/P7yy0iIQOnZ9mS4HdJD1ZdvaEtdER9RG\nq8PCK2fOv0F/56xOP9lhfYavCpZ6yNprPi9QeeAq+e82dhmix6Mf5G6oiIzL\nv8GcDwCcuBdBFlM0Zdx+t5HoNuwa0Ua9QMFMGgJCXp3geNMaCGcAkacCi7Ao\ng1sKHLzh5jU5cTjs/KQp//QgKaKbKDDpER9lD/11HAJAczG9Ilwmup4lb+VE\nbZ/4DACntQd3k7GjetvJ7qCG6hQuf2O9Q3ESNRzv4DarcKTck0JpUyMoUtVv\nCQ/1\r\n=INTR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUGuYY8hN2wA+sJ11tjkO2DfuOCmGQHnraz8lEF5Kt9AiAdNjDNL9lOIwH2ADjdXTMsmqO3sdugmSIcEIY2P26xOg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.2.0-next.1590037582.1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6_1590037583330_0.7796182981843462"},"_hasShrinkwrap":false},"5.2.0":{"name":"get-cli-arg","version":"5.2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.7.0"},"devDependencies":{"@bevry/update-contributors":"^1.6.0","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","assert-helpers":"^6.5.0","eslint":"^7.0.0","eslint-config-bevry":"^3.6.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.1.0","prettier":"^2.0.5","projectz":"^2.2.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.3","valid-directory":"^2.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6","_id":"get-cli-arg@5.2.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/fVJSH2c+P9/Ddw66ThHPSQUskgpWq/zdBXmyLM9PfmfIshU6/oVVtssJgK5S/zOFCFEDcmwMuhHNLLSns5a0g==","shasum":"96c74e9906b56272a186d6f63c9e9527b6c27a23","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.2.0.tgz","fileCount":10,"unpackedSize":22197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexgztCRA9TVsSAnZWagAAaVgP/ibvFheqZEuE08kjf5ED\n8md+P7lZT1x8KW7wm/wKyj/qDm210Hmp/OB58LWDU2o1ahVqltrLOnfIzp36\nnoT0U5bOqmxpoEs8MJ1UcUKcwy8dzmIZStRMf/F/T46yZaYMexAAAGcIXdDZ\n6KFRsZjplLPQjrF6j4MaPbLXLdQXW3xQkSKqCc9DuOVQ+r8TE+nHjCsPX5QK\nv87Bevm3Ih4GqvPVWZReflEzeaa8MpawebEX9C21JTE7URTkTMrr1eajLx2a\nKgl/qFCtt3wEHtcQsJWHkDza82J+ukUmF6/5jLTGJMewPptWrDda1rnFXurA\ngwIKTXB97WskC0pHtvRfIIhKryFpPeTyB+Jh4YJvTp4ZVDm0nIpd7z8dNa9/\nrxQSDccnjifyUn9svZ6HGUUfClQdo51M36R0a/nO6140TewPOqXS9Q1NjDPv\nyJSExC/L17k23oeqzpJiF9JG4STNZtoY12yQiwVKM7YVKKi626dRslFvYtDA\n2iPJRXdf7LSjj0oXaC+Wp709taTfu88OB0vDx5ZfPPCTikWjR1lV+njJkXss\ngNtRsEyz8xc0IuwIOFxpcbMJEZu06pqiS0KxSxjqcIeExjbdfVREyYcL3/+n\nMmFFVuVBHcrpHdh+WexHj6bC6JhD6VCuTVX1z8TpJGJsfWrDi7pgkq6AbTOW\n/gfA\r\n=awoe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrIvxbl+nmi+x36l0kmYo7Bwh4+iVo3FMG+rmNaZ4LmAiBxe7xCPQ/XjEGNz7zzHS9U2ZLKDEWq5/nN4a6jTsJZRA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.2.0_1590037741266_0.27357257341772057"},"_hasShrinkwrap":false},"5.3.0-next.1590074065.a65b08a3e8a489badd2da11e587539d84bcbc2de":{"name":"get-cli-arg","version":"5.3.0-next.1590074065.a65b08a3e8a489badd2da11e587539d84bcbc2de","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.7.0","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","assert-helpers":"^6.6.0","eslint":"^7.0.0","eslint-config-bevry":"^3.7.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.2.0","prettier":"^2.0.5","projectz":"^2.3.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.3","valid-directory":"^2.1.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"a65b08a3e8a489badd2da11e587539d84bcbc2de","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.3.0-next.1590074065.a65b08a3e8a489badd2da11e587539d84bcbc2de","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-6oYQLtJQ+W2cfALV0ZGkZFyzShAg7UXRf4lhcX88lpWC6/YdC8f2uuMp69IQACix3cvY6FDuLclQe9HPadNR7A==","shasum":"df1693996d3d80b6008652ad0818dcf3e3d4d616","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.3.0-next.1590074065.a65b08a3e8a489badd2da11e587539d84bcbc2de.tgz","fileCount":10,"unpackedSize":22447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexprTCRA9TVsSAnZWagAA9M8P/iSOFtPv8TBX8xQK2AzV\n+zKMj4kCZeLHOvf3hsJrrVhYVuTCrmq2p8DFT/dSE4Evo3hOkK7yQtpOGU6F\nUUMwA7UfhOlvj18YWZ5tSGDK4uavaMsF4qC07wz6MAUbXtI4slNw/el3js7/\nXWPmIOZWQMG9pF2LDIlx6mqfLVImLt2o8H5D/oNitq/MoaZ/bYUumWu1X95M\n6zgOib26uxbRrJAOb6WZy0kI0dL12NKaEAfggqu+5u4nZdz0FbbCf7nRRdY5\ngeRom+k9KuMa9XzusvH7xellMCLVdtlzQhavgTn9FFtBBJSRoYch0hQq98GW\nzc977MOKHl+FMOSohHKaCdr8lLC6gIoFmJ4owY1xMqcY40UZ6HUj9xdG1Rqx\nLnfYHhYyVVe1Pep7FCOBU94IMe7pYiRhHmmt9Qbz+r5UgfEmTVKdxWMFVTHL\nFIP59tbhE6CKz9aMtXmFr5dAdI1ie3qTC2wrfJgNoPe6Yo7m3iY8+Vs0zeai\n1Y9mp+WoU8XX90d51AQ3P9urrvGQPHlRqfOoMjHrYEO9R4qMXIV8MQhPf9zq\nHNGuA8RGpOZpzv4mzNx4MvGFPNfTmdaUbGeYMYvRsy6ulWTOVcz4PWdG+TZV\nS8ux9m6oLOzHuRU8W66/AXwAHk097bl7FFVT9A0HobiBklt8rMUiR/WYWvkA\n6meM\r\n=7oDE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPz5AgWPcNOo2DNugEjuJGkfOcnf0ZhvdST++OdNkckAiAZ52HPFkJx7a5zB9hUEVbl8yhpi9lJ6UexmTPCFwgJUQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.3.0-next.1590074065.a65b08a3e8a489badd2da11e587539d84bcbc2de_1590074066404_0.37229830010970355"},"_hasShrinkwrap":false},"5.3.0":{"name":"get-cli-arg","version":"5.3.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.9.0"},"devDependencies":{"@bevry/update-contributors":"^1.7.0","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","assert-helpers":"^6.6.0","eslint":"^7.0.0","eslint-config-bevry":"^3.7.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.2.0","prettier":"^2.0.5","projectz":"^2.3.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.3","valid-directory":"^2.1.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"a65b08a3e8a489badd2da11e587539d84bcbc2de","_id":"get-cli-arg@5.3.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-xUPtZevOgGYJwtV1XdM5rAG1JivPnHG9fEetpih/gmedZVWV4CtTSsMISKvV9eu7gs7M/womjsfwj5IYy+Gr0w==","shasum":"821ed6fd83f795a6b5de102712ecc981650ebf42","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.3.0.tgz","fileCount":10,"unpackedSize":22390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexpsXCRA9TVsSAnZWagAAaCgQAJEhhTWKXsAnL9yPeemy\n+I+tZmOtGH6mNUeBr2LzK8HltFejv/6t3fW6mFUF9bpLCB0tTfqHEcIjkdn8\nAOaUNdLbKkNivUElSUlCpUz65HIQZiZ7PQQKm217ZVS9TSIWIg+n5GIAKLtD\nG0ogSKhryYU4j1R7/72qmu6R+xYX1nGUZz0K9z7KujtEHckuuKZ7AMl94xnS\n6iZQuoEgJufWiGgpI5G9xTkjBV6BaPQ3tPo+ula0OU4z8A2N5xdmOpdLvMpP\n/6zd7a4Y6Qy4U21xr/k/Q6XPKitukvERcNYYjlHeSs6E5HHSvL2KCgQj2aS4\nl2kYtUOTVujRj7/rOgottBqjuYEySkWV0lQGAtg+JstXZLBf5AG/g4nMjVBV\nBhBpdsmAwemFS8b4oSbGhT5JWkERIpPFujISGBL2kLLa2nnBBlGeu5BlKd+I\nUe4jBZW05KwYqueoCh27PMctElvUcnQXyS14v1MqI0wBHUS7UgfchonDCj6t\nu7lNXZEc1uOswgafDUX1wac8FLdICt0FljoNORpPNmj5TiGPXWdaeLxT/A+T\nI/KI1EL07evSWEkpS9/hSfqrd7h49caUrfIn+RNaCFSJ5UmyY5e8DZaO4ugW\nQiMh3S/i37qvte9M17Svu7L6UusqBD4S98icjuH2YgEbDTCfslZ1koUg5urg\npWj2\r\n=H8SH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhrRLPB9bNOU42aW4I3p1TPVLUNyhJSIWpLYF0RngrjQIgZ6PpBPUx1KhoI7XNHwl0f9KAvgPk+6rRFsxQthCZC4k="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.3.0_1590074134814_0.3727039663656284"},"_hasShrinkwrap":false},"5.4.0-next.1591777930.f395d465032b42949ec325119f1af8c82911864c":{"name":"get-cli-arg","version":"5.4.0-next.1591777930.f395d465032b42949ec325119f1af8c82911864c","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.10.0"},"devDependencies":{"@bevry/update-contributors":"^1.8.0","@typescript-eslint/eslint-plugin":"^3.2.0","@typescript-eslint/parser":"^3.2.0","assert-helpers":"^6.7.0","eslint":"^7.2.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.3.0","make-deno-edition":"^0.1.2","prettier":"^2.0.5","projectz":"^2.5.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"f395d465032b42949ec325119f1af8c82911864c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.4.0-next.1591777930.f395d465032b42949ec325119f1af8c82911864c","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-C9xx4ePF87kUjv+wu/YZs4Liijd10pgLtCvpFsZODaLyU7r6LCFRTSTnBFBbnsv+o7IRIW1mWZkKynoOx4228Q==","shasum":"9339a317737c81676236301696fe1538723c710f","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.4.0-next.1591777930.f395d465032b42949ec325119f1af8c82911864c.tgz","fileCount":10,"unpackedSize":22758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4JqMCRA9TVsSAnZWagAAF7gP/1t7B1b8KRHzLdxniJxE\nWq0aHyfaElHQSY5fBNkGYlixp3UOJ7X9bjA3FWw+ugYZ9DQfFGrsF9DN5AsF\n/f4MFjZE0LNV7oxC7NLplrI6SPzm4OAtKEmhB4VBpXsqYY/UvP46V6AY4RLO\nAyC4ya4X867z+Tk9pHPi1CegbJkt9EznOx61NnEdc7O/mn3cbLzlkCgcHd8W\niE2EWN9pBJEnWSqjIpDY7v0xF3FoZWUCxgxkHvuRUyafKZcGEz5VVfYdCmbR\nw49LENcavg7CRiYD/EMq/bhoHvLkC5kji1ko8b8gNFBCIH0vHyYYLkiS5g+b\nezu4rrZuWJxNtYjrhcdxHKZlwv8EyHz6gzC3mVgEXn/j13p+K5BkYOTkeTDE\n7qGTw1Xte5OHysB6pdpkotaeKDzdXBQZHck+7Lz0QQ3XArabGtc/6lb4/Uen\nT5HlVKcb03E25QF3y0UgCXvU86nZcK6bOf9wv9v0jo7MyU3+U52qLqRRkkT9\nrlcoUhpZlinhXeBaah/P6QN57DYl7iFVZ0lD5I6I52sFZH6Bzi4hQBp28Ta5\nNXoAkQEgS8juVuqb0WCQjd25Kzg5SMPuQz2zCu7GqIT92QTXiL/IKwi40t+/\nq+OunztxxS0D9YT2f5xXt/gbiS1zD7LMC5cJGUo1S3nUcJbFfb5tXxrfwfwx\n7g/L\r\n=yPhT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZGoS7RepAvdUluySuXCKLBr3Jd5AtsHT6nl1+yNkp/AiEA4H2Falc/NDt4HMi0A5HblP9t740uCXqshrvxGVFeOYI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.4.0-next.1591777930.f395d465032b42949ec325119f1af8c82911864c_1591777931629_0.827931478867324"},"_hasShrinkwrap":false},"5.4.0":{"name":"get-cli-arg","version":"5.4.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.10.0"},"devDependencies":{"@bevry/update-contributors":"^1.8.0","@typescript-eslint/eslint-plugin":"^3.2.0","@typescript-eslint/parser":"^3.2.0","assert-helpers":"^6.7.0","eslint":"^7.2.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.3.0","make-deno-edition":"^0.1.2","prettier":"^2.0.5","projectz":"^2.5.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"f395d465032b42949ec325119f1af8c82911864c","_id":"get-cli-arg@5.4.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-bZ+YHcMh+Q/uu3m6n8QlK+dRm7xZbgxHdaXD4/Oc57kjSw2dIBo8QoDQW4sCFRaP7KYUhzsWtr7z+KQc+yt01A==","shasum":"d2262e1a271fea934f66a42561a542a73b420926","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.4.0.tgz","fileCount":10,"unpackedSize":22701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4JrSCRA9TVsSAnZWagAA0c0P/ig1UR2oyptL3dPWFhcF\nSN76Gwm3r6Yma41Hmboc2RYjI3PV3qlpli38VnJh0tMyjF0pzWatS5Lo5iVJ\n2004fNh5hY2R/kDn3+2x5d4zEcQvcmK1WdXlOLb4lY1OzIKQD04xIZsFZdEv\n23/n/ASyg5BW5qpRIiLmZzzNPP3GIke2U7MEv2CYLmfuye5r8zath5VL5noa\nuN9zPHyRMlOlqji1rGaggt9fo3QEMwmgoWE6w5ZEpXk9sAfeC8WlLJ0Xy7pP\ngmXFuECD/BUcQKix29Y6KEQQxANoqGnvuLvkS4D2xgdrg7uSoTdsbAJs12oS\nJbr7SwNXgmD3L+c/LxbwTFPzgBGIx53xumzDTSES+5DX/bC1bcJ68OlgsRQy\nmI2WdFghuPt64GEQ+Blco6d8G+GWVaw8y8BkhDeZ+PVWKYVWikiR54PfhoFm\nAOoblbmNmtqWjhO/AMarm7DeATnwspoZohUHkAsBafLKvwfE178olw6SABHr\nJ/ra8ey1vwrkps2sYzmQaqEYL1y6kzpnADSLhS6Ma8IM5Uvjt0Ir1uxmNNy6\neMVKQWO5cC1Og1xFgtAhKcUm8A6GbW+dmiG4wbdPCkAzJX6QmRAfJ+4hca9W\nL8h+dHQLWaMfNqQ9bHu/T2tdHpaixUmcalVispY1gINNnUvUIqNUBibADkyX\nDC+o\r\n=ZMGv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLeBpFWK7YGC9btACOIeL2r9xGdj2uinrdI8oI1d99GAiEAqlOwsCmOjPjqKyIecDH8aZdDK69mMI1DKb79v4wtRYo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.4.0_1591778001934_0.6902479113417401"},"_hasShrinkwrap":false},"5.5.0-next.1591795108.479a5df611151b36baedf452d7aeaaaac2e5d171":{"name":"get-cli-arg","version":"5.5.0-next.1591795108.479a5df611151b36baedf452d7aeaaaac2e5d171","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.11.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","@typescript-eslint/eslint-plugin":"^3.2.0","@typescript-eslint/parser":"^3.2.0","assert-helpers":"^6.8.0","eslint":"^7.2.0","eslint-config-bevry":"^3.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.4.0","make-deno-edition":"^0.2.2","prettier":"^2.0.5","projectz":"^2.6.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"479a5df611151b36baedf452d7aeaaaac2e5d171","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^5.5.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.5.0-next.1591795108.479a5df611151b36baedf452d7aeaaaac2e5d171","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-0kHQGeQUi8dsS/3N1VElmscCWGHetMz8bwhQ6hgWTPzMrTqEdYRfCkiYsU5MbkTUo3BdUUgny2aZA1rnBzzocA==","shasum":"c1bde83877d3977320d08277295c70a2321a2990","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.5.0-next.1591795108.479a5df611151b36baedf452d7aeaaaac2e5d171.tgz","fileCount":11,"unpackedSize":24564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4N2mCRA9TVsSAnZWagAAVyQP/jG9CFaA32cBSOlQskh2\nevQ8ZFgjAxkSxgEmWdFbsYCDGFTF/HqD2nJNdLZGlkHs5WlfuGCpnnBcuPNs\nHVCx3mM+RmZlFChR+KFtKg/tEzwxN6ZzBh7M29HZRt3J2cXiWf9BggnZxcTQ\nvKYJd4e7WhcwdDtAb92eTbuTt82sPaMmdH/37/WrQcyvV03rH5lC15tIWB/v\ncRG9eJLO/ZYVV9/aoi4kgYN96p0Yx3uRyTEuj0rLb3HSpSG8oLR9MRM7zbt/\nuz+8u89Ku1a/CZkMiAWV8NkItQK6oUgRP1EukhU1jb+tgzNMluKp8MxoLWrb\nE1oFRx/m2lA0WEtuS5GnwvZPzN/wFU/OOeIeFU/7LbhGIee2cTtTH0eoohxS\nlUc5n03vZggMMNY3Mlj54FODA82XhEbio5RcgVhdHQJ+8TUfgreOFOAKVZ7K\nNR7BYQB908SU+CenqsfQCZMnI0gmrMp92kx5sfgheZKcFHDKcISVueYynV37\ne29sL2zMivaU1RUYEkCPVCVdonGje1oHTuWs4Ue0pUuS4/yYyNkAAXnmM/2q\nwpVCp0/jNR0gs1I7UxpxbUnB98207IHiDEDQWI70GWTE9NOB3xr4BiqFIxe0\nON7wOZGSiD86Ue/v6sxXRRDu11iP2mTDmmsrKRVa2NNv+oHpFRmHD96/sj/f\nhzar\r\n=mAFE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHpx/jeDRjmt0sV6MdhNGINv0Bemurz1574XgjxVKNCGAiEAvzhDohweSxHh0LiFQD6rMK+rbu4TF2rVwN0udj1e964="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.5.0-next.1591795108.479a5df611151b36baedf452d7aeaaaac2e5d171_1591795110334_0.4390212402266185"},"_hasShrinkwrap":false},"5.5.0":{"name":"get-cli-arg","version":"5.5.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.11.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","@typescript-eslint/eslint-plugin":"^3.2.0","@typescript-eslint/parser":"^3.2.0","assert-helpers":"^6.8.0","eslint":"^7.2.0","eslint-config-bevry":"^3.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.4.0","make-deno-edition":"^0.2.2","prettier":"^2.0.5","projectz":"^2.6.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"479a5df611151b36baedf452d7aeaaaac2e5d171","_id":"get-cli-arg@5.5.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-C05sDES1gJzMJOgtJOasZllba1JEp4LsTumyM8xG6SBZRn5SndNqyiSzfVRhh9LcglCm5hcedz5vcLCXr4IkIw==","shasum":"347e2d32a277fbef4d8599f0f2a18a30063065c7","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.5.0.tgz","fileCount":11,"unpackedSize":24507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4N3mCRA9TVsSAnZWagAAIkwP/3i9kiixo9TEG0nMxpQU\nJNr1KDaqT0QMkj5/K/gDn6cSmULbEjQsneeP2pqQdO1yQuD20Sw+xqTEd46a\nlPSdYx/pJ63xOAGgfWwF8sqqASEH5HsUrEOHl1XbjweTJdh/KKBuAdGs/L/b\nOoT+3HzaxOr8W+njTYwy2Eyt8LYztgKYot2oY2VmHSR9GJcwk413TmNHi5O+\n/xlJjywcExHveaEX+Ipe2soZtnYBcZCWPMrSjBPTMKe1Hh7HafttcsdPBjis\n1lxvHNXSnWPpHYG5l7xw+nXQkwPtKTdgkRg0OzvTL7yzT0MpvK0lKoFZqnh9\nvF0BcuIAFR6qccqFS0I58JXTu/fsAKZ5cv3zVApPRPAuibD7c71c+1Ig6kSz\n6T19Y28jfDX8vd9iRXatBFiWYOhqaDBrHWc6VUinQEZwisqMSzlpOC1Hz10G\ncWU4kJI2hy3Uevdze9u7nlFUxAMVgld02QlMZ4TKGJBkJLI73xyISgxBd6cI\n8yVIH+0A+DX8w5cUPnLS5Pux0erZHuhP3du0qo3Zj/qgkb0uN5TWSy+DjS34\nfwN3A8LLh5qVBvf3PzWGImymYSUKVKGFY+Nx4OYj+eoUAnjH2aDOdW1FeEn7\nBiKCAiHp++x380OSH6BRghE+EA8zFwaCmes189zzkIXmvdUgvZkDv3hlW8vm\n3u0d\r\n=JTQE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFrdMR3uD/eHeFsxV86qe/mGlpEQw5pia0UQEq6bFr9AiEA3P7Oh8TelVETbLJYOkIIqZJXlhdHSNRuLM6KuejPTvw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.5.0_1591795173800_0.1217437557826686"},"_hasShrinkwrap":false},"5.6.0-next.1592612646.1177cd749bce44ebed28faa31ef4644f3ee45c47":{"name":"get-cli-arg","version":"5.6.0-next.1592612646.1177cd749bce44ebed28faa31ef4644f3ee45c47","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.11.0","@bevry/update-contributors":"^1.10.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"^6.10.0","eslint":"^7.3.0","eslint-config-bevry":"^3.10.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.5.0","make-deno-edition":"^0.7.0","prettier":"^2.0.5","projectz":"^2.7.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.10.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"^6.10.0","eslint":"^7.3.0","eslint-config-bevry":"^3.10.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.5.0","make-deno-edition":"^0.7.0","prettier":"^2.0.5","projectz":"^2.7.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"1177cd749bce44ebed28faa31ef4644f3ee45c47","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.6.0-next.1592612646.1177cd749bce44ebed28faa31ef4644f3ee45c47","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/dbW2k38H02UJc8CPwFC7lCkloAkIwNHnpEOoPIk5Kw+u+pofqULRWvRTkEHBkKWjm3vCAF/fFUpi3wsp5hKdw==","shasum":"96698a886cc986d55ccdd5bf81a480962c3b92f4","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.6.0-next.1592612646.1177cd749bce44ebed28faa31ef4644f3ee45c47.tgz","fileCount":10,"unpackedSize":24064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7VcoCRA9TVsSAnZWagAAJsoP/AlMaPa8WE//sj2v0x5c\nolUOVyrgX7Zg4xi8jbNe+8Ow0UMjjMV2c8B5pXdafWq/rQ9xEV2qtbM4CTWb\n2Mlxo+m/SHMYRO54F+UIHVs8QS8/mbi+aloLy+WtBZYascbr3ZUrBuP/+Djj\nLOwqw+/FK1cIAiyKpMCJf5qZ62ktVCpdJHIbnWVdiUD8U9aQdCXbWD9vJvJ1\nsirs80kFpwNRPiWgshqRfW9wsP4Rdd9ey0e3C4ts7vjQcM4kUJNzgiPdfP3d\nEPF0SJDVjVUEVNUWd5jidg8rYPap1lmGAyW9WkbWJ7UywJULGbLdgxZtIzjt\nT3/O8BOlaz73MIVD/WQD062R6pzHaZmNh3UZS3oD45e9F9jBBaIM44gt5JsD\nsREFu6avdgciY94f7dkJvLk3CwavJYOpnKISOFVCgHOFL8lVSKqDEZzq8yWm\nbqRmAxxzAdMgt0Cf+1PNVVa/qM0PdaKRp4xJAglGQXjy47ewqa71nmmEZ+UD\nZ+5ZZKtrWnd+Y4s7QklIuDP0G6XFBOop57ULx/pAn3CPYxrSOF4ux2gtc/RW\npC3S59u2TcpYfOL2gAcCzXgjnyzUqXoXtoN18xYLScBTRoK33F0Ko8fEvAIb\nY6XyDQKvWKi6KUP9xIv5yFpHzx2chYl9BanfqiWJPrYa3CkR2d243IqyEwVH\n7lPg\r\n=eenJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGe/50GrYIBvy1FAUOyHZkxEGRSGD30qkMTc/H0kn3aFAiApF/IxyeilwLgeeu2Nj7HEZlPEBahxMHkdsoItXiFpsA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.6.0-next.1592612646.1177cd749bce44ebed28faa31ef4644f3ee45c47_1592612647944_0.4233971751843486"},"_hasShrinkwrap":false},"5.6.0":{"name":"get-cli-arg","version":"5.6.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"^2.11.0","@bevry/update-contributors":"^1.10.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"^6.10.0","eslint":"^7.3.0","eslint-config-bevry":"^3.10.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.5.0","make-deno-edition":"^0.7.0","prettier":"^2.0.5","projectz":"^2.7.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.4.0"},"devDependencies":{"@bevry/update-contributors":"^1.10.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"^6.10.0","eslint":"^7.3.0","eslint-config-bevry":"^3.10.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.5.0","make-deno-edition":"^0.7.0","prettier":"^2.0.5","projectz":"^2.7.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"1177cd749bce44ebed28faa31ef4644f3ee45c47","_id":"get-cli-arg@5.6.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-OUWYLxzT+25YYsdtX3UxVGyHcbY/ytQfhnN1f92YXaEFXFGFNGGULsse8q4PrryQoVwilpUMN8rdnP3axYuVVQ==","shasum":"842bddad68ff56f94f7ea30720b1f0af1ddbf6ce","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.6.0.tgz","fileCount":10,"unpackedSize":24007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7VdxCRA9TVsSAnZWagAAW+8P/RE6HNx2lcTW4E9M1x7Z\nF9W7ZO4/qYn3V4IioQWxxEwmdsy0GWpM90TBOHmtcxVT8kUo7GyhdRG0zhBA\n9cv+48u3lFD30BvLlzjhxTSFA3cfYaKnoYHK9RR40xAecvG8UtSZAepLSjZ1\n+5dxjdol0tLfIPTMeYsDdI22jYEZQua6mVHi/qG/wHekZtDGzcSXdTy04TA3\nDB6pGjiwtGaSzOXEEpj4TLp+JLTyE5q96Wy6WpnrU1u4xFeoluTQTfGI5E2S\nnIHKrYbsWQC48o+DZuUPKsinKOBLTLnniSbr9zoA2Vj9h0P5Gx4LLWY44Gh1\nLHWGdV8iAhp24UGTqs95q6y5Q0nOr9EAfkpa5QN11zY7MYMu2xlPYUyZTOxy\n6Pk4u1zR19vM+BBbexj55/vOZVCqkhovTYUl2ns2v5ZQEA+nNuJp57K9w6Zz\n+nimcBJKyFgG0bibVPpH0PS4SO4zra8/3C6WDCQoyxCzFKJ+QSzozyCODJCA\n5lNJxCHwsjKFoRS9T3v423agzNkZ1vi9ftwsJnBln+h7aJW7vaUKucAT9nhG\noz5w9BjpP3Vtle/4wvP+lqdtMJ69ARp8oQQfqaXHxru9xTfiJN6DjfgD/tcb\nFgbLE+6VgDgxp59+LM19ZlXAM41r6vnibIzCUtCSs8jZDSNr5pu72cVtdghe\nRQrO\r\n=Io9B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCgeJgKf2mxyn5urYUhdncqWG0NAkYKzncQIrD3xQ80AiEAm4hOoDBswvXpI9WzoAc8RULThI//z0SeNf4yIV27DEM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.6.0_1592612721258_0.5623839594403401"},"_hasShrinkwrap":false},"5.7.0-next.1592693193.7c131b31e6154141c2f29f2f6c103d2ff643893f":{"name":"get-cli-arg","version":"5.7.0-next.1592693193.7c131b31e6154141c2f29f2f6c103d2ff643893f","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"editions":"3.5.0","normalify":"2.11.0"},"devDependencies":{"@bevry/update-contributors":"1.9.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"6.8.0","eslint":"^7.3.0","eslint-config-bevry":"3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.4","kava":"5.4.0","make-deno-edition":"0.9.1","prettier":"^2.0.5","projectz":"2.5.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"7c131b31e6154141c2f29f2f6c103d2ff643893f","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.7.0-next.1592693193.7c131b31e6154141c2f29f2f6c103d2ff643893f","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-E3oGE8h7m7+L2FSl178e6sNu8116/GqUN8yI0ZRkjMhatBmziNCAk5pVbDQeVASllCSkxQ1vYgAwaRZm9oUZdQ==","shasum":"cd1305e9b909b83faa824f9d569fd6ef4f9aea48","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.7.0-next.1592693193.7c131b31e6154141c2f29f2f6c103d2ff643893f.tgz","fileCount":10,"unpackedSize":23791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7pHLCRA9TVsSAnZWagAAZPsP+QHiEfpeEZQNXG6nux7N\ni6tUlqfWXlH3kXvI+BiR9z+VhJw4j06QRYbGho0ZdjOEbxAliT1YtrA/j3n+\n3Pa8pmh7FtWocDAT97Lx0VoF2MTe6GVd3KZ4v+FASqk2m4VgOyL4SkSzbCTp\nikje7qEIJT9w9v5YhFAX5O0sbzN+kz5ex8k8LJvxoxJ+9GZmdhYsdz8fytOq\n7AnEzS51q6Hl8QnzBAtjn8UPH5zBo3hvCv9C06pncflIey/+IFQkpKcFYQp4\n6cuj/v4g3fStAzmquaJPHUw3yomHLPOar/KsHroZIX4MjUtsbYeBONJyX4Zi\nw2xRhP6G3cRMd5tMnCz6po1Wj950v/hhzPbutP0gyPYnqG2Oafg2dja5RoBn\nCnPaacAnC7bwwRZRzrIRTdn+LgqNY2AKZd96nLR6tPYbLz+xYOLoZAN5WvT3\n+0DCga9EUB6bRdTTpYqw8Pl8aUp1bgy+y9KpG8kHfeeEBVJBBOIi2B3GZwUF\nbMRuzruQmJ2y+FzekZFI9FgmsFjf8cZmFAglEXLHgghIDO8l/+ltpRMUR4Tv\nDZMxjPvysdISD1yz6EeA4S+6trCmwphpx3Y9rWI5hwnL9vm0wws6ZKuLAK2Z\nved6l+pGGnb+xLQxrOGxz9w2U3qJyS+rqOVz6JCXSDEFpuxP/tNp5RmBJpEq\nz8ba\r\n=iO3S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRVHDP7eNqda4LR1qxGv2mttmI++9gqSuOuQhjT0KqAAiASLLNb9PADumsCN/1HXns+vTrO3aHsm/ZBn2kJvFXBGA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.7.0-next.1592693193.7c131b31e6154141c2f29f2f6c103d2ff643893f_1592693194766_0.8429083813674687"},"_hasShrinkwrap":false},"5.7.0":{"name":"get-cli-arg","version":"5.7.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"editions":"3.5.0","normalify":"2.11.0"},"devDependencies":{"@bevry/update-contributors":"1.9.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"6.8.0","eslint":"^7.3.0","eslint-config-bevry":"3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.4","kava":"5.4.0","make-deno-edition":"0.9.1","prettier":"^2.0.5","projectz":"2.5.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"7c131b31e6154141c2f29f2f6c103d2ff643893f","_id":"get-cli-arg@5.7.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Lpf1xEIIIme5EshA2ltbDgU/lpfcY6n8ntg/U7++eS6vjwtEFRf6DSGbOq5cqsAdJvO4tqER23+vi7SYlmMV4A==","shasum":"19358bbb17a84030c74f29c355d0981054bcd986","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.7.0.tgz","fileCount":10,"unpackedSize":23734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7pIOCRA9TVsSAnZWagAAQL8P/j1vxm/i2qAWXqZ9zQhU\nVLvLJPaihtqaPsAuiD6Y2az8+c8UcMjg1QaQl4xU9MBhhgJL1qN7BlpxRgsl\nly4hMn3c6S15sHxe++TcRZ8SGMmsbvp97gr1gMb4Z1YeKzXYLMRjx49BP5vv\nPVTSkYt+UJD7CrWw4u7qln7QRZ1td1UjuhhcE+GmubcKpbksIZAoszOu1OZx\nVFjbvElU91rOSYEo4efqri8/85af0L+X2CwSqSE6JWKTUuHqG0wi9hniLHr+\n1WCWdA8psVrk+yEbSYXAc4qnUp4+cDVyzhHVoUeBnoHLECcqvtGGiEBb7JpP\nQM8xLSFa5pAKZbQ/K9QRmcLVeVTSZxfaFEAVM/XOkhSiQG4D6gXHnZCt8JVO\nE8AkOQQVzv4qtVxwdD8x+xajdxEu7TcrmGX/CJtzr4PXCm/3zwUHOijAoM+n\nqVZaW+T0WA7J8+Ys9pQmvpiTt/pNhVWFCqE/irV61ncaJ7wwPWa8bWI4HiW8\nRSZGGfWnmfN/JTCdFG84s6cht1KpFETX1Dy3ZGc1uW09qbxHhS2lTWaSXGYi\nV9ZrGjkCEMhp+aMHJyFrTtUddGKBGPVWq5k/fmmpYRNkMGwSIFMpRteUor6d\nnlVRudOfV1LXqZ+5xIeWhX+GuO/wHlOCDLfDwIez9oE34MNSVgVOJblEznwo\nwkBV\r\n=aHMC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpi6jKCVZxQnayrQE5JgviS1wPi9Gbujis3dZUcjXQvAiBKbclC+QFahwxuD/cUvIqixnEWX/FlBhDEgQpVsIwlYg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.7.0_1592693261912_0.06359085229029171"},"_hasShrinkwrap":false},"5.8.0-next.1592740138.fa399a1923b5c20b3c7a85950fd7c90bd3110395":{"name":"get-cli-arg","version":"5.8.0-next.1592740138.fa399a1923b5c20b3c7a85950fd7c90bd3110395","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"2.11.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"^6.8.0","eslint":"^7.3.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","make-deno-edition":"^0.9.1","prettier":"^2.0.5","projectz":"^2.9.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"fa399a1923b5c20b3c7a85950fd7c90bd3110395","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@5.8.0-next.1592740138.fa399a1923b5c20b3c7a85950fd7c90bd3110395","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-v0lhLthzN8LJX1dM687LhmxaY7aiXmEgeFSlqiccB7BApwA6xQDGmvw3lTfhQywjByInwjMgsmRtKi+o4ZAjVw==","shasum":"a5760a79cd6f057ab5bff349bd76fab354540040","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.8.0-next.1592740138.fa399a1923b5c20b3c7a85950fd7c90bd3110395.tgz","fileCount":10,"unpackedSize":23967,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe70ksCRA9TVsSAnZWagAAeC4QAIkydCtY1JU5/dnxUsbW\ngcqYp7226bkIqZgGcxuH0KmavIB+fQYFV7J700QPvi31pijI4GBc6C5z78HM\n1RV8y3YYJGNlbVqGI9y8KqrY5g/AwBe1ekpRb0XRyz0nl1O7wz/OOyODOaMg\nURbfBnIenVlJqa6uzvQ2+bLwcfh7V/AyDoG+aVZTfwUEkytEEm9TaI7xXnYQ\nE6SoBKvzFYRUv0XSJ0/UshFNl/B/KTGc/pFCX9HORU2tJjnRPB9MA9WLBz13\nIffSKIc3gpSLodcO2DVRvDmmkjPVmJMzyzhy5zT3Qhp4mAlq446uGYst4obD\nnDKezhLqpP9kO76sPiXBULXykcYovVTwHWBCbYjtjMarng+rzDbOcFNFKqwb\nBpwP1t6gHmuBC1dll1jRbUF5LvjHOBKNOZ5qrkQxGiAKsJ+p1IUEa9ASint4\niMQYF7u2OXep1B5GH7KnmEvVxsCmMCmSIYh0DIssLDUse2c6AAN/5G9sSyhN\nQCGMQyHhp9/R6/2+cx58EGDtreBIgiSQpxoDADB3s40GinTzRqubxbE1AGiy\np817iW6Zm7QSvHsytkRiSbCK4/mNStLFpsSpP9ObfoZZ0jDge5uSsvy2B5uZ\nVn3OLnr3PyMS0kjaKQXzAXtdhf7i6gilVdRazFjOemo0lhfO4U4jlsR6aE9r\njhkG\r\n=uhQ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJLBTFGLS2iObvkMEWp1xik/ODvvEueG9SpJ8XNTpELAiAFIORHKjMCENLqL/N75thoXmf/CGQ36linx2XsXwY4PQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.8.0-next.1592740138.fa399a1923b5c20b3c7a85950fd7c90bd3110395_1592740139736_0.8042175485032437"},"_hasShrinkwrap":false},"5.8.0":{"name":"get-cli-arg","version":"5.8.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"2.11.0"},"devDependencies":{"@bevry/update-contributors":"^1.9.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0","assert-helpers":"^6.8.0","eslint":"^7.3.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","make-deno-edition":"^0.9.1","prettier":"^2.0.5","projectz":"^2.9.0","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"fa399a1923b5c20b3c7a85950fd7c90bd3110395","_id":"get-cli-arg@5.8.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-bIDyjolgNP5lShk+o+Sj14TqLtWhNkGCXf6E/apReY3knpKGI8ZpBwkrG1b3wCDwSDifdq/mqfI6JQ6sWQGQsw==","shasum":"c22d531c6347b3a1f70f867fae34491454d05ca7","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-5.8.0.tgz","fileCount":10,"unpackedSize":23910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe70l1CRA9TVsSAnZWagAA/foP/RL+KWtlQjNMNLj4Hyes\nwnLeADo1St/jPiDzOZG/9RepkPVxygmEq38vvmTG1jbwa86c2IN+vFzNfGzP\nL3dVPC1jyvnZU+qExnTq5EUKP5JrzxiY+ofNteobJMlYpAY48HNb7Bs2/RJD\n+le4sYjrwH7V4B4WOT7jhNnEabxX7bCHvnaHYepVyaqSevngaB/QrwbTbzlL\nyET9kfl9Gf2tihcPetu7YNJP76ovedTLFVnGA+kMOY7AZlWoYqXYVNyvFBpm\nRfJ/46HKkuU62X9WyHmU96bgWCC44CE4QNtu9tP/EqcqekHVp0RbFLy2qxFH\nMr2a/5Uw3xC4NtgcHwIrkORxx221PCF1VLihZzuwwizIuZ3t+WlSy0QS3Fzn\nRD9m+KOtEZAXhEPY1v8b85zZgJFoYOy16KWu2NuYL1WqE6IF3NjsJpm86j3E\nJbm37Xd07sY7zD8K+eP9obZeSAUSwM4tni4hwiJU7zWaIs1b+KpDzvcW/oRY\nPqwPFrkKA/tB1eZTFnGz6kjvi4bGoYjJiMUyVcQa6GDdgIn0le00S50FSIlw\nQbSESVmbFhXHkHeRcP3/JegzBTfzVLpd6mqJRWoyRdjSdjzc1I5jt230ZFNP\nwRXUYOyJDhtoswhPhdimNfiBJtV5sLj0UONgIpmBIlGqnpRwnRRf9fNw2URw\nWrxq\r\n=ZwzB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqW0INChtrguxQj62zU/Y64RqaYl9ZLOyAb5RGAdijLAiAPwLVAwo14/CeGdvInskbPr7Bjr8w4AE+Hxpwkz+05bg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_5.8.0_1592740213448_0.23704588025316475"},"_hasShrinkwrap":false},"6.0.0-next.1593042206.9ec964a8721203e6649d551ce85b2d349127951e":{"name":"get-cli-arg","version":"6.0.0-next.1593042206.9ec964a8721203e6649d551ce85b2d349127951e","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"2.15.0"},"devDependencies":{"@bevry/update-contributors":"^1.12.0","@typescript-eslint/eslint-plugin":"^3.4.0","@typescript-eslint/parser":"^3.4.0","assert-helpers":"^6.12.0","eslint":"^7.3.1","eslint-config-bevry":"^3.12.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","make-deno-edition":"^0.12.0","prettier":"^2.0.5","projectz":"^2.10.1","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"9ec964a8721203e6649d551ce85b2d349127951e","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.0.0-next.1593042206.9ec964a8721203e6649d551ce85b2d349127951e","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-DjyoAJBUJ6KybYEc6rQ2DnN6GS3C98iyaGg+NjjAo/Y3pAW5pT2M3C54EGQ1ueajfqg8RvQgxgi1hvEskKyJkQ==","shasum":"087eab524147b0c28e8aee6747a64c68cecf793a","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.0.0-next.1593042206.9ec964a8721203e6649d551ce85b2d349127951e.tgz","fileCount":9,"unpackedSize":24996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8+UfCRA9TVsSAnZWagAAWDsP/ixZqb36prodGSA5pqlw\n+XCVFJ2o+5eUMtiDh61/MqiV1UFcSqv5/GHoi/roXAtCHL2PEE/QoOkuHuNq\nPkcXoBcXWEAsmrHq92COcQBv0l8OekRlC6KYT+vtIM8vAm9cvGrfiXBvcdhp\nJlYOKQIWnXygVS2AYYVgP7vJHzJY44aSQQgoZPOWkEFuIq3Tmo4LZpjqUQqv\ni0/yoDh7iYg/hgDW+UVt1N0u41zGh/EqzfceilVguj8H2h4scc041u+8F5MF\n3OShVVPqAegBJZz4BCzfPvm/0dgIZbgMxYtps+fPvtfYXfzkS6nSQSgI+9vJ\nlcmlXasa2m9GGV686CTRXKghLOP8bfaWKuA04dF8odXwaTb44Q4L4n2bZ6+D\nabXCb7eou1guzbj8ro1/RAJpGfN9rVpDeveVWXOwggV+BoWKj+xqCGIANFj0\njKKMEfsmB+LnQLc5oiR6BnqEM7IH3e9nbXTlplCdsrH8rUFaCt91R/nQCUqx\ncHHOy73TR9zGlGf0C81VAmuNjWdZTBSF02qwb5YEhLnlDebn3NJlSUvmAQ8w\nMaQTkt3YnrZx7kRFyyXpYU7cWX4Ux/MRC18X9EaHkjm1WpWBWsYMqqEXVqhk\nkJDvfue/v2MpW7hgjyyGCmj15FN5/9py1x90tb3qIDfpX1pmD9pE9Ed8LXQa\n3OXL\r\n=nq08\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2XJLV/9LmPGab4uw6/7KiB+c1wkCUW0LyE6EDB0xRCgIgXuC9yN2GvJYJ2WwwPpTTtnPvVGMc3KRKar1M9qiFLLs="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.0.0-next.1593042206.9ec964a8721203e6649d551ce85b2d349127951e_1593042207454_0.5576027327078954"},"_hasShrinkwrap":false},"6.0.0":{"name":"get-cli-arg","version":"6.0.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"2.15.0"},"devDependencies":{"@bevry/update-contributors":"^1.12.0","@typescript-eslint/eslint-plugin":"^3.4.0","@typescript-eslint/parser":"^3.4.0","assert-helpers":"^6.12.0","eslint":"^7.3.1","eslint-config-bevry":"^3.12.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","make-deno-edition":"^0.12.0","prettier":"^2.0.5","projectz":"^2.10.1","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"9ec964a8721203e6649d551ce85b2d349127951e","_id":"get-cli-arg@6.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-FVb9kHF4u4GYuJeyPXeIe0QceJzJbfLClRiWA91QT90qqup8LENE0wIv2XK6FgXlhRJ9R4A4DJpLFSJKWcIQjA==","shasum":"3509dfce14d48f2cc3a9fd6d6798ca4cda873b2c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.0.0.tgz","fileCount":9,"unpackedSize":24939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8+VpCRA9TVsSAnZWagAAqwMP/1DfhXSLe+9YLUM406BQ\nowe+s8P4NqmwBdO1zmQ2RXE4V2BudwGkRLmRTCUIB+xvG48jVTBR5FHx0o3o\nGo1sSN87Hcw8ZVpSWBP/VnCTKbAfBSSVVfdtGEEXcm4k1CZ+9HbV9s9Sb03D\njAHXCvy2cwgH552wO+qkvosWRZ/HW3lkPqAlwsnvIvAXEYaTDSuexq/BZNZs\nqw+Uuw1d05f/L/GKZtgt7l3ZaVLjDVkZK7u2jyH1KeO6KkIKCTDrZKzAnfVi\nUX6knujbDeLc4e0Pia6359Wf2cXDk6ZYeNqaYqr/5BXz+IHP7nYA4ejKjXRt\ntkWlCqtyturDWEjXEkuyQ1lpQC7FOLo9Bm2UJa67bIytoGT9g36mqZMxaStO\nZgfMSDH61ftxqulmb7IhAGO+1yIzhbCoxkgYbqkh6y+jCpZop1Hq1L6y0ABi\nHk3/i/3ln5aMJcQP0mQxdFNw2GA2r1WsPo0bVm5Dug7eoja73FMt6sXvNpFt\npFZwYcd2z5nn6Md1Nk9tY1rCQPc8wYOJ3zjh8ayf2R2Bc2chSL676HN+2p+e\n0EbS/ls71wu93CgBZiXEmRLc9d2z+nYUskS4HWO26fNxAtxIxI1bc4DAYCKE\neijXQrXFE71ZFsriT2WS/RECq7yV5j/hKAyvkhojRun9EH27pZooExXbmLkX\nHAtM\r\n=Bfs0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5bUgKcR+Jobtb0hdZwjJGdPNlmBNkCbNZLVeB4yBygAiBhE289dSHLWpH4WzLqNs7bGlq3bqLuBWp/HoDNIzFamw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.0.0_1593042281332_0.13218361980734827"},"_hasShrinkwrap":false},"6.1.0-next.1593053857.e5b140734db9633b39aeddc177bac3e376f5a0a7":{"name":"get-cli-arg","version":"6.1.0-next.1593053857.e5b140734db9633b39aeddc177bac3e376f5a0a7","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"2.15.0"},"devDependencies":{"@bevry/update-contributors":"^1.12.0","@typescript-eslint/eslint-plugin":"^3.4.0","@typescript-eslint/parser":"^3.4.0","assert-helpers":"^6.13.0","eslint":"^7.3.1","eslint-config-bevry":"^3.13.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","make-deno-edition":"^0.13.0","prettier":"^2.0.5","projectz":"^2.10.1","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"e5b140734db9633b39aeddc177bac3e376f5a0a7","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.1.0-next.1593053857.e5b140734db9633b39aeddc177bac3e376f5a0a7","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-n7ei8L/oDKHxIPG0BgqeshBsUQfg2nOXaVSF9wNYCerQEDSJ1+p6yiqUWyahwDx438RaAwwC4rv3Gvo3y5NxzQ==","shasum":"fe56bac2c3ba377f8b06e9c485e06e4410daffc8","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.1.0-next.1593053857.e5b140734db9633b39aeddc177bac3e376f5a0a7.tgz","fileCount":9,"unpackedSize":25190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9BKjCRA9TVsSAnZWagAAOX8QAI5KGmJMTTLq6YfbiVkE\nYmL7Mc47nZrtQDK7X4tHc77cPo50CLL2KNhdd6clHIiZk8rKo1Tciz8P1IF0\nHvXW9wEofT5s8FZfT+Rj9MGT4pG8iiAUL0ZdodhK7AcnPJyYLYsEnQvEeN8V\nulgvj3yz1GU1pJpkn417SkO9e1lOLf3wpvmaYOb+bOrkJTzFh8Cm4DD1eGuN\nfSB32dZ3e2Vv3wfCC/BxMR4ORXAnVPkJmvDlWHMatYta9TX2s2zK19Qcppla\nltLX8hqhyU/iV/UvXMUQC0ciSb8TUS4fraedsfcDUUmJaxZ9+TXakH1r/SqE\niELrnBKpHY4ccOxqjzzdhh8A1RM7laXhcIfdXro7+LPOvJUTmS5uHZNvKbsL\nVboO0dgcchkKztxKbmW2KIYzQnh1nf/ku8iK0CosLqUMlGrh+VLU7OffDd+A\nhborU+JCK/ReMgRkI2+EEsdVKiR4aa/af24RCu4348Dnvvw69gSL4ssSXV2V\ncMmCnUByJvb33eYUhuFd2MLWwbnZ1fd+IMRXklqWqIiDhL8jpBycwmyfSrQb\n1n4ysQlEl88ELyRsLHQX4O2FSofEhxCF5wJDa3G82nTQY1vqiEDLHsX1uwEr\nnV384Wgf6qxe81TWNdmkxQlmYi6r0uUL3QfeC/9/NbRxGFWeHGyuEHg2wKg2\nMZZf\r\n=uxRh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJtSt/HxmbS4KuJN+FRheAwBNMnB2EhTH1Fm6nlHplvAiAw/lMgGd3TTo4EchO9RJ+I69XYf80hX+gQUKohct/7kw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.1.0-next.1593053857.e5b140734db9633b39aeddc177bac3e376f5a0a7_1593053858540_0.8219396575463787"},"_hasShrinkwrap":false},"6.1.0":{"name":"get-cli-arg","version":"6.1.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}}],"types":"./compiled-types/","type":"commonjs","main":"edition-esnext/index.js","dependencies":{"normalify":"2.15.0"},"devDependencies":{"@bevry/update-contributors":"^1.12.0","@typescript-eslint/eslint-plugin":"^3.4.0","@typescript-eslint/parser":"^3.4.0","assert-helpers":"^6.13.0","eslint":"^7.3.1","eslint-config-bevry":"^3.13.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","make-deno-edition":"^0.13.0","prettier":"^2.0.5","projectz":"^2.10.1","surge":"^0.21.3","typedoc":"^0.17.7","typescript":"^3.9.5","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:deno && yarn run our:compile:edition-esnext && yarn run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) )","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:docs && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"yarn run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"e5b140734db9633b39aeddc177bac3e376f5a0a7","_id":"get-cli-arg@6.1.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-7x8V0CplBLka6zLBZMpnqpMw4IfRhbiUPIvwGwo6WKwocVeZnVnnH3UCvQhcdFlyomISpWgxKYcPzm9S4TJIdw==","shasum":"f28b0e4277b11c11f0c4c3f957b4e3374344831d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.1.0.tgz","fileCount":9,"unpackedSize":25133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9BL0CRA9TVsSAnZWagAA2j0P/3vyaldBjoD1exq3Wwr/\n2O2DszUaWykFma5b0ep0H4qwZbRQup7SB4DH/2pI2JydO85uA91NlPGtfLeb\nfbOdPxqDP3KOgF8xjqbHZE/ijxp8QnTs9MCFMaNGC3FakXGD8sipLPSlBsfR\nFEJHLxsa1eaFjvRlGQqAs2WAjyQUJS8vTwDk4t8Xp29eZ3/3iiZu9PoyWzLM\nBvvYpRK1YGQp2RS+yDnYfparwaAN9pt7qaVb5zNQqpQTOx6PECDGSiQdKCDe\n/zfUmjBsxdjBVroT9w2oD0MldR/4okcCUBv0A85siZXItGtR58XdHh0sHRm0\niaR35BHBsCS1tR7R/nXP+E32xoPNBKfjmmx8obbpd+x5hDhjVRbvt6rrdv9p\n8ExVqqY0RRTxDjBthaQfMaAGmRAFDXfw1Hlbc3B3nNNA3pgS4GMIQ9UrdOqy\nXd1OWadJuiOzl6xGJGW90OKvkHNVg2M8Qd+j5je+JZn6HqXb4/pHiErwI/XJ\nFyCPdAWmVg2ZULDAjQoUpZH57ePb6ucI3OZEmmR1YRfOtQgQVbAUPSfNabXe\nF/qPFWshBd6lKHdqRkcjAu24cYTWE92kr4OoODSjcLIXii6RLw7EJ4SNfBhV\n8lh0DKSChA0oefz3jtd+RxE3RaoOrlduYlpeylZq+nu9SBwQRlqxbbO/GpYC\nk+yX\r\n=OMWa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwfgHkmNagnh1W1w1ixfpROxLxxj6q0uW8A94ui91g1AIgWD7Ji91mqz57fXKLitP1R6da7aQxNmkCRXOY+taYLU4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.1.0_1593053940204_0.029242117307078708"},"_hasShrinkwrap":false},"6.2.0-next.1595339959.56859f8ea98f5cbd903a50e24848200af35acad6":{"name":"get-cli-arg","version":"6.2.0-next.1595339959.56859f8ea98f5cbd903a50e24848200af35acad6","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","@typescript-eslint/eslint-plugin":"^3.7.0","@typescript-eslint/parser":"^3.7.0","assert-helpers":"^6.16.0","eslint":"^7.5.0","eslint-config-bevry":"^3.15.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","make-deno-edition":"^0.14.0","prettier":"^2.0.5","projectz":"^2.11.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"56859f8ea98f5cbd903a50e24848200af35acad6","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.2.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.2.0-next.1595339959.56859f8ea98f5cbd903a50e24848200af35acad6","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-A+sbns0sCFT+n9QDDCBZOnZOuhcKjGpt11RR2QdWDud2t9sbErSTLv96yQl/C7lSU89PS5aR7mwwTcT7vo1IbQ==","shasum":"f95eb9e0be77672af1dc97ffa23697570da896a9","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.2.0-next.1595339959.56859f8ea98f5cbd903a50e24848200af35acad6.tgz","fileCount":13,"unpackedSize":30186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFvS5CRA9TVsSAnZWagAAbEYP/2itgqkbb5lCt68TBtQR\nLNKlx3hw7Baaw1f3S4XZLIbqLt4x0PNEnfrCOYZdAtFhiCcvqe0jJz/zV717\nD8ZLSYK51iGbZJYOeGai9kxC0h6ztZGJXHq9Bkfg93AIbI8Pzw9deVid3SZT\n7Th1B1qSohz3Kxwncjia4m5UyOlNYjEFRCFW2oEY6cYHyZ9CptNR3sPk3G4I\nYOoCqQUlp9fgvMyMkOY1uqc4HvkMlasSPziCHVUbZXmIc3PHXgC8QkOgsloM\nFF74gY/m8boWMaGOUdyaAsW7Jp4AVC+aJ737ry4coNmyG2UdRCDoMLcKDNvk\nWG5deZ2teBdL3YSTVwyhfN+hk7FDR7uRlivc89hWnXOdUqGo/0QWx001jOKW\ny4J9OVx0kmxZuzUPJ5grbrsGaMipyPNHjaGfpnCMoojwFgO7a9tdM5QbRNrc\nG3WbWw/coljG37MCU3qfu2TynqPlT9uQST9NQFztk1rIpXkHZ2ZIGjpl6iuZ\nYwKxCsBWOYY09bzu5ovKbhzCevULBfhXF3l+R2qSDGoo4xys8AlYw/Fp4Jsx\nIIqgw+W4k5nvvK4i+PGneiODzBpXAtDRwhrGzMHzflI4cSkakvgr6RvXiAe1\nXK+6NHvKE+KrUPu+8UbANce9nxAUWWb2FR34ZXQL2ItIDQhOysfQkAWjAF87\nY3UN\r\n=5y1a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEgJPGDuGt6d/vNCHTH6HLO4jJmKoHRTi9LvtO9vt7OrAiBXGCM3Vi9UZs7n9HbBupEli239kcuSNRlfANG9VHqagQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.2.0-next.1595339959.56859f8ea98f5cbd903a50e24848200af35acad6_1595339960457_0.5058441542414571"},"_hasShrinkwrap":false},"6.2.0":{"name":"get-cli-arg","version":"6.2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","@typescript-eslint/eslint-plugin":"^3.7.0","@typescript-eslint/parser":"^3.7.0","assert-helpers":"^6.16.0","eslint":"^7.5.0","eslint-config-bevry":"^3.15.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","make-deno-edition":"^0.14.0","prettier":"^2.0.5","projectz":"^2.11.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"56859f8ea98f5cbd903a50e24848200af35acad6","_id":"get-cli-arg@6.2.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-lAj8SCL0zDGIqJBCb431zqowfxMQjIP1NUiYZThD0BwkJhksGdVE7czbZ9jf50VG3DNtnaSCbTDKV5f6SXpTiA==","shasum":"dc6a59b5a06e22803c48bf7c3cecfccdf9ccc885","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.2.0.tgz","fileCount":13,"unpackedSize":30129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFvUaCRA9TVsSAnZWagAAJE4P/A1hKH1caALF7l9jaSth\nWy6Y7lQamgN1GR5nNGHH2XpWljkg28CgOk8R74WIw8jWyuJAT4ZimYqYqaMc\nvnCM+/LZQQjrcuN7o3PFxI4kGrEeSSM1emI8ucCzwExY6X0olJn5C3sp/mH6\npAYIi1LAvolU2eCKD++ZeFHiHpqj6MH3XY0pbRJMhPyZvUAtHVroU9kq+XM7\nMf9D5eg8pabG+DSbTLKw5RrbM4ne5PZj2OL5OtU/N2C7x/5YC3xBW9iLrUoG\nG9b525hWwQkRkaXIsWOfv2k2JUvgSpEZVPnqTC4ziJYU3AtaErsb7gQEcPxQ\nIL/BMKk5zTD/K4N7RVoqMjSdcLILI72ST7Q+uw7oI/wKRKBPlR2BVFz/NWy9\n9WW+ruRipOZN5OYS1kMw8aKavPGuKDpbgGAPGsb6Al+VfOadSZcKtySIMwdT\ntBsL+VLntRRReJqu0AlRbis5S+/13IOe1vcndU8iKGpl3EW4IbJp+97my87X\n9WRJENWK0wSCRruMIJB6k+rRxPX2zMRetxSeyvByAmqVEUJwBtUlY0ampU3Q\nfn7FZlKFKRMcYZGcd/onfji8hBoDGmbpS73TUmYhP8nhNYW/RC1UtEeBA6Fd\n61w/S14iD1Lj/Fz2UYZCJepizJaamWYsowSSv6bBLbswBrdDdASfyrNJ+t21\ndOvM\r\n=9kcp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOu0XgQbnI8WHEb/5NWIdtdvIoUQPPcowcSNnkmF6G+QIhAJpWPdsYQXuCnomVgNvozqwhAn82jmD+9vEiA3glFqfC"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.2.0_1595340057901_0.9801653806253949"},"_hasShrinkwrap":false},"6.3.0-next.1595345250.760eff60cce2d7a7bac7a457bab8319c9c52ecf6":{"name":"get-cli-arg","version":"6.3.0-next.1595345250.760eff60cce2d7a7bac7a457bab8319c9c52ecf6","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","@typescript-eslint/eslint-plugin":"^3.7.0","@typescript-eslint/parser":"^3.7.0","assert-helpers":"^6.17.0","eslint":"^7.5.0","eslint-config-bevry":"^3.16.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","make-deno-edition":"^0.14.0","prettier":"^2.0.5","projectz":"^2.11.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"760eff60cce2d7a7bac7a457bab8319c9c52ecf6","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.3.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.3.0-next.1595345250.760eff60cce2d7a7bac7a457bab8319c9c52ecf6","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Sc7MPcuRMg8JiYDIWfr1RXTpReqYRFLgOIm30rOuko30KNEDe7J4InO1Ae2JmaIN6Sx130zDUTmZwzjvfaEaww==","shasum":"57ca0315eb71675bcdff9b3df05d9905bb611ecb","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.3.0-next.1595345250.760eff60cce2d7a7bac7a457bab8319c9c52ecf6.tgz","fileCount":13,"unpackedSize":30380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFwlkCRA9TVsSAnZWagAADZYQAIsDJK5JKHrbz66I1UWf\nlB1NpWnPXuBTzFOd3ySy97Dg4gOG9Dv4JPBFudqDWTz4lrbDU/qANqnB6Rqz\n+iynBi1H58vJoQufJ8wkEd5uFMbhWtqQKfH/3p+UgJjhRBoouKcMJAYK0hDU\nEEynVuNJXIudm30A9y6YQC3FvSfDB4C74d2ak3s7wZlXQZ1JX9mKeSbLVOaK\n8t5B+Oz2w8baH0cWflPMlbKbQaErk8Qdj0ZSrBB32pxrTIqBMZlDWz7NYRrL\n2+LUQL7WJwQrsqWw9BKUM35m1ndEmIWJeOOlwL7Ntnu7hzcmPzkI1k6Tv0uU\nceCa09Ky0fNYByNm/XO2kC1FoBExegido8njz8vjuf/4rfkisnQiar1rG+Q0\ns5RF2N5LukjK/mbFu/mCsi8V+FD+d7Seiq7LqA81E0UAuA1vmBuUTaD4p5Ue\nDhMXMH/xPYZhVEYz+VBP7EzRUuoXtj6JCWObDhkiMVqRKmSSuzA+WXbz9FuJ\nJ7rpZcf3SMk3NaabORoSMsAC+6ZtMZ9/qk2gpIulLDwGy+BYSZSnQtmGp4X5\ndItPtpU++dYoG/LawCMBC1AdS90doJfsZsaUlHVLJrFULeE1dMSaFhxu0HJb\nLVmBcNgCmdH/Nls1KW7s8OKmhGZBnafgKJpcBsFejqm1DD6AiA2IddzQicdj\nrhdP\r\n=MwQB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs5MKa5WOSzNg/X3+4CE7lzxQA/voJNMPApHXfM9OlbAIhAOmTY/kVtco/gB0VXek6LrerJagCNooxramR3asNCO2w"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.3.0-next.1595345250.760eff60cce2d7a7bac7a457bab8319c9c52ecf6_1595345252082_0.5551874108748647"},"_hasShrinkwrap":false},"6.3.0":{"name":"get-cli-arg","version":"6.3.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","@typescript-eslint/eslint-plugin":"^3.7.0","@typescript-eslint/parser":"^3.7.0","assert-helpers":"^6.17.0","eslint":"^7.5.0","eslint-config-bevry":"^3.16.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","make-deno-edition":"^0.14.0","prettier":"^2.0.5","projectz":"^2.11.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"760eff60cce2d7a7bac7a457bab8319c9c52ecf6","_id":"get-cli-arg@6.3.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-emkAvVfdXlQQLzdr5ICtdhxQ3p2MrijR0rBGNLbyxmmtqzTaDe4qrumDfhhM19/FvgdcmmHwn6qNF8T5j4QXYQ==","shasum":"8a11b156e328a6ce20a62d4c73a38103b2bfacd5","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.3.0.tgz","fileCount":13,"unpackedSize":30323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFwmtCRA9TVsSAnZWagAAytIP/1t0BcF7Ghx7ryTCHWi7\nVhkx4qAJ2sYL4S011MBW+nzM7i6tl4y3H1nQLdM3aUyA1h75R+XcfdEThmFD\nyFHbr/sjLTHY2pOsjZtDZPdSN+lYvJSYYveCmpoc2mI2j8L7rTziKtoQOWyh\nertVFxREQR8ePCbGCV2F616PBGP2Pj1I4L9SXAsrX2tpU7do3pnmmFzgVAh0\n4PyNwAfyA6llZbFH6yufb6fkwE6qnkaW7SRNYNcN6rVimZnAbdz/Tl8laA8y\nahy27+RYzFeVKVrytQmOIVh0J3Zzy1PxJffgTHIrMXoX3yITstPqwPmEgVCi\nXqIspOcK4J2dSph05sokix5gKsys2w0UA5FaxfGIvOWu8w1nYOhBAnpxB0y2\nbv7ZSfx1O8KewFtsf61mRLa1CNe5FzFXNPgz3yhf09/EohHLE1T3egBLMmij\nxzzX38rCRhf3V/Z3klvc5MR2QIZWOIDZTWeJ8yL98F9yeuco1jf4L0Efzayx\nGtD17Y5TmCkJE0RozWQmaEBxe7xMjoqcMB0wLkIPIrZ05+4wNUcVHevMKt7G\nbqHZXz6NntRO/5Cc/AQYUnMWW8xvgsiXVG44Yvcbh4zgYDLVnplYIub6xmNh\nHwtZdHGkSQDpS1Cmi7OHytLW5HjwGF2saCrTr8WIIqpj/pVdt53aVqn3ec8B\nrMcN\r\n=YkQv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvE0vzdJqeY5e8pLP7+5VucXVH/ktNxYgmlTlE/f1TmAiEAh5YKYUHvo8occDGWvRzX0q6ozlik3YzdGQjdVPHX9RI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.3.0_1595345325359_0.32314209665747384"},"_hasShrinkwrap":false},"6.4.0-next.1595353743.8a84105ab310f00684ae057d560963cc670cc100":{"name":"get-cli-arg","version":"6.4.0-next.1595353743.8a84105ab310f00684ae057d560963cc670cc100","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","@typescript-eslint/eslint-plugin":"^3.7.0","@typescript-eslint/parser":"^3.7.0","assert-helpers":"^6.18.0","eslint":"^7.5.0","eslint-config-bevry":"^3.17.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","make-deno-edition":"^0.14.0","prettier":"^2.0.5","projectz":"^2.11.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"8a84105ab310f00684ae057d560963cc670cc100","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.4.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.4.0-next.1595353743.8a84105ab310f00684ae057d560963cc670cc100","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-FWQ3gv+dDO7ZS1NpGybS8/jlTT9u3EMi+ILJk2/ySniD8yuKudodXvOnXoVymxOUKnn+pLP2S9A4W0ikZc6vvQ==","shasum":"0983b432b22b4d5174847274b16677484b9ec4c8","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.4.0-next.1595353743.8a84105ab310f00684ae057d560963cc670cc100.tgz","fileCount":13,"unpackedSize":30574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFyqQCRA9TVsSAnZWagAA4IcP/jKiDZz/4pIF35QBGjx3\nDNqgu7aDFsBvsbXQyTagV0O7OH2uxsYaXSNKFsZa6CZbeRVWpDA/bN4e6GGm\n2RTf3rk7TDdsk3kcnNjbsw+sv6rhCa0JO5mcM5VBhBYYVEg7na3rHmZYnk1r\nd9ZTNmaL7IM5FWoFybASLFbDxZg9/jDXjgly9M69bajjg9cqcoFvIjboqbsa\nG0H9q7Jj/lmirxXAPi9z7pgaZ8aFrO4xC5fE0xhDcmMcV0zPlUmO/C5ebqWi\nGFU6XGbLopwasNdYvTSEJyphg9JPsf3G70bb05TiUwr4VUfJgEEnR/oyPneJ\nMUmgx1jM2lzYOSO5rPq2wbCv8J8n5noYwhJy+ZXqMUWHaXnzotjtGGwdgkHG\nymQVYeub7vM2Y6Cv2oFDNgw7iqjbhzcp69CU08TZxZA00j+WDo5BSkB3CHLN\ngmieycpWJBy3h8fKpgNnKdnQzWw5f8jyHHohAa9D/Wihs1X1Jorewe6sCUB2\nItoCmBwNBrMYBcFbMzm8jpRj8kKNYi57/MxtE7NGMSFkkap2ySnoo3m3gITt\nB56OwXzNvUHLlBFzi8CaxH3pdzX5fFrVk/gf6WtAhEfe9HqrXG4sPas5akr6\nEiZVpHg6qdQqxxQWZHN9iN4tuJI2poGa4outqC5kTFwmFw3JserGA4SVcgNL\nNWuU\r\n=mOvF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH90VORHa6o7BvmR/GyU9eWM9Qn0dukxkjFdFbHY26HTAiB9DMpORHXaF8ukqQMvh7mZtfZ8+gf/Es91xek5BZKSgQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.4.0-next.1595353743.8a84105ab310f00684ae057d560963cc670cc100_1595353744379_0.2592289889286259"},"_hasShrinkwrap":false},"6.4.0":{"name":"get-cli-arg","version":"6.4.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.13.0","@typescript-eslint/eslint-plugin":"^3.7.0","@typescript-eslint/parser":"^3.7.0","assert-helpers":"^6.18.0","eslint":"^7.5.0","eslint-config-bevry":"^3.17.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","make-deno-edition":"^0.14.0","prettier":"^2.0.5","projectz":"^2.11.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"8a84105ab310f00684ae057d560963cc670cc100","_id":"get-cli-arg@6.4.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-vH0Zd/eFvBEYcL7PlwhXAYXuetCFYc1LzaYUsYtDZRVOVnJ8EN4DcawJ4yGNcvuxz/Z2aq7gxiKyZCrG7bgd7A==","shasum":"97e7cc6462aebac02b2c3ec5cf5bfb3d6a4268cb","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.4.0.tgz","fileCount":13,"unpackedSize":30517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFyrbCRA9TVsSAnZWagAA9M4P/jHWA+MpypnDlHLTYHwc\nsZyC3Wlh56yfcRPa1Hf+Z9+hhCLg6II+FFoWKKAJklWRjC1QwO1uPYm1dtCC\n/LKGwxClGgLvAAktR0bhT8H0MjyzD6Hv6sIzwB3PEIm4dBsNcZdJiK+hFXQu\nsH3HvPmPduJ5CRyWHCYA4vsWHVOvDjhaJQ7GyayfNYhKujJK6CKiqdOsoEzH\nX2zAHTuQNDnUdiCiPKOpJIzEgikveIDrVoFxBYFLbFxjPRjG0ZalaLCIJWbj\n+8UkytlZlv0yMU2Vcz8s+RoDGRfP6fB+nlvgUL/uDB3s5fSxIasJ9zf54B5D\n0SgMgLY7WZPBrsM2W6ECCrH2BDAj/gc+p3Qv2Lre7WPEXEUNEMiVsUwV51gB\nDwB68YraWce6+O8TtwCKZ341gMVZmZkfR2Uo7YoEaDXIQ1wXPBANOX9t4DCv\nEgJhK4LLDtKboFiJ8/LifaGX0zS4ZOqMtvIPJGjSlAHW9Cz8oEMIulH3dV0I\n7gygYKAsaCIAnwL+KY6P70SYpro9vnRFd7LT6oJsJdJ2/+F1ckHrX3Zl5Afd\nJW9AGIWImMtQziWtTgcUlfj9Go9uRkEyaAooq3vgGlqKmcfa8JHf5LYCv6JJ\nWtjOMyNK29yTrCJXJSMVlMe8r6Tr7IQARqrEFbGSiIzzXqX4jWBYxHfHQFt5\n1XWc\r\n=VBqP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFzJFzovyGCpXy963jPMzb3UUOv/qut9iYKC2ZQ40kLAiBq6g5Dkk86s7X2smlHn7bYvL9JnSvXPmm1Aj6n693Ucg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.4.0_1595353819116_0.07951269269591976"},"_hasShrinkwrap":false},"6.5.0-next.1596515053.ae7277d829dd09cab9c6330407c074579ecdf558":{"name":"get-cli-arg","version":"6.5.0-next.1596515053.ae7277d829dd09cab9c6330407c074579ecdf558","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.14.0","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","assert-helpers":"^6.19.0","eslint":"^7.6.0","eslint-config-bevry":"^3.18.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.9.0","make-deno-edition":"^0.15.0","prettier":"^2.0.5","projectz":"^2.12.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"ae7277d829dd09cab9c6330407c074579ecdf558","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.5.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.5.0-next.1596515053.ae7277d829dd09cab9c6330407c074579ecdf558","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-GozY14N422lE6te9kKwdKXEqMm9mUcPIiBpRYMQKslnzfby7jT2NXkqZ2rIqTUpjMDn65wOQJeQ2iiotEo7LLQ==","shasum":"862e601cae731c7a80d340faa9927e8ecb5367d8","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.5.0-next.1596515053.ae7277d829dd09cab9c6330407c074579ecdf558.tgz","fileCount":13,"unpackedSize":30769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKOLxCRA9TVsSAnZWagAAOQYQAIBuw3tCTYZcyJSSfrXP\nqE8jVIzZHhj02hTHdt6/dtwG+mqXNGo5A9C4cgQT/Kj4NpwJrRl6stqQUYRE\nIkxO/nUm0aMXt6jAk2JnuclrtCIo8vUtHgdl/v0q4gUt8nrKCkvkZxqVJhDJ\nOOk+S32cGB9ARTyNg2bgR2F5OVkNxN2DrBkcEDqdtgOSXwjgJqkjjlHfNFjG\ngDph+ANQ4hJNLOESIuzaxI9PUHB0gmxZ6nCaj6fpUKifyGwjK0eBeGl+756h\nd6Y+DQaUBniJI+MiBO1TSZxvGtIhaSBEE71rZe+LW0LebSxbltSyNV0mXsf7\nJwymGVjRfcKYine11whi0suXPdJg1x/RRfdeioWmpfILx1vtaggHgGazIjgG\nb+OWWKK5jDUFanxeVhQZjv5WjlppptN768IwhH1MIMQdHkc6FSVlrAzSI2Xb\n0zq+rweeIgCM17VOTlff9XoXb2MxOiDSsJRQCNbalSc1J8XiHp8cAMfuzh0J\nHxrAoNN2OmIir0297UUdL+VupzaGbTHXzX9x/I3K9LepWhJmvqBockCRQnRS\n//DkgtuHYEp14W+dL4MNf7Qfyb5u6vQBZca5BACmaUWu0A3F/AE4GgRQ2xAc\nCNJkgqDuR6kggbxvWz/orE1dbPzCBKemJkyvvMeWue+XSdaYbw1wKyUHTmZH\nfq9W\r\n=Ifby\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7g8fftHRI53eE5Td3/sBt+/hKq3pEx71puVsghSTQ+wIhAIB43noYmnDQbAjtxicEmnQwKm+A/+TFVnP4xB7+2sql"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.5.0-next.1596515053.ae7277d829dd09cab9c6330407c074579ecdf558_1596515054906_0.3513227441261273"},"_hasShrinkwrap":false},"6.5.0":{"name":"get-cli-arg","version":"6.5.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.16.0"},"devDependencies":{"@bevry/update-contributors":"^1.14.0","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","assert-helpers":"^6.19.0","eslint":"^7.6.0","eslint-config-bevry":"^3.18.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.9.0","make-deno-edition":"^0.15.0","prettier":"^2.0.5","projectz":"^2.12.0","surge":"^0.21.6","typedoc":"^0.17.8","typescript":"^3.9.7","valid-directory":"^2.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"ae7277d829dd09cab9c6330407c074579ecdf558","_id":"get-cli-arg@6.5.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-39ig/rRZjibbGPKWRFiYPs0nNrUgyfkCv9Aw6ArHFn+t2+Jfk+z7WU3oJkzEVlnWwCAnbEMsb6wrPe02R9Q0JQ==","shasum":"7cff7f3a223a9571afbea61f2d072b765d009483","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.5.0.tgz","fileCount":13,"unpackedSize":30712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKOM6CRA9TVsSAnZWagAAB74P/0/8sUlEsvmx3B1qKjDZ\nJEUHnNPi8gRBmPgd9QsFj1EqnoSwLAWo3mGL6UpZuzEM5d/cSrJ+6m13Wqoq\nbwFhIuQkWp3D/sUiRCfrQUwOlLgtS0w3pR1fyDfr3mwCiPrvOB+iTr6iMMqN\noNLyFI+RymJ/wuE4/gwdUw94Md2jkWi75rX+INBrZv5Qwgse9kl4W3x6U7H6\n0gqjPHvBCT764RXaNBtGx/mtgERnjqmIWZybteSOFVr5/TXqG+muABuBYYNo\nkeRJ/RlArdaQL639q/I9Zudth4DQcQ4zeKO5meeJQJL2QX5Gigr3Xw1lZVbC\nO+MCkI3c1+IwYwF1zxd1Ux1IMc+GGUO3Bn9JkUyi/MWYq+ktSSxLosxNUO/0\n56Tnwc+RXO4+iWuU5LF99fEZloQdnBXUEtjSNcYySVskZGo+FyicndoRdpFc\nCmX9C3zt+ZuPIZZ3O4fHnNhxYelJQA25xsGMQil6H88V8H5mdY3avvG3U3y4\nWn/y9cCBmpiA7ce5713HaIK8t/MLL1gGJNp0nXPux842SdS973fzFPsXc3il\n+sUoMIcGIPcV3eERrJQQQfeWUdzO0mydvH2ZXBrYUcugLU2DrhjLYVcH1GWE\nMCYGQh5nbwTCJD1hxop0E0XeIPfLEZxQkDdb+ef3biUEwFP413a4MEfnvLqR\nlZ22\r\n=f1Q+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTqAw+rkAUHd7u4GUYr/sYiK29J+hPqS/xRBKXDqfwggIgB52WcJoe04AkftVjU5XYbXJGqnHhL2QxlCc1iV4XVFA="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.5.0_1596515129510_0.37059840960514334"},"_hasShrinkwrap":false},"6.6.0-next.1597695077.645e521ec83a90a9cf1a6669e694625a7ab36aea":{"name":"get-cli-arg","version":"6.6.0-next.1597695077.645e521ec83a90a9cf1a6669e694625a7ab36aea","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^3.9.7","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"645e521ec83a90a9cf1a6669e694625a7ab36aea","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1597695077.645e521ec83a90a9cf1a6669e694625a7ab36aea","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-OMKO/LoQkFvYdu3Em+hpAW7d+GT4FAO99WOk5WapTPMSH6nHP9/gaqGGouAUnamj39LKBt5tT1T2UjQ2kCz6LQ==","shasum":"4c6c596712e5b21045cf5fb548b37cc87280dc73","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1597695077.645e521ec83a90a9cf1a6669e694625a7ab36aea.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOuRnCRA9TVsSAnZWagAAkVMP/RSiPouYLWemYhx9Rqgy\nc0x44RHX3pmzbM6zYS9Wu8D6OJMYLch9vA37ci+VwWJ0G1wYXBWL7GSqs+eu\n1rmSfpQtXNJ/vpbo36078XaQ3AaGV20ZSzaiaUTRT6Ibn38ES79fQL0YHaCu\nfi41cR44XwUFO4qef0+XnyTSR3lMOSGd7kr3Et3yuCJjRcKavrF2t4HGHZnY\nqdD4GjlqE/SeG2Bft84oPnaRAm0pmlh19oieL7HoaSrXiG2nRUdsE4qw4mmu\n5oSFdqCc0Icvv3XgBmGVkTM7+CoSHWpA5CNe2O14vUQZ4B65nSqUfJlOXqoc\niLCRyCqF66jk0R5yxVOChEqQOsOaq9McY+9quWL91hjgMn8UDk6M53bqeu9X\n6CS8S8WVVuSgmmmL/gmNVmxcX/hJwIHy/zEN+3pb0NUKkmfT192uwqsJNj8j\nnNaeYWidudj+by0hf0O50IRKKcaDDigeFw4LvxgWgNpDZHFbOq/fWSK1/GR2\nTIR3oVHy33wJObTCtNOnYJyab/7ad+JcQ2LwJxyXQQUhZyQGBp7Ou45e6kQc\nCMh5lcFNjXiPFddp2ZSyvDblavoCF2NIRunUMFXNO463sf4Hjor+jxG14Yp5\n8CL0WIwW6SBby855zX7Eho8NwpzivpcK8R/Pwck8SwSSQSxH4T3Xr4x8zj+C\nBxgy\r\n=jn+4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPdcuPqz7mkfpPH9Tnv9rzPzOb0vmYT1+UPVS7nKrM3QIgHC9Mugfzyr8wTLQbxGdph74Jtu9xonMrZvfpacTmiaI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1597695077.645e521ec83a90a9cf1a6669e694625a7ab36aea_1597695078885_0.23808614090980273"},"_hasShrinkwrap":false},"6.6.0":{"name":"get-cli-arg","version":"6.6.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^3.9.7","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"645e521ec83a90a9cf1a6669e694625a7ab36aea","_id":"get-cli-arg@6.6.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-Xt2xdkih7mWODij/w23Pso988rtA9yFMwbAfw8R3PlOR6PoH6GlU9llhxrp8x6OdWItTfehzOgm8wXBB3Bf0HA==","shasum":"cb17bb08938f682e5941b26a717229bb287f6cfb","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0.tgz","fileCount":14,"unpackedSize":31145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOuSVCRA9TVsSAnZWagAAWJUP/1mIXZvMkh3nFBLaz4iW\nmNdsJIagP/1iu4fCrY0bP7AJMNindA6IxATmiqutuBHP1vxPiBX4NQX5y5ZR\nHD2GQ0pr50bhKny714FSieX+H+tTZMApPZuSVSa6bQmoGYaYiebPf0cpJyTl\nIkEoyoEdiI7/C+jGPRfjbg693fWc9BvFdifVQWdOWQPsYYkCYAFGK9DrQpSJ\naw4fjESky3lLBA8rp+VN4+5ctbz1SQOCbpH59R3mpXRuCJloQp4C9D+pbdbz\nXoWoQdETwtSLamkNr+WT5E6epESvO3n0icN1lxHPidHX4JMDutlDKOOQnLMT\nimQdIhex5Rdhlh2I3EjWKxTGa9gNdF0XaowLLIoandFfLH7rFFYJDh0B91mP\nuuphDG8ZGGNHvO8TZP+saJaUkHxZur4QXe9Zmrb8Sd7OTNyajG6UG4asN+e/\nQDUAHipiH3JPVTApNBz7mepBm9aciSZID77GREsemcnv3b37VNcW8qnGFq1D\nt5w5WQBam6Sqyn+U83Kd6Kr1MG4ePBgjX7rtNaAhh9JJJ3kSe4dB7i0ZPP28\nOJQmMHBnhZduWCbL7t4CPfDy0kbMWL8KLUH/hg/OPomkrQam8smnT4zH3eqY\nMkKA0s/39EFb1au3O/g4jrb6eniRAPqD5xxnTbf4xiXDjDvdM9FTogwF/le4\n8HVf\r\n=U9nu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNvnC+OITNCvL0GTdHfY2hKsNpYQmajPRWVSbYI5RK4AiEA5P/ieCLWQZBXjfayKDtlu/I2CgbLaEjM/s9P/YSVgIU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0_1597695125341_0.9483753005727664"},"_hasShrinkwrap":false},"6.6.0-next.1597695156.28e13921f652970a557d74c91caf17f82ebc3ade":{"name":"get-cli-arg","version":"6.6.0-next.1597695156.28e13921f652970a557d74c91caf17f82ebc3ade","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^3.9.7","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"28e13921f652970a557d74c91caf17f82ebc3ade","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1597695156.28e13921f652970a557d74c91caf17f82ebc3ade","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-riTq05s1FJ/KZTw37xoyw9tm03Io14unZiG7A1jPcGm5A6lgB/QySIx3i/8pkYLg4DKzp61QyDE1lNRCWTIc2Q==","shasum":"7cd1c99c0a10a1c359f727861cdab039932cfd60","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1597695156.28e13921f652970a557d74c91caf17f82ebc3ade.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOuS2CRA9TVsSAnZWagAAPzYP/01lNo6QS4m/GxrvTXAr\nJaWbDBvhxviiHmMT7P5Jm5X6DJS/NEG0nS6iFUFKkcSvCr2dY5grBIS+OJ9m\nPo1zf4+UGTRZBkVchtMz9fj4OSS7AKt9aohWfAJwczr+iqZFZ6AyMne9KoF6\ndBa5zQnq4KNL2pJ/SOnRCCYzojVq36KO+4LkZtntjr+y5oY6qjh7CssSYk3j\neG0vTJGMezmYHTaRtQBWfQEnPwVmif3blFQsm6WjpyW6+swj76RZWpOKrKIR\nUs6VOCgrsKFUmDi8/c2b15c/Cw9Mvstm/xD583QYlpGW5ZfbraDPsVXvCUB7\nM890TC+oAcyy1mAwhz1xJpS4Byrl1pTG2EJ7ALTnuNXWy/RUUEWFgHc35dZ2\n3WOTMZup7W1D1qPlEDpXAP+g+vGV+/Apy/Q4S8CoNFxxSdgKP4gxr9Re8oQA\n1Hv4zeFMzDwPMPRvp7REPs1tfSNT+4oml00vi76bJFNc9wCJviK7003BXj7O\nI19BNpwS0PzIadupY/BT9mLNmQGPRxYtCg8jCbR79bvZIZgC7neqBjyZ69Qz\nfcDeRLFu21KqwY0xN8lhFXIUjkCfaehEasC2MIOtKvkemfysupuGvwFIaypL\npqreF4wtphOLM00cZWbUnRQ/jwr4Va9o0LfTmlhLFK5vcTgKfVQQTDRf+Sn0\nzYD1\r\n=Z9ld\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaChkdzmSDVmVuKcvN7TGmU7hhVvhocJ9mT6hD4IH9FAiBXtjXjzPCOg7VNx/F3h6Y4EHBXE2mQGtwlnaPW1DC/9A=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1597695156.28e13921f652970a557d74c91caf17f82ebc3ade_1597695158117_0.5687905754704217"},"_hasShrinkwrap":false},"6.6.0-next.1597695214.3ac17253c4bf89da4710a7f2a563b06759e83691":{"name":"get-cli-arg","version":"6.6.0-next.1597695214.3ac17253c4bf89da4710a7f2a563b06759e83691","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^3.9.7","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"3ac17253c4bf89da4710a7f2a563b06759e83691","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1597695214.3ac17253c4bf89da4710a7f2a563b06759e83691","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-0xdXvv0IdnHxGh9zwNfJ87dYStT+QKnGYy2cCJ88Ol5DH5XYan1CrQO1HuAe0e+kK1GpMusukRbOWQmmrpHZUQ==","shasum":"969887e9553b8ceb2b7dec2dfec3ced02fe19ad4","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1597695214.3ac17253c4bf89da4710a7f2a563b06759e83691.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOuTwCRA9TVsSAnZWagAAKWcP/RoI9x1IK1ODEJFy/tcM\nCqEQR2YiKMh6imDVZhwszao+/hLjW/uNai5XTPYTF8o8JxcfDeTv/M2z3UJC\nO+yJPa9Q3KWO4EnEm+JgonrGsR3E+lQQatH+Le+QafW4qt7fbXXT9e+KpdYU\nLjAud7iPkaFzppXHq60/GHcuiLR0le84IqAQoUTwZJxTjiwBVEHCZZBJKvH4\npLKkDI17Lw1VQmMMrtZgp+ftXlXGiJsT2m02nnlu5Ja/KuVurdx8VI13/3K2\n1ozwn/jFf/uj+YCSP1FF4vqKXQ6F2kGAaCG2hxspxmjNVTsdtaLC23Q9ys7M\nbeF061WDJy165s1I58+cTXLJlqP7jU8+mMjw7siEEHowkS6TactZt6SBUJKp\nCWXfwsgKOO0qknhRkk0sZA+Q8XtZyAFPlUOk2uBGVA5q18ojE+ecUK8BSb4o\nPc7d1pRRYMr6HMIyJKnKIPHQNhw+aCtwMgpvqwTYYHK+ioGu3f8ppq4yPtbr\ny+xwet3od3LIpaSfWXbzxu3DgqsF0GZd/6ZJM21jB/09cMbWe1G02iIEOmNB\nlLfICQd2MtS4tixOg2Bfrmz9lJe6Sl6dPGn8w1KH3R0FlaPVVAIzZNkn0Wv8\nyMhdQVAM+p5PXSXNlGfYE7kBBbZcT9zOAVzafjhb4+03aN5re6cI3USkRtD+\nX+Hg\r\n=Xknz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJ62xRpvor2exkwSxR0ant8DHUfOY5zypHE1Ldh0ZRqAiEAjDyktymcHvgfuPvXNMuEKv/Tdu566Q0yWerVYAJiAh8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1597695214.3ac17253c4bf89da4710a7f2a563b06759e83691_1597695215810_0.4111847043021417"},"_hasShrinkwrap":false},"6.6.0-next.1597695247.e674694d3bae3239d8a11de6138dd35ffbea0d2b":{"name":"get-cli-arg","version":"6.6.0-next.1597695247.e674694d3bae3239d8a11de6138dd35ffbea0d2b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^3.9.7","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"e674694d3bae3239d8a11de6138dd35ffbea0d2b","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1597695247.e674694d3bae3239d8a11de6138dd35ffbea0d2b","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-yoNRx/GDWZxnSajBSCEDv+C8eDNDPpy3pJTXNL79epIiTlTg4f2UpKpr2b5EKqdq9tmxQyN3DLQXLZ3iBz1M8w==","shasum":"ce8e9be85c00d80c900c17968d117c20ce50fc4c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1597695247.e674694d3bae3239d8a11de6138dd35ffbea0d2b.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOuURCRA9TVsSAnZWagAAeacP/1a6sV2zzGmEjQsSSHIw\nbTlioH7uKBCKHPciqihGXBjjqTUjiiaXQmGP/avXAO69gqrxJsNTWqP3EjJ2\nHoZKv1bd7ENw7bcY6ZgxjcmB9kDcIYboJS5PdozaKr/JqylhCKCfGL18/oO/\n/HGPKOY6YIQxwEoZbtWaGopzU04rFMdQcKnXxr5kKGGWg12FytMRdplt+y8E\n+VtoOPIFM88GQsKsVurdKgVLN/MyERVMOoPGANb9sUAPLEtoKKMIuWJrSb1L\n5u+wf8nMOZHjgM5eu/bhQ8HxG+8i63Kbs0+b1AspMiJ9HSAJChtLEdW+EUoq\nMTdvvoGaHqvQ44Yb+i388ACpX0FWtIwV8JL6nKkeDVL0DmIoMHx/8X4KqcOQ\nxzDsRXoxCoDll6wr0lm5jDAqo6rtWNHIkK84sXrGe7viOznNxOy3t2WDj23o\nic757+Jj9RFQMYJdEZ3wVew8H6pMHwSoJR88815DSYqOYolXJZ4Gyw0Tz89e\nATYWXkHJ5N1JHPUeCMr1d+dIEf6TmnoTjWtXQ6NrmFEpcxAZV+FMKM/OviEN\nJr5JR63ReLWN4rSywDcPW/P6EopT7zlQHHOf6m5FtgaGo1mEA54mDzpadnIH\ncq3Zopb0rC9VviE0wBw6+zrmdwZFzzzcUYm5JH7UWBQpitL2b8yymFh6rL4R\np90D\r\n=d1AY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRwTyao0/dZbPQ+PeK8qrtT3AGEDb9H1I2HteRgtxqxgIgBn8x/ietOhV4MEWi1kDcMZFpkHb7id7xrxLZ3CMxhAk="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1597695247.e674694d3bae3239d8a11de6138dd35ffbea0d2b_1597695248818_0.21118297979228617"},"_hasShrinkwrap":false},"6.6.0-next.1598186218.5b6afecfbc01dc87b6ec5e0102f99a880021dfdd":{"name":"get-cli-arg","version":"6.6.0-next.1598186218.5b6afecfbc01dc87b6ec5e0102f99a880021dfdd","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"5b6afecfbc01dc87b6ec5e0102f99a880021dfdd","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598186218.5b6afecfbc01dc87b6ec5e0102f99a880021dfdd","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-5GFMGjtzFFCa6Gv7tuUEdHUOX10ZL5d5+hB8frdsymcN7U1DCykXU1k+/UR8XtWDc7MeUDZL/qW48KSZOi4wSQ==","shasum":"c45d8ab15721b6230c1f8170a491e74e644c8258","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598186218.5b6afecfbc01dc87b6ec5e0102f99a880021dfdd.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQmLrCRA9TVsSAnZWagAAZMIP/0ToYTJhszw1mfYaY4Na\n5cqqq+m/tEGr3oNsCg6MihP9fPgmNXPVMdhoU22c+z8iopzgFuowlNr+xOTq\nStrHwy1yLr5IRIlcGWs5pkgUoUBxo7/60shurOukAkZHpKZ0TnmCaWZJC1SF\nvlgFETQhBeWeGvwpDu3iyjnAOskuouoVM0rfjP+ErNhjKKd5HAf2iWRhF/60\n3NukH4TC7GURhbtkqvYXVZwV2/k+P5cb5rwWN+QZr2JJqgx349Xk1msXEjBt\njDXd9jsUMmYrp9A7RdyRPQhBJRJWEV0CQwW6ODqWne8WPYeoGKsvJVAYMlS+\n1JTJdMR/psEPSMqUNa8kTAqhd/+OKaXHegkEwGdeMcYznFzOV9YzLAm8FCDZ\nj6ZOjAl5SeeGKlQYP4WK3SQFWKauqVykUnNROAAsPwNVaHZ7WYgoWTY6Vc+W\n/VqAXSfM3iVVGghUk3HGN86ISPT+Ccm6Kz7HfZ15bKFqVt3S9iiXtzz2PZrN\n0EWzwsuzhQJWsNgC/KNpfkqGGJ60Srau07cwT3gbY9jlATYiiEUD/aZC3KpV\nFtWXesa3Aa6mHc5I9MOMEBUOg2Gx8uC+3TcNHJHCvylFDl8/nLlZ7Pe/eE6O\n/qQIJx5rfW/hl8bXkN82wPnoDVdX5zzbLAa5blkdFbQ/0xCucDy5vCHvrtu3\nY7dv\r\n=m5ka\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEk5Kp+FGFXjjQW0UEkcQfOgWE/5cYy2bR+6TZ+O1Cr5AiABHC8bNanea6smlHmgK6gnIgayAGyatpTC7BEh7nzTZg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598186218.5b6afecfbc01dc87b6ec5e0102f99a880021dfdd_1598186219597_0.7879789313328018"},"_hasShrinkwrap":false},"6.6.0-next.1598187183.fef48a2fdef65a5fcb9dee6850a7535358c623da":{"name":"get-cli-arg","version":"6.6.0-next.1598187183.fef48a2fdef65a5fcb9dee6850a7535358c623da","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"fef48a2fdef65a5fcb9dee6850a7535358c623da","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598187183.fef48a2fdef65a5fcb9dee6850a7535358c623da","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-r72k176NgWLj2D6TxG5K6GvkMmMkjaTJUpIOaqLIVxFbOt4YLWq19wVraSuYqCgB2oWiuhnps1W324tCXa+q4A==","shasum":"7a3abfb55180e7d749c9aa1ea55b413a6278ff5f","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598187183.fef48a2fdef65a5fcb9dee6850a7535358c623da.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQmawCRA9TVsSAnZWagAArgUP/0RixctU/APVRsRmClIO\nzjUBCPdfMgb8wj1LHqQgZCiH1O3y3sSVdXYkItSSzRyjb3L39QhWM7+ION5u\ngNAXtUuwpq800SGJb/OMx7XN//gWMqFfsbj4SUc7usZWQtsIuJLsRz9o93kN\n6mCNatP0EGZ36JI68WFs3Dpz24SExEqjA5ImGWDRHjTJX1zOeGb9mzMl5+nb\n2A+N+VLvKMNoDRxFOs6ms5UXw+j11vTniiPGFpWoj0Qxu7lnpOtZLys0B7kK\nneV7V2OsZjks5hDz1AI4xCyKZom0VWJFalw2ak3nGdqZ1VkI0pkseZDLcLtt\nJPTRrY1JzeRZj5ABDFALTDF5g4lYuQ3fRi14ysASJLYHUHldK4yFTJmaQ2VS\nJNIsjSMWSbLZBn58RCCl2vKmRTB9cZP/Wuq5wq7yLFzj473joJr+eMdxP1Rk\nBd7KWzz71XqKX5bSddKGj/NG8456UBHUeE0YU+iPwz7HDuFJxnQT+eG6fHzZ\nJNeDuPQsx8NrPKHGso/t32Jj/5FJxdxN1cyJ0PQTj7s3urZjG4axH6+Zsb2U\nmRO3QzmexHSGPzhDy9Y+2qJjjA9oQY2+Z2Cj7ID1z9e6Yp/Z7ONLVcu7JhWh\nTFyGFy+FnG6okH8kYnZR5qxW/RfAtTHhEf3xnO/13B5zIQWLg5wJ38O4M3mH\n4RPf\r\n=MGCi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt5Cod+q2Lq4l3/94xC+ADCzDQm41mo9Nacg87F+OROQIhALgtN2VbsNQZh8OIusFti+bjOqxS5/uNqwYd3BOU5hai"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598187183.fef48a2fdef65a5fcb9dee6850a7535358c623da_1598187184429_0.4695874771703088"},"_hasShrinkwrap":false},"6.6.0-next.1598187274.e8b547056d712190a1a0db23768b1c9125f5a226":{"name":"get-cli-arg","version":"6.6.0-next.1598187274.e8b547056d712190a1a0db23768b1c9125f5a226","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"e8b547056d712190a1a0db23768b1c9125f5a226","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598187274.e8b547056d712190a1a0db23768b1c9125f5a226","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-ur4zYuCjmM19QvgGyh1aUT+P0teDXLqbvYxjhNjCQRMTPGxaHUTwF18Dcmi6t2rdR+ykR6Xilg1eMxk7ksZd3g==","shasum":"5c9d0d3ed2cd4c3e8a0e7271b86127d2abdc8caa","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598187274.e8b547056d712190a1a0db23768b1c9125f5a226.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQmcLCRA9TVsSAnZWagAAYqcP/3lWxxTUwlO2/TQSpmy7\nvD1MICN1a5IF/isbpwQh3vyZfdh7kSDHGIhbymt0lDcj/RB77j7qkHqzKkGz\nUngAthzRH23KdCihAEMey4mDtB9E5IsIHiTy2VQ27lTtNkkFWjOH8YoYjmg+\nzyUri1cefgxJsiQeGCkNJTwgGETnqsUjt4wdkE89ClwBeUskx/rcE0tFQoKH\n/b6Q+uGkMIzw/eaklZdl1s6fv1gseSaBCLauNiQ5M/7tsopcegvs+XHCMASm\nkCWwCeqn4FQIuIyVMfGu/4DKgd7w4XRG53vr/gWty/srCEIwM9ZgR0Pv+aIP\nHS38kP21oeLprKVw14ubcIhkVPyGb4Ar7oLzRpziFC+csNTRuckvMs9ju0Cd\nxdc/5/AVjivr32lVe9PIyccF3TgDfSZo7dULMGlmNEGdSFPZzty+5VLbo0Wa\n4Q6k3bIgS2JErSa7JeWe+WCFDdj8iWYORn6HYDZWAjAzoUwlUjc3AHP6ptwz\nHZ4CgF1IYPsd6g+mz0VUPNzJyFkdtSYN2wbeEQjyhxulfYafC10zBCRSZdZE\nGjpUQVblAGgn4e9lyS57NuTg4XLfnMRz/JXZDNFQaMhbTpPwL5XH1iutxeZ1\naF32plxLOkGqQJlml6vmdNoXqeBptd6hj3kPyCfDQE2NBhAkZJSRA444Xo8p\npnce\r\n=Leo4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPuEcL1IlR9HiseFhc7WNSt4bC9Vz9Pads8L1Gh3mkEAiEA5+9rQ5Ov1tBbFNWSxy08augo7NFvRgNQmSEp3YQHIag="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598187274.e8b547056d712190a1a0db23768b1c9125f5a226_1598187275583_0.002484720274723795"},"_hasShrinkwrap":false},"6.6.0-next.1598188348.b4aa4101739a3a502cabb1030960c2a37e155f04":{"name":"get-cli-arg","version":"6.6.0-next.1598188348.b4aa4101739a3a502cabb1030960c2a37e155f04","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"b4aa4101739a3a502cabb1030960c2a37e155f04","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598188348.b4aa4101739a3a502cabb1030960c2a37e155f04","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-7+UgROif/nvCJmGkIsu0y5jqyBsLJxTG1VkQ/AVWmbNoIUuCh9DnxiBTPR378QMGp8sl0UFqId/HYnWUCzAlhg==","shasum":"637f6faa6d6a714706561f4919c04152ec78b207","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598188348.b4aa4101739a3a502cabb1030960c2a37e155f04.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQms9CRA9TVsSAnZWagAAEVwP/iy9Znxz7rrquKBpjkXm\nWRMSNJXg4fE+DJlCA8Tqk8dFfZXjjq9BalY840atgroPZsZTcq0KBng6TMcn\nFPhwGL1yVuFxGexe+o71m2vyyKZMDr9cWR2as+b5KYD0+Xs+shXorlsYX57s\n/84IGEpAV7zpWXwxpHWBIoM27ozguvh1S8zoKgpSyFv+Systjnk4csY9PhUt\ndbpdKw1/5rGco48y+CsmfXrOW2RWrz+ol0gwwg+UtqMURTgFXVu1AQgTJLRA\nS0zCM4UvxHeOIb0YDkNr6wzVc0qYyE6rSzR9S0Fspz0QeZi+8hwmOOIHnLuE\nywzd9G6LjUrvA/E30ID4CmWj1DcIZeeThp1JFCADUAn+wRUPUJGiTPAh0DQC\n1EYKSPrKjMtawlX/t8Cwhu6c+QlVFqrDEAz/rWJLLMPdHcDsQHiI0fWCljBO\nfErnhXUhlXFsl7+2bVDx3l1TE0i6kwzcFvrSDDF8jFrCJLC5TWZ/H8qXafse\nfRypy1cQbCX+mV+fsxmz7KFzOB0LjMZ/q+FzZrU7gmdCx+tcZ+c+2pE2470M\nGrSd7/dJ/qLMnA9vasD89HJlIlj8wFidUAE/q0CVUpI5B1Jqs+ZinzctgSDP\nFvF7t03VkNlxJ7wZl6t+nGs4y/Mgx6oh22OdaKDZofQ1koubRG+jFoi5GDHx\n87To\r\n=5ryk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdvY8CMIajqIFUvryi2uh/+Cu5FbzDseBsxsaDQfDRdgIgQdiTaVrpszBbgVVwdqeJAGcVDlDhuJGA3EYweSLGJco="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598188348.b4aa4101739a3a502cabb1030960c2a37e155f04_1598188349509_0.6992067822905936"},"_hasShrinkwrap":false},"6.6.0-next.1598189492.343a88c5c310602350c0c5770ff56b3eae07284b":{"name":"get-cli-arg","version":"6.6.0-next.1598189492.343a88c5c310602350c0c5770ff56b3eae07284b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"343a88c5c310602350c0c5770ff56b3eae07284b","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598189492.343a88c5c310602350c0c5770ff56b3eae07284b","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-x5u458izS4crAPguB8jdApCKGn1XuMFbZYdBlOXjI7jd1dCx19Tpr0OoroO3vWZGlvrm023DPnWsj5FOJFeLEw==","shasum":"034f9d93ddb76028edf68bff6a98c901217e9970","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598189492.343a88c5c310602350c0c5770ff56b3eae07284b.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQm+2CRA9TVsSAnZWagAAhqUQAKGIvCcPHo239R5EXJQ8\nExpV4etRDnHIJ3qI4vEFOn+/JlSQI8ZAsAPAZ9Lo6cLIhusdE/G4oRW1OklX\nD9xyaB7Uu72F6bfqmvaceLv7HbVXE8ftVdnrU8j1weilEyGJ9hXQdDbIrIle\nWoM3zKaWbhO3flDZ/y4T/UCyK0Xn1PhluIp0VlbvzRJfCW4ALOff55x7ozvS\n5rqgcbejtuasBYkm7aCow0+SU2ZwCPJars6JUDAQczaQasgbq3GdfAjuhja5\n5eLsd+8h5POcfr27C2q604R636sixVQM94ARaR9jA7IJuYxzy2e5LbIC8JZF\nLA48VOXUTTb7rNe//qOuc3tGs0MG+b6kk+7haqF8oiF/oihNJXP7ndhr38eS\nKK4ROg/2vm3E919rP4YbwRolAEZ0z6/aeJB45iK3FpB3tUbYKGayZAlMsI+S\nPK51b/hcGto7zJKu1ibtUGUDE5U5tCgTX6UKrhY6fj3pNGpDUilgJethj8jb\nFF0Prhp2c6iEuaoZEKkxK8AXiD0WJjKkdvjaLa9ejkdrECJhTu0W0/ygMOfs\nBpwvtCYMZROKyN6fwiXHVbgYZ7vbFgGbJeLrfDzHyJrdzqHmc4GgxFDN54tp\nO3MTyc8X20LOFlUViA3b9EQlp1fqNFjYJ+ZlysU1EtdanTgvKMlUQbGHJNYY\nRxwC\r\n=EMyi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvhymsEBqYANgOFtqlENfDyMuvOfS4V9bTKfJpyPv2HAiBqAo2yToHVXeFHcrD/C+vB11Kkl0aOJ2RgwXfmz7jOcg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598189492.343a88c5c310602350c0c5770ff56b3eae07284b_1598189493848_0.4996069737430322"},"_hasShrinkwrap":false},"6.6.0-next.1598782301.bffcd25321dcae49a27b19612552ce28ec17ee35":{"name":"get-cli-arg","version":"6.6.0-next.1598782301.bffcd25321dcae49a27b19612552ce28ec17ee35","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"bffcd25321dcae49a27b19612552ce28ec17ee35","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598782301.bffcd25321dcae49a27b19612552ce28ec17ee35","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Pe+umxk5GILwJWw+73t8I2YHH/xTjtgejQNwkQ4yVpIH0dtvvSNMSB8SvKvwM8n3ToojacP1xpJ4jcYVttMcQw==","shasum":"219dfd0090d13468fe6d5722ca69019337865cad","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598782301.bffcd25321dcae49a27b19612552ce28ec17ee35.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfS3tfCRA9TVsSAnZWagAAMMgP/3od8sD1ZRbUM1BETaE2\n/+N9tuFYht1i4qM8kDG3h6vlhzZMQ6Q8prPDypqSK4tibIfSKZ1KgNMlQ5ZX\naGOv5Dqmr3SYKO2OCrmkTLBsLK/gifZG/4T3cRLghNRCPWmZ1ApvGgnumuj0\nAsD9DMZKBUv7zX8QM0MHH4YjdUCClr+ymlzv5Uq5hH0GtoAImVZRrWPmkai9\nVlVwT4zSl/eaPrXDnNAf2wUm/sjGdBrgTWt0piL6Av3L8kkpkDGMZpbnhw/m\no7Rw7IrUyC0vAYsQBVIzRr/OglVmU/w/sBVAUxg/NeHff+M19a++yDVzveep\nigjfpKEGZrhDC0wQpvXS/KmebnnLUnhrDOIPOgW66g3366S6UFkG2wRzfHAL\nw38JgoxhSkXx/XoifCyNNh41SWpIaX3W5K/+4JyJeD09zt0u4LMmyV2P90Mf\nFnyD9mdT9wOBW4/g4do62XBmXLTRrt1nAXaKNInejIjJwxmzJd9hE/NboYN+\nxcfr6MBuTFY/EZw3RbgRWdBeVddimS1XC9j3HkJhPohETzk8DRYjwqUGLlwd\ndLaafwGACwXq8gkfq3JMFAfIXmSWOi8O8/8tSImYFlz7Up41a7uK5tQBKGlp\nPrVrxYUwW1axn4g7Iu1Q380yUFXvafxH2pVkEdW7rYylFZb5dYCvOlWNnsuP\n9zZS\r\n=sjFY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAtzxBA5schT1/yw7kbncaeY9wl/896WazqAt48N012AiAI6AuxYlY2oRJjA2hvTsCHFfkMWouysAou/BOydgq8yQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598782301.bffcd25321dcae49a27b19612552ce28ec17ee35_1598782302914_0.03255591266717661"},"_hasShrinkwrap":false},"6.6.0-next.1598783389.a416b2ba3c9f4a7a4fef51913d4ac3e1c7a424b5":{"name":"get-cli-arg","version":"6.6.0-next.1598783389.a416b2ba3c9f4a7a4fef51913d4ac3e1c7a424b5","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"a416b2ba3c9f4a7a4fef51913d4ac3e1c7a424b5","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598783389.a416b2ba3c9f4a7a4fef51913d4ac3e1c7a424b5","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-0yIGZI8Cczu9sfVfq9pDTb+g3Jk4rUp3/T2bzVA6Q9+SQpj/deM/k0U5UA1VtL1zLtrEZqObeK0Bf/kUTQWH8A==","shasum":"7978620c7227eddb36fd27a9a0c09176850197db","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598783389.a416b2ba3c9f4a7a4fef51913d4ac3e1c7a424b5.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfS3+fCRA9TVsSAnZWagAAQY4P/Azx2K2ADjOQVOCGGr42\nWT4Ma+L9Q3JSTaswVVi61TBqH8c2zVXNnBmRXXHJ2VTHcdj+8AhlI32W2shW\nKpwaWT6Nbt/uW5NIdNGN1uTUxf+wlnwQf8dxw29HlzjhVd80n4zWjfSai++W\nvuf0cj/vsnzz35VW4AmaPHUVAzNkSN+UKngZOSo6EepIMTfIj1R3kQo78T1V\nsXENT5UCVEjaZuDj2XE+1piqDagVWXCCuZU7+u4UAcspq3H+c+0H9kaC6cA8\nlPOCc/6O5n+CF4IFmim5SnVeBjvjR8kMTK4FE0ioB0b3Zj4Qxg9Q7hvEb4GI\nHQLYW9iqICLNIOeRoNn4j2+nHrhmht53L5egEkOOfC07kqA5xaeggO0DJplT\nkIGWiMFsTBfyKZWUMrp7GJUyJ9iWxKxahfWkXmSqyu7vnYCkzL/z9/hw864t\nBow4L/ihjjdpymQ8AgABjhZ4TiR6DBpoglZ626go9J0ffuXV+ByXD+6b3jd9\n5MUzpuafip7L7PAwr1T/Ctl6sYuWbVR+0CCeQ6l5YX+SG14MEZ5bHtAj9nP3\nbNVbD8EJFJTT59glNYcmK+gUcZxeLJ/v18AZo3O+kepdBsBOZGNkSqgr3EAy\nan3i5lxuVCMn8yMCLo32vMnm7kD2ZF6jbFPt72HOannLaxYJN10EeV69GaIC\ngFMs\r\n=l2FM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEm4lJpnv9Q37ezPQ8ZayT4FlW++aByr39oFopSiVsoeAiEA+07RB/u81aE8Wlwea29Lv78VO5uPIGNWid7pnDI1CP4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598783389.a416b2ba3c9f4a7a4fef51913d4ac3e1c7a424b5_1598783390521_0.6690464053499607"},"_hasShrinkwrap":false},"6.6.0-next.1598783431.e64da190b9aaa25ec8bcb174af8607ed51c17319":{"name":"get-cli-arg","version":"6.6.0-next.1598783431.e64da190b9aaa25ec8bcb174af8607ed51c17319","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"e64da190b9aaa25ec8bcb174af8607ed51c17319","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1598783431.e64da190b9aaa25ec8bcb174af8607ed51c17319","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-A0KvqrM1UIQ31POPXRtJUQYA/Zx2CwXn2N0mEHb2rtWxt0PlN29Vt2Bcu89hfDJ/PSLhrosSKBjayuwHjmLHVQ==","shasum":"e974d0dec44acad83a9329666b5029a2f5777e16","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1598783431.e64da190b9aaa25ec8bcb174af8607ed51c17319.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfS3/JCRA9TVsSAnZWagAAAIwP/1UDzlFk9yJSCWytIwwk\nA9F9OuRoLDZp6QNzVbpLZj1R9Tvk2/qpTJfiwjPqVCmf3Nz0ZaUAMqluFUIo\nKhLb1L4qd3AtD6eAXDBzyJX1IexKUvHrIdiA66emoeVw3omrbyKoTxbZnKsz\n5llK7eDcYruxT7hgfZ4cm2uZKf+HdBoziY7yBzD9c2JxHzjRgjRRzogJqp3k\nrxQwuMGYDHD3TZZunCV54VQg3E1/niM0Ne4BwpRTcfzTmupdU1ldOoMgR8M6\nBFk+q58u0Yh0C6oVNeR6WIkQFZhUkSdD8CuI0Rfz1nZwBppuNKNIdKnLx+xy\nmRPTGUHatvnBwm65Qxh1FpdfGC3c5k1Y3ftv8tQfM+I/Td47LDbI2cPnYZVr\n8I9+rp+dIpp5wvIP9ah/tCiuuH3mOGxtooIKV16170YV/NplUIUeZZWTyskM\nsU0eyKG/K8yd2GSy5bjBSoEHqSDQ1SIRUfvOBdeUsl+UsUXl+4hAd3CCrjmi\nLyrCysmEqoKWsZ8qIsacYIf4jmtBF1FtTAFCZqQf9nOkBohLS/sv3C+AV93y\nqz+0hx987VIci04l7qVUY3PwnvgHMPT3VeZJmK65ZucNJXURKAPXGsZHAQPy\nOYl+4BoE4y9Uclw8WIhT/UiUgXmr02Ngo2kBTopnZYb/LGaKchbYvLV6TSHv\nNIgM\r\n=zF6J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICbIlrpl2hRNXlqdHNaCBt7Mv46e9X3GiXR4nyKSR/b3AiBl8BF5vqT/xjtc9Eg0yavhRNI2bZRV7T26BDDOCb5dVQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1598783431.e64da190b9aaa25ec8bcb174af8607ed51c17319_1598783432726_0.7991163543059456"},"_hasShrinkwrap":false},"6.6.0-next.1599076464.fcc5e953dc876aa72b63bd145b6f7e572a820d12":{"name":"get-cli-arg","version":"6.6.0-next.1599076464.fcc5e953dc876aa72b63bd145b6f7e572a820d12","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14"}},{"description":"TypeScript compiled against ESNext for Node.js with Import for modules","directory":"edition-node-esm","entry":"index.js","tags":["javascript","import"],"engines":{"node":true,"browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-node-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.18.0"},"devDependencies":{"@bevry/update-contributors":"^1.15.0","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","make-deno-edition":"^1.0.0","prettier":"^2.0.5","projectz":"^2.14.0","surge":"^0.21.6","typedoc":"^0.18.0","typescript":"^4.0.2","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-node-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-node-esm":"tsc --module ESNext --target ESNext --outDir ./edition-node-esm --project tsconfig.json && ( test ! -d edition-node-esm/source || ( mv edition-node-esm/source edition-temp && rm -Rf edition-node-esm && mv edition-temp edition-node-esm ) ) && echo '{\"type\": \"module\"}' > edition-node-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"fcc5e953dc876aa72b63bd145b6f7e572a820d12","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.6.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-node-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.6.0-next.1599076464.fcc5e953dc876aa72b63bd145b6f7e572a820d12","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-C5FKCfpIFlKTxxo6Dq/ibR0qj43AuFvhKq01NFUXx0HyNvEK6XQq0i9AcxA1DQs1hnPhZ4gYLgdozE5pv8n0TA==","shasum":"ea17dfda163c8321491b8a448852e916d91fcf1f","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.6.0-next.1599076464.fcc5e953dc876aa72b63bd145b6f7e572a820d12.tgz","fileCount":14,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT/hyCRA9TVsSAnZWagAAEwwP/itm+MoxBIV7EXViV173\nEzve59CDr6u54HOUGALcttLKqzE8F04k5SwT97qLTPg0jD/5H6TLAqz5YcbB\nIayo0BMHXL3g5Ekj6wyrma1bHbnatpE90YwUr1ul/1yq3WGtcM/pgd7z1ceF\n6JnBKWoAYaq8+5G0MxHfJiGLNbRbI1qfWn1bk2X01H2JTOq1GFnbAawFs3he\nLm8Ciuv+ODLVYupW78fGFKEac6a+rg5hfPN6YmWBbFFGDIKmwRY87c/RzKVO\ntz4qG9Pz8NO+zy+Lniqb52pNDpLvTMZsDuaCqvHnl4c4Cc2JxVu0APKV5ups\nyqAhuUeTRiRSLhIW+KQ2l/07Rm82QKxpKk6Rf0BhqDcZd8g6FQhsdHVtdNgd\nvWmbUKhFuwTqqDFLQTAWEajHAABwwl2BUe/IxxIhQlmltjgchZXnvvHcsF/t\nd3amJiRPxlvNpmJdx1faxgbnIcSR3yNRwFUKMA9unZFL8TYQG2Am+OADRqgl\n1RmaW/gPGXWWyKV9I2Al1zrCyk8Fy6CZcz0bjN+7WlpHSgm7SB0Zk+fJ9AFI\nRY4fsWCQHh37xwnk8iImzRn1vodStiFY+EsnrlYAcF6f5b9zuhKXF0Up5xbK\nnx/hKaVl0fjBGJXGCnbL5MnnaHnyX1X4sghPXaH81TN52j7ZCRbjE2DM2FR5\nsrQq\r\n=8sYB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+dP9qo4cpcGHvClVSs19Geh2W6nCTHoeE+wi1/QehGwIgDpLdU+PgUd0QTEYZG4LNdk1xv9ZVN0sqTlU3YLySNv4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.6.0-next.1599076464.fcc5e953dc876aa72b63bd145b6f7e572a820d12_1599076466062_0.959224015786615"},"_hasShrinkwrap":false},"6.7.0-next.1599214413.5b1408870351f05fa7fe5eac618f09b69da08fd0":{"name":"get-cli-arg","version":"6.7.0-next.1599214413.5b1408870351f05fa7fe5eac618f09b69da08fd0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"5b1408870351f05fa7fe5eac618f09b69da08fd0","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599214413.5b1408870351f05fa7fe5eac618f09b69da08fd0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-eX2Ebgv4JSESITwEH2/jA28HH/qVK/zV+57ZRUsKTq/dbWVZxiaicdQTAmWJ041GDcDTaiCzOi6d8WnDuku4iw==","shasum":"bc5e420b026daac12364c9e4967b9f115b8c3299","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599214413.5b1408870351f05fa7fe5eac618f09b69da08fd0.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUhNPCRA9TVsSAnZWagAAg0UP/2PIm0UTEfOVcHa9uTzA\nELHRyoA6p6pNFmAKKHRiM89Ao7wMQUIgbuFGn766DYTPMapk4I9t12VY4/fJ\n8+yM+rguKbTg7fAT3wB6550xwXEmyIMhYFoiK62PH7k3Fi0g+klewpnATPdN\nyS38/8StxV1gma6LJBBPMJ1IY/4jeIPUW+QcxINa7YRDZ70oNfsLfEMTFX5A\nE/lDdJOJNEGihFyUsYjsM/IwE4jybSe6q2g/1aOju5aYTSRvMwBQFk4zBVYE\ndJcY9tFL9edzTDOUFOffiZyQBH0Y8AROj7Ax9I+wklAsP6IDIarv9gpYsa63\nkWcjTWPxA26RrXbg9x3djN7i/g0LtkXuDhZovejat3EMqO57Ptq6Lu4HRyzE\nrboK7drvDlga1w9chGnTaHxm9WaWJ5D/A+hQ+wQ1fCHZ6eepkZQA7J0dZbsW\nJrMslUc4S8OEMcT7s16Y6rJYozGTS1A7kAm8Xms/hsfKJLXCBkxo97Mf3ih+\nrmXs+ht2msYvH6VnSQowos58wSVXqP7vYWpSU6i/dEwYD3pQdS7mztPirXXS\neyyFafwII06ii2kaqGOdqlSpSNRyd4b19oa8XBeHjz8Ln0ymZXoeKZWRGxhY\npY/so+CMTlrsPX//5ZeI8sblWv9A5MT6FL+6RRQnKj5hZ+SipQKjsDb2uTKK\nTc/T\r\n=cmUR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRFqunUIibaSWVfqE51KvE+X56Fp1hMeiPW0x66iTPYwIgSD+gt+2HRegeLHXJxy/Q1ZDrv/YMq/5jB2mh5zMdN2E="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599214413.5b1408870351f05fa7fe5eac618f09b69da08fd0_1599214414554_0.7916726023781548"},"_hasShrinkwrap":false},"6.7.0":{"name":"get-cli-arg","version":"6.7.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"5b1408870351f05fa7fe5eac618f09b69da08fd0","_id":"get-cli-arg@6.7.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-gswuIYKexqKt4vpBZhKd5lUr0Ir/STugvgQrRYw6tHI6hlzmdbB/LUkPSUAV6WwHfpozj8XjsQLDzr6PPWHl0Q==","shasum":"bf2021d46d6ee265ef85960d531e4f0dfb8b43a7","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0.tgz","fileCount":14,"unpackedSize":31546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUhObCRA9TVsSAnZWagAAqCAP/RrDjyJvOmcyu/Q0oFKc\nG/KV5AjmfGLkMVaZGamyGrvGLGXodykBU9uiQ2nRqrRWm7MMtCL4ojeYlzX+\nuJQTO7VD7efl2ztmTYh/OR78qkOoWsg0LGmUykkpVnT5uLikxNTfFoANIwFt\n7S4ZWH0+XnlwWMkae0bWRrr0QpmyY4JQb4EA77xMaDneJttbVM/yw2FrxkfT\nqHcbLmpxMjSkiONS67cBgrMc+PMnqV6sNSX7K4k2ErMt9HZPrDN6DGyc0msg\na4Bx1QGPBK7VdUpSDARRiW05KlBIeQaI3kpLFuVswkLF7GGqQ7Va0lBklbKD\n53pRgE9mjjao2ktWGxI4e7YOl3JuVX2issCRIDXrG6F5sxzeMjNzq6U8reHe\npF5eSLSkk/YFzGhFtaWuwIijnE4OcqYbdfsrZvBWfrnI6Zq/x4Tj6xoA/4I2\nqw28hKqdIkOf/KMm5WF+RXkPzlpIPzfgCmxBf3mRj8zryZsJyHpSxKxyxouj\n7WnJafIa2QJsNGwxxnO5SNCpH6Ff+iToyhb0GyYftzRkhkjCYgy0GmUM3iHT\n7IEeT6tBMsN6RWw42LF/k7CLlWEP3SMzcxYlpssQncP6rVWMRNVQUwS5mLA5\noZ/FSF8UiHgOq/hZfC00MQ1EzQr9xA1eaw9g6+NiJb6XjkofNQ0sFzAOfEff\nuFCF\r\n=2jbL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+v7ffh3A7IgdxLWb/Z1IDjVRy7gg1UAezjEJVPT6dLAiEA+ol1l84j4fwbOYmIuWgpJukWDi5KYJnwbPc4DfmJqFI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0_1599214490809_0.9816070189703212"},"_hasShrinkwrap":false},"6.7.0-next.1599393846.be8bf3fb8d473c7b2447980f8c7781e17503cf3a":{"name":"get-cli-arg","version":"6.7.0-next.1599393846.be8bf3fb8d473c7b2447980f8c7781e17503cf3a","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"be8bf3fb8d473c7b2447980f8c7781e17503cf3a","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599393846.be8bf3fb8d473c7b2447980f8c7781e17503cf3a","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-BkuZkoxnPYaRRVWdyimycAfPteJohe2eJaSs89xOVaygLtrkkW+TsWSaC3LvA2whMS3OWl3BX5OsGo2eGLU/6A==","shasum":"7b9db39d33b0b2504302b9dcd35e3d07c4f20cb3","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599393846.be8bf3fb8d473c7b2447980f8c7781e17503cf3a.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVNA4CRA9TVsSAnZWagAAnVcP/0FXdQP9jpMIh3WLBq+l\nRX9Xgb5VfU14o2/IoHITjo5HI8CSK1otutEY7va4K1uk++IAt8pksm+Vtt29\nyJNtMwJ1l9WyT0E8WU4IasqMDXDfo6De1GanzqwwqxP4NgtKEJfZF+SzvehS\nVq2i13HOiXXCFBG2EF1XCQpiBthXL5QRzq6rs2yTLxy2SXbU//bKvyvktYO+\nLT64RP/SukNF6HYnifbVMbQKFqjS8UFVijcgAb2GtSfl2t2NKe+r2DnNxuf3\nnwFzFiiczX0lgoN308FGDO6A5Nol3RuhHTUQe06MoCiZ2hHB+gkYV666ywbu\nIdhn9gSeYzICFuHaHvAtV46D96t2Bbo+XKoWWR8ip2QbXDsfXNw7Q6Cze0xx\nS/+EH/wROtZradVyL3UMc6mSnO972yHrDe+SayqnZstEdbstI5OpCfVFLRz9\neDfg0YvyAtoXhps622CJ1dyZ506BaVSbzdBlOg7Nuv6wjXP/BmhhnHuufhWq\nWue0yuj2RnVE5FKc1BQ22TWXC/HarweHwN87ns3hejP/T+ye16kxXR6D7720\nz7ant0O++gtqrpzGFhPsN87PMnsstduvGRZBsLKLU0oul/yxLIFFnoqm7kcJ\nKSt7JKp2AVivdGAdRo69E4fdrGACrbuScuUlRR7nWu4Mj3AFO9+fnq52XQP0\nNBj8\r\n=9bYx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDL8OMExLg/i28d3NBUVksVhJXQ+SXro7HJ+53HwmMQAIhAMFN+nekkClJosGq2Cgtc+1KYOBQqEcPGun4S568UGcB"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599393846.be8bf3fb8d473c7b2447980f8c7781e17503cf3a_1599393848200_0.6739754596562717"},"_hasShrinkwrap":false},"6.7.0-next.1599394788.3febbd614a285b1cccd42f97b3883d94e343db9f":{"name":"get-cli-arg","version":"6.7.0-next.1599394788.3febbd614a285b1cccd42f97b3883d94e343db9f","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"3febbd614a285b1cccd42f97b3883d94e343db9f","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599394788.3febbd614a285b1cccd42f97b3883d94e343db9f","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Z83g2Y7/ThS4slNPEvIeZKCzJFoeJ/H/8H5xQIldDQg7NzmL5jR4DjPOwTld4YmUjLwRLkdEnkuK90sY9VV1nA==","shasum":"f878f70772c76be115b139fee4577e0d97750c58","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599394788.3febbd614a285b1cccd42f97b3883d94e343db9f.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVNPmCRA9TVsSAnZWagAAMnQQAI1Sp82Ih15p8v6XGzXM\nZPjgjHzH146ZmWEkrikJog1HtcoQXordcc/3xs7Z065X0oc26a1kGnUIYjxK\n8IBDZQATITaDLC37Os8cZLgpsgbGF3qhXRi252YA6JnWIWn/JokuB6amormF\nR+x8ESwCsYdYyTyQ7afZax3zbTRy2oSpDDVn3XmPX/9pKCrcHtHMvgprxkc2\nrY3G9sk/OK0x+znPHt0AzuiZMw5smY5aYx/4j6iWVp6GmIOuTbnu0WKk+kAu\n01P+ol+UbRCKgsYoQ0entuUkJKyQ0fF54hRAuqFkw/GqG/C60jTRIMFeatMq\nayLiwE0o0kgmoUBQpYSmWiO/oUtGeUt1JZ/AvWszoVPQYZldBHgaX1b7fyjI\nXUrFeoQu02iPIPOtFY9Zk3pKUNVg+MzNkLRL89ss2uDfl38PpBh/78GyLmQx\nivfCrYP9PZ/lLDWCDQ1scIozL+tmVm3bQ1uR4FJ0l0VG0CKQJ9BNy13/uY5+\nca/VBcWgcYqu7vzjLKQ0yoLioG6OBXjt6FweOaZXk4hcBDeox/1PUfgDaKqU\nU9a/kobj6dYdy6E2+0MFFAI4GW+Wg4XF1HU55AdG1HmG+tlUEqSajyqjZ9yh\nc5jOzwS8DAuEapZPBmxcdn5pfTn5F8YBO4jJeRgUSemO6Qll2Q9yUi19gRBT\nXh/B\r\n=LGNu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0EDHIarRO5XhV8m6yDiB+fBx8CPUPMy7zhjg+sKrF5AIhAPFSu2teyXJP7l/fg9nHNqAIBjeN1mrYQEul6FsWnGW+"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599394788.3febbd614a285b1cccd42f97b3883d94e343db9f_1599394789748_0.2370645699725944"},"_hasShrinkwrap":false},"6.7.0-next.1599395686.58080abe89193167ca02b5fd44adcc7e2f9bff57":{"name":"get-cli-arg","version":"6.7.0-next.1599395686.58080abe89193167ca02b5fd44adcc7e2f9bff57","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"58080abe89193167ca02b5fd44adcc7e2f9bff57","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599395686.58080abe89193167ca02b5fd44adcc7e2f9bff57","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-FMRkRPMXGTMJecFHRwZLlTr7A8j6mli6mIiryAhh9taofLR+TtHvRuISNdZtoI77cCUwD014IissyBJEGlIZBA==","shasum":"07896bebe6190f82c99a421f423f88dc6de2725e","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599395686.58080abe89193167ca02b5fd44adcc7e2f9bff57.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVNdoCRA9TVsSAnZWagAAujoP/io0LhhcJpttEGFK0DE8\n3h38LBHzPehtapSLFva6hCrUhFd7pJZRdhqI65SfzWbJxpACsI2WGoiQiGla\nih9gp+h/SOWaA80QRRXRn3X4dn5T9o0pJnQ1PDgjZMrUWEW/IkihAt9/fC9W\nROOYoB2zv3JTCOOOShb6xXo4d48UIXdk3Kxi7FxU2fMXuCGS0ToipixjjZ7T\ng4MJB/Pa2/muCa4H85afsusyy1TK8JGNDpoiQfd2YVwlNpN/zu0g2po6UjRK\nVL9r1QJ6MH0+kNj3rMrUCb/MINhcJidM+5mctiGsTJujnEW012GYFdTWUOsB\nKeVmC+GKwbsPfP+XMrgFOvsIEGmvbB6lZ4IZ5tMFhr1XPN72IQBAMGOtdA8z\neZGWPbkMAeKs57g8DbO4WLRrrJ1Ky09fEnl8fcMIPTP9zXYCklvrRXpepUqo\n0XhMqn4vZUUL6fEccRmLBHNoA04I3mViugMgmISyWPGXhiuDVbqeH8HoiQnw\np2cgNsebH12ElsmDGydsi+A01YTX4XPPsfO65HL5tJlA5/UGAStk6M9IBvlU\nn9781H1KtLAwxM0BqDtzg531P8iTXqovo7luyh9XAs8/Tr3SpiPmdA0BLI0j\ndYr/sp9cMSBTQTYhC7WGU7JO+PxZnUpMfOFtvbR8DRj39c0lMrlRhoJpsAXo\nkFWH\r\n=otMm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4K2Y/nRcYHAywrizbIE7tq5UWPtuMm3GSaI3jSo/oHgIgQm9HGL1b3u1/mhpCHXZkG7SFRJpinbqczPkP/fduqG4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599395686.58080abe89193167ca02b5fd44adcc7e2f9bff57_1599395688346_0.8248456687592123"},"_hasShrinkwrap":false},"6.7.0-next.1599396861.4a4b2a49e9aa3f4907417aad8b876162aab8d7aa":{"name":"get-cli-arg","version":"6.7.0-next.1599396861.4a4b2a49e9aa3f4907417aad8b876162aab8d7aa","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"4a4b2a49e9aa3f4907417aad8b876162aab8d7aa","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599396861.4a4b2a49e9aa3f4907417aad8b876162aab8d7aa","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-U+I4o1c9cEceknb5LnfxPDBGGikpgUwG5b4DZDfb8EqeMdnThzU63wySzQAKqbL3LHTjLcZ6lepR5f+McF2naw==","shasum":"e60d21481f4984531ee6cbd86178cb62f9bc56de","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599396861.4a4b2a49e9aa3f4907417aad8b876162aab8d7aa.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVNv/CRA9TVsSAnZWagAAAtIP/RUuC4ZCp3nHKQL4W4sW\nh2OqEGO6sxgvXgnchcvvLvepImYh+eR8Mi8RLGq6NLicLTJv0n6oRnN2DmMc\nzQ508/WQqg7+gqTI7pyFySHndCCWpgKJcEVgA51QU1T9apyW2eksZF5gypaS\nnbOWGzwhGCTIrUi7ds4XnB644Q8TMniNKevf7+2og14zBQNPi1JUw6liHfzj\n5Wwheilr9BNKR75YoGVHsozMQ4Zp0qcvaFlRYHcASD9SOhec4yJiw3VjOSHY\nlTVHKRnxqEjnoMfDgOqJEnXjNg6Pifgj+nAUvgVR5ZMHW8rtJPEEo/xnrvA1\nkZUGhksbAcndlQpHfaSmHwIhfd8BBVBU4daIfvIvWh5ROW1u4+CmxUkUcvwY\nA9C4mQZsC6yHMhA0kgF4t76QBetMUm1cx4/xFmvRD9DX9aFUPBeGj9M3uXjg\nlHOKmQdrrKF2AJw3prX8Sj1URcqliEiHfhMHBd9rhU4Wpwtd1j0N7mJDmsbF\n070oKfuYTgixCxZr4VeKNbh9SNDNHOtUCdrJnxvQNggm+RlbFVfW96VRLEEE\naAuu7hv/kuWZmBWCYa0jELuUKzDdkcnRSJmwNuibLITZ0VI/T2jz3LKL0xYT\nJkyitrO9WiB7MK0a4zpm8Kc43vC/6SmZl1DrO0THK+qW2NWQR3JRy685vp3y\nsuVi\r\n=oigO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID47tBMgHO4L+lA5f+0Q1u84EjCUiRY8Ao+uaq9/3N37AiEAjWz5UkXWOrB7llMW/dduRiuNWYxEiLf6F5Ezv/S35hQ="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599396861.4a4b2a49e9aa3f4907417aad8b876162aab8d7aa_1599396863050_0.8949217390978568"},"_hasShrinkwrap":false},"6.7.0-next.1599398130.5d708565e72f1b0c49f1f897d2177f32448442d5":{"name":"get-cli-arg","version":"6.7.0-next.1599398130.5d708565e72f1b0c49f1f897d2177f32448442d5","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"5d708565e72f1b0c49f1f897d2177f32448442d5","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599398130.5d708565e72f1b0c49f1f897d2177f32448442d5","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-mq99NG11rnwoDCmp3PwNOhSqcy+O/NrYZQ6Z5TGQeDMMkfE5t602S8FA0FjmqpnVhfZaImMOyNhkxVnCTzRLKw==","shasum":"f27c6d64ce5ab8b1472f6580f3142570ffcb3670","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599398130.5d708565e72f1b0c49f1f897d2177f32448442d5.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVOD0CRA9TVsSAnZWagAARWIP/0rAL/5ce4YDPpSiOsU2\nGyFlS4R3b68+mLBDF+jaiDhUGGWGeuBqp2egtl5j/PTRJz1ixHeWHVxlrHYS\nayrApuwS5Oz/E7ZDdrJlB1rkBIG9gKXLdWdoaZjSriJaIfzcVhohk2iWFDzI\nC+fHVyYAbIDyQjsnVasIYb2WJvZu46VKh51NZVNGNDUgJfoDfPKVdHmXSjjV\nvl3A8CCqEXimNq/WqDXao15744QUt8TXZc/ZEWLJEFTfGt7Rg4xR4HP3gEHg\ni93Y9gN1D/tpPrPzztOx/tqdcFLd58NnHUJi34sihAjNtfTCUeWDPUaCD480\nLbtjeEqJg6FyGNzAt2Hz+ZxtHV/GZnO44SrVRcI+sRdlT4zFAyN5xCt+3p9H\nIQEamn9nZ7IK7+4HVbfchjLkTdUM0nXL1vhIUCATkEoVAgOPqkmtEDmyueF7\nT2OYa7HqTBri7x1FsPIQi8PdA+75psPqX4/CwUupAlwRr9SS7sLBqarVGxGe\nvP2Hc5MPRRPNcrQy01ZDjF8dFye8k58cVYlKOije3dWN+QULGfjJBd7RVq1X\n2SaW7YIu9B10fI7CRpjqUUTKaDkl3lXwSHc3DBo1xdE9xkGbOLduHB8E45iN\nYjioCPArhm5tAWNe4hcc/DN8r8myvTufL44tZ38V5I+RU7CGky/uElwrCSEs\nlPI6\r\n=klY1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0sRxUHmXsJqzzXzURW8+XMf29pC3ANTxf9s6nJOktRgIgCpYuBtRDrHn/YISsCtQRNh8Uhh4zpUZwF0hLfwIM56A="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599398130.5d708565e72f1b0c49f1f897d2177f32448442d5_1599398132136_0.1944628770659922"},"_hasShrinkwrap":false},"6.7.0-next.1599988823.fdbfeb431558b1f10a093d079ecef32ff0a873bf":{"name":"get-cli-arg","version":"6.7.0-next.1599988823.fdbfeb431558b1f10a093d079ecef32ff0a873bf","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"fdbfeb431558b1f10a093d079ecef32ff0a873bf","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599988823.fdbfeb431558b1f10a093d079ecef32ff0a873bf","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-xhEbd5QYghY5h9/BvvnCpVonmEfIC2NYGFAWZ49XUcyty3E7UbfMODsNK0KKFGfuOcma+m8dskrRuW2AuyLx+w==","shasum":"4cc3aab11491909985fd52f7428d65eb5913072e","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599988823.fdbfeb431558b1f10a093d079ecef32ff0a873bf.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXeRYCRA9TVsSAnZWagAAIikP/iOZx9nDkG6aye1EcNGZ\nrtrrqlc2xiz3W+hEhjFeNwnMmXqPHQEBR/zaGH31LjrBnzLUl2XNQ0LyW6aU\nm59ubwjfG04IETaJTUUGUoe2QZxGF7kpAJxx7UGpNAzxo0NWWMigOdM7kbXV\nkn7oa8A2iAtsJIKdVFZ0uedodnd6y61BYSNyigGpiirYAQla6dlEr4Xxx6K+\noxqwb9ggE8WlTcN3R4ddo4eJE0H9mzscE6JwUUey1sm2KuQqscvYwxEmFRAP\nHqSwkecb+oxN1r2xFgDAiDlyThMtkWacsR9r65MtIG67kG+Oa+KelfSRwhZe\n/wTFyvlEOW8Sa43Afd5DblqaxV7Hy4oDNrwMi50wowkes2ZdmpNWhaTEOoOU\nCvNUfzRHL8jYozNgzoNG/EWB6nIuJPXCE3jsZBarJbedVNeDAyK3l+xvJd4s\n4pKJ4Ddk7WnOdBbxHS7h4whjEuzqDGbVRcCokS9ddZjoesKNAjn0KSjTWm6f\nOsO3J9uLLtgskztJGGH7v4RsXTPXTg7/gaFtnrxe9Gy5eJpFGJ62d6RCuPos\nvUbkR8Aaz9s0Qsype6EiJPNHab5D+nWxGMWlwBPLJFDdoUN5WddV7Fy7mxNL\n6wyNhklFS108kKKF/InUhs1wBc+CXvYFa1Qn9/EkxFCj+YU0K9cjjgtSfYIr\nrFqJ\r\n=CJon\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCt7DozWFPO0iSKoZ/V11uKUYJsc8aZJnq+4w0UK24SIgIgT9XO1HiWvPqDz8g4vm5GHDCZKZwfQtc1CI86f53Vogs="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599988823.fdbfeb431558b1f10a093d079ecef32ff0a873bf_1599988824403_0.6522484443338092"},"_hasShrinkwrap":false},"6.7.0-next.1599992997.c75dd40794518746cc07d3c79baa795f9072ef00":{"name":"get-cli-arg","version":"6.7.0-next.1599992997.c75dd40794518746cc07d3c79baa795f9072ef00","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"c75dd40794518746cc07d3c79baa795f9072ef00","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599992997.c75dd40794518746cc07d3c79baa795f9072ef00","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-rZWJK3Ko+EROECKQIlMLlF/Ow82EgnqY9Lp1ZiPEhjFh6JF2qosbc8rOt0B1KG7DH2RHFDFFcWDwAHJ5G4IbFA==","shasum":"00f3c590f49188ef8326789c7e3c38d6106ea7d7","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599992997.c75dd40794518746cc07d3c79baa795f9072ef00.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXfSnCRA9TVsSAnZWagAAtm8P/2E1SHp1BY/y5qm2fpZB\nXvUrjWyYkCLzZnW/acw6Z02ywfddIIrO98LWq5eELvwDS5Ty5p7JABLj2Pxx\nZaeDBd/jRg7n8OPFLFNB3z/vGp9YCcnMCGorbHg7gFYAGzP6WT3MnEHYLSBy\nrFnQOkorGylifdVtHF/Ig9ZEIPgDjO3LU6dU0QoO6fDvn1TNQPO2N6dr5A4D\ndDjzQhEA5yDGjEw5t+E0ISob5hGTNMVWFHNdDekATbxZYkuYrTPhhlRivXWw\niVCC9mekQtIcwgRhdtv4PEgIY8mQXp+uoJdlc6iGriEwZJ2T1QvmjooGl7d+\nT87eJ7Cy9HcsMSnfQ4ohYSXWH6w8RUlQKDeCuITjE+QVv0UZt7gOB/kKVCIE\nurzU5+xBK3DBvPYlfWBliFH8kC5BB2L+zsBXuDflDV82ugcNUH21L/AHq0eu\nF7GR3IDJ9CGJYOOH1qqIQ9rf3A/5UJsUCXocT747fjaqOQReZL2JrPg99MyK\naGx9/wPMEdwL+H/3kVpUUOc6wFSWzKLwoCWDVrh47Dk+z5pfINvCFuO8au32\nLyo1Cf4rFMKAnD1tTnQgwgOJf0XSbVxPNsiIqT3re07axpRGD4ZoXnYZm6Tq\nzEsyE4V5xuepM2hUQTIPs6VQebPsln4a7zUZgtEXFwtMbriGoRdhZo/qVpwm\n6AOE\r\n=tljF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCio/jz7HiHaSxu+47FI1UQa9foa8jyF9pqnLXlHtTuAiBx6Rfep5zPwvACkuOf348QkUGQ79FF73R8RTndmZuYMQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599992997.c75dd40794518746cc07d3c79baa795f9072ef00_1599992999359_0.6922362879122081"},"_hasShrinkwrap":false},"6.7.0-next.1599994804.f4df5f0f3f4f4e7a84c3a7057c5638a6a8b5a013":{"name":"get-cli-arg","version":"6.7.0-next.1599994804.f4df5f0f3f4f4e7a84c3a7057c5638a6a8b5a013","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"f4df5f0f3f4f4e7a84c3a7057c5638a6a8b5a013","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1599994804.f4df5f0f3f4f4e7a84c3a7057c5638a6a8b5a013","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-tlQY9BofkLUV3GVenc9xhe205TbIXeXdi7qkM+NJBuN5PtC8RfBmK5gNFNcQcgJ0KtdIxjvFsBvfYtNp+Ewz3Q==","shasum":"5382a06d51f0b8c11f97860bc75fba120096c2d6","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1599994804.f4df5f0f3f4f4e7a84c3a7057c5638a6a8b5a013.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXfu3CRA9TVsSAnZWagAAbX0P/0vkU89AzrrvbX59IjL7\np6g07+hHBEkgAm7Y+4ObmclWMyei2Pwc646mjZB70i8kylTh0Us+zR9BALr4\n6CNzrDy0vtzP/4pBos7OG2FOeIooOZSmXC870d3H9MM5H4l9PY8//aT/5KNx\ncDaKevZmxhGoYC05V863Vf0mQSHPG5MZr51k52siAA03IHUGFeQu851uhQlh\nCUsp8AsC/s0H46wTkBsB5BeZWP3utcu3BhQeCzAlHhF3tZESCbzaw5RLQ5XO\nFNPWMphPJ07KCwmDcqa/EcjQlmuEbOO0z9MWik5KvrQHzaYMnhIDqn3DRMf7\ncxh+TtC5IJBimv1Edq2F0DoxT+XXUKfpYlBx7VuL3NJGB8nRphL8WyQNAM7+\nkxQPr5RBZTZwssxH0nqhqwLxMx6GZmDsgnhSEnF52HhxNGrdrXLYgANIJk6M\nNCtIyQPB1XmEYy8uNl7PWSzRFGLFFlf4gxeq9mzmi+SM/EmhlgzVulngcnBu\nsZLdsgwmdUL3xY+tLjXhgIhzajc6Mp4ISyCPUNa4fMkhvNZ+/MB2lIK/KCn+\noH88oLOevrIkBRV7OBsq6MGZScHwGqn/rPjP/MW0rcpB8jYxtiPS9cwEuPHo\nTDCznuJb4xRocjoNlLUe3uyfnfAyRsRKe0ovzgc1n6sggr9thb8hqWPmtHiq\nZXHR\r\n=WeZh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEmmAt4cOG222884lXIWLUHLvlM1X/gxzLmdO9Hcp4HAiEA8CGSrxMlLxDeIOPUoE5niSW+KMJRm+k8a22z+44znG8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1599994804.f4df5f0f3f4f4e7a84c3a7057c5638a6a8b5a013_1599994807416_0.9925154698699521"},"_hasShrinkwrap":false},"6.7.0-next.1600602660.741fc215abdf37e61b00ae4e137314bdd10f6af8":{"name":"get-cli-arg","version":"6.7.0-next.1600602660.741fc215abdf37e61b00ae4e137314bdd10f6af8","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"741fc215abdf37e61b00ae4e137314bdd10f6af8","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1600602660.741fc215abdf37e61b00ae4e137314bdd10f6af8","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-6iWGa4DEoIKMbKK3d+FQyJ5ojgKl4s2DfugP13285CLeJ9mZ72Cbg3G+LAEO4Fun8ohLbI9igE2lPwXIoKzlRg==","shasum":"13807b04f75c2eb3cb6359cf866889091a41f8dd","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1600602660.741fc215abdf37e61b00ae4e137314bdd10f6af8.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZ0ImCRA9TVsSAnZWagAAVbMP+gIIL0l8Iaq57q1/wB7e\n/DjPLQuFCfG5b9TAIdeJOvRWs4TXZ5ihdjmMLLdCi94jaSDm09oSdHcVJO+q\nPVI784RO6xaA9wQrAH5s3vFoYQBnb8/tGhZSBAloDR9BVJJdILhOEpzsLmW2\nVZPT20uP7R4kPE90DnM2ffjO7rmxc+FAboNAgtTGNGgQhrDbCwFpFdH7JXRi\nSazCS3D4x6+PAAkwETkeXE7cLeITj7vtf8R7qFTsnkiXUR7bnyGbGgjZcqUj\nmjq7U1kY+Z9kJFaO97OrLeMxjcSVj0VPylH4W32WUQbqh95VMoZX/ehEq3Uj\necsjh8/+REzD8il8zP2e1LKpf+xvbGmu2zM+z9Z8HIeee5bAshT2Yk+JNQOX\nNoSRziYh4GPh8uIK46zxdJplyWMd18ageRCtGgHZju5AMLJ5jiivkI+9kZN8\nmCUpg7o+pCbNRkiRs6iMQkx++9Al1TSTsQwpP8o52xK8PoNViKsRj1nlcXZD\nKUPDpJubaa0gVmwkfvCBWkj44kSoYo63HIowuwda4/INsDfNOjm9nvk3+Y+h\nhnI6ipfzFz4KadNJNsiZeGv07lXY3VRvmqGeU/fBxojQcElbrkbH2wZtqrF3\nwUxBKnwfWRMAExoZjdnD6SlzfEL3IYXjSvy6v5r0R4SL7Ggog9hxrXDpB08J\nJX5O\r\n=I78s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8J7xy9Iy209dUHesIqQ/u8+s+MaaWRmO2spcVh+/aVwIhAOy9qY6y70tod+qguvRZE8MxnHGt2rxX/Ie0D5lxo18a"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1600602660.741fc215abdf37e61b00ae4e137314bdd10f6af8_1600602661666_0.765544307640353"},"_hasShrinkwrap":false},"6.7.0-next.1600603915.77f15bc22dae595f1810be84cb9be1f450aab417":{"name":"get-cli-arg","version":"6.7.0-next.1600603915.77f15bc22dae595f1810be84cb9be1f450aab417","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"77f15bc22dae595f1810be84cb9be1f450aab417","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1600603915.77f15bc22dae595f1810be84cb9be1f450aab417","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Az/9lwt8eLUGGaIs07JPSOvkNFrdgbL7MQ0jOg25tS2zXp0mmDe/sJh2foVVA1zhm+tQTT4uEtdLH6AinR0NOQ==","shasum":"5b0997a61b3dcd257947b74f919e3b45c13f4cc2","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1600603915.77f15bc22dae595f1810be84cb9be1f450aab417.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZ0cNCRA9TVsSAnZWagAAL1cP/2RJodjVY3SO5FYRuiOO\nhvhnX5z8lzA1U2HujCBA5T4GOewjIoSA5M/9eGVpz9M8np8LmcH7c7ZvQo3q\n3sHVHBj3k+7guHNajLNkHhh6SV46Rye/rTQgwhukDo2c0FXpGy+YCcLUsln/\n4fZRKfqVoXSByEfADrNv29oM793gPQEDwgJ1km0d5UbkiFhbzNKRL6KIhqB2\nTHH5jMNWwk5YMG0d5XMKHHzYxGuIERgrtp+YnamyeezJw8bBBZgTtLU2/8Nq\ntJDd94SqzpfUon6PWwl+J1nPFSzINHVHB8fcwsa5CN3WT18LNzULNzEu5/RV\nidJHzQhAl+TJrfvU+i3TDsH/uakJSWe6/Oh4zM2a2POXWy2szyF49I+ME2Sq\ntGl/GKrOVwi/Zgpv7VILCahlgb8dOn8Qj7t7h81zxfCkOOoV6w+WYB+sfrGS\nSmrHmGdqFKr31nJSIf0BZDQY+JNpIAAZdnsjdBttcUvxruGfJqOeX8d7OrYO\nbCVVX8SYZ9wJa+7x3EAErWg+gYKO+ZWQbviMVFHegrF5YtjL3Wrm6DBZ9uIJ\ntx2fYKSpRmdFgDnezU5h/utZDWB/NdAhNz4ZaokYIwOXs0Rv/UJe2PhvD56c\nuTrLiZ+pKCQFuJzzKTcxBTvb/SCFfhTJ8a7++bWSN1Gu1EDPv0cuiERG8N2C\nkqwd\r\n=OVAs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIAr8NtEb4aCLMG75Oy1kpmPkVrQB9mqoC2Laq06T6DAiB0595+pgbTTv/9+XvfAQguGRkZgXsFEVIYRbvNdtfpUA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1600603915.77f15bc22dae595f1810be84cb9be1f450aab417_1600603916775_0.134644584402696"},"_hasShrinkwrap":false},"6.7.0-next.1600604319.d583808337d95a598ee542ed2ccb2333905c61a4":{"name":"get-cli-arg","version":"6.7.0-next.1600604319.d583808337d95a598ee542ed2ccb2333905c61a4","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"d583808337d95a598ee542ed2ccb2333905c61a4","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1600604319.d583808337d95a598ee542ed2ccb2333905c61a4","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-XtAC1hXS3F05x82xvpxTo7cwFdC55k3MMKdrFlI89qbZ24oncseKBjKZ7/VLRN+a/cNt3xOLWjEBkmxXsT6srQ==","shasum":"2e3099d173c0a2d0f5b53ec6247488e645dd7f20","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1600604319.d583808337d95a598ee542ed2ccb2333905c61a4.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZ0ihCRA9TVsSAnZWagAASqMQAJOk1bvigyRNzSYaXow2\nsXBBQbuKqPHfcWW6JURqemgMuLRhxh3UHsvsxgxytw5+DJ3OwXp74HYM54q0\negp9DmanfRu+qYNB3bZV2ZHnaADONnbyeSZAb20MMlWFHdPSY1LEtz5InxaJ\npdINS+e2wtns3qB8vZp0+Ey0ga7e/wf0aunlSCWITC9QenJCTTeMnTZkFLkJ\nitRE0p+WS/d72pyphjxApwqvGrPBnYszZTjm1wqWniYeBbYuF62Y5hc/0XJO\nWgkn3x9oRyKikIZRpb80oDTn7NDUikGSTQKAQjjcSKlHvsPVQML9oA2+8IQD\nUPaQKlFOzQ9+ZI3PtvifkomRY39Lsxv6M57JsmuzUe4ZDy54uKTGgG6HikU1\nC3/Mlln7nIL2O1ZP9BUFRmYL6YegUgVfaQeAgYmRNLbhPH79Yzlb4aV66Gq7\nrDxc2xXhHc50laabwXfgmm6tWJVyG/h+PKdqthMdJtbD63zIzXDxKLgZKFr9\ngz3r1N1rSdP7Qdhe4vO0AWMaK0JmFucy3RTTr/PAGc+GzlXBwTuiJYC3jaxr\nQAPbchzxadSb7t0KskflgNMAK30T7UfJYIqsbaXL/yq1FMs6+E75eu59m49W\nk8Wown+o9YVq6ZnO0MPuwe5GXFNs2P3fSktv8n4ICBXBDhOPHiKWAxauJSv4\nZcvH\r\n=Rjg+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFthD39rdldF2F2KrUNzCGxNUEQPKGWE6+vSRzy1NertAiEAqIPDhR+Fjy7h+Rm7FpHwhhGFob8v4kJvljG47Rrzmow="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1600604319.d583808337d95a598ee542ed2ccb2333905c61a4_1600604321241_0.6134040046662792"},"_hasShrinkwrap":false},"6.7.0-next.1600607106.97cf44c2ea39d6d80512b564ac36f77ba77042ea":{"name":"get-cli-arg","version":"6.7.0-next.1600607106.97cf44c2ea39d6d80512b564ac36f77ba77042ea","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"97cf44c2ea39d6d80512b564ac36f77ba77042ea","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1600607106.97cf44c2ea39d6d80512b564ac36f77ba77042ea","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-OFXTp8hduBYqceOitx7Rp3RjNT46dJuCO5B6Y5552hQNyvNpuROGxbzPX1LE/jjoz8XLYXnwVY2bEVw7l3lbAA==","shasum":"b44cc91af0eb525843aa09f6c310fc7c8796b4e6","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1600607106.97cf44c2ea39d6d80512b564ac36f77ba77042ea.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZ1ODCRA9TVsSAnZWagAAC/sP/RQrWCuS4oH9iCxPij/E\nVqdEeYDdNfTVmWX0oILjBW99u4SV92LRUGXJODr4PFFuYOM9xLG7YGb2GBkG\ntph/cOiz5wl7Hb6e4fk4FhzjAxkIDbOW4HfKxbAVgJYlVGlxzb6okZMFUeF0\na2UfnJdFH2pvaGSpqj3u8CLzcvEPOYPrjh3o68qCWvwmdTiQ8aNQyXvHllIJ\nhi+dwgu9+Bk4VvD4Q1esqf21uqFL1xnT0D/rJZloqR2qaCP1plLqoIBWn1Lk\nE18w5BONm/bHZp72LqnWV2IYW+LQVopWxKvvAUEd2SYN9+kxVCMysJt50/vc\nHZXmQHAhTbtTTwgdFOMJEwS2GyCvHgQrNcsB9vSZu1Fv8/DV/nDH42ZK2UPV\ntFRXLy9RV8W29KpJ1mlKmkiLUsLzIHMMEd5/gflhzB+4oZclnS2GxpPdetg9\ns5NU1kFIzDzFJwMVudcHajiV5EOswgsaA7pbbpOesWubpNi5YOA/osDD7X7g\nqN2dnuppAFnUwIPhFnXeb7oU/40mJNcU5tDgHMQBjMM5F55FVqewJPrfnBLu\nBJLzSLz39cgFfVB9siKO0lGKkchVptSt5DDARdBdUquJhDlADnH93orBIs0Q\nqFFT7CLnchyZcatbUnKqGmhDFtKA7YCsBNx3ajrduOjCVwTBk1BuyDp9LVPZ\n19RP\r\n=3my9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTZK85ytBeZ2Eiu5TzXOqq5cvNTQTtomwlwfo6/N/XjwIhAI/QFcdQhWh8RTrx6gxGGvEDmkIsL2MMTJqU8zGmnUkb"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1600607106.97cf44c2ea39d6d80512b564ac36f77ba77042ea_1600607107409_0.8783045110049892"},"_hasShrinkwrap":false},"6.7.0-next.1600607159.bfa54025da41a2bc753a984afe94e743c59bd778":{"name":"get-cli-arg","version":"6.7.0-next.1600607159.bfa54025da41a2bc753a984afe94e743c59bd778","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"bfa54025da41a2bc753a984afe94e743c59bd778","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1600607159.bfa54025da41a2bc753a984afe94e743c59bd778","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-GQNbxy+i+VdYxnz71bLXVbZ14EJPp4TTPiGJNqB/Wwc3EnKsjhFcNV4nQ47l7url4OBzBrCui7uXxbzAOfBtiQ==","shasum":"6002a21f58218fc745e80cfd3a1b8d173e3e0e8b","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1600607159.bfa54025da41a2bc753a984afe94e743c59bd778.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZ1O5CRA9TVsSAnZWagAAzDEQAJMS8FCY9+W6roNpO+St\nuDGV3rwIzs/FtWSPzfUnD2IAkTPfnB2N3pMuP+UPqiTG9Ar+JRuEDjsgiVYM\nmk7evz7bbF+6U45bW7/rp5Z+wNl0imq+uAGZXkrNYyXRY/V3UW7IH5/wblUx\nTr3Hz0aLgdd+vYj+gBkPscByo6gLviEslJgLr00EfinQYaYe1z2e9hRpbpY2\n4YQBMPiKcQNXukF0hVu56uECuqw4zr3edxN9SvzG6IzKj2MGyBNgpqJtaOUZ\n/bvDQnTfnXnpWVkR3fu7HzT/pGAm5rG8AL1nKjBhj826ABmbBa0uDzsuDVC5\n3GfGurODvF93htUWlYmpC1LR4nt74s3QPkYZqimt5U7tM0JUwneCTI/cnBff\nu1q/sNXTQche73wlqJNkv9/hh9Nj+kw9DOVEbiR11ZOn2/rVYMPhhGKoYtJc\nJieGWtbseO5VrqDNaknkCRADT42nLKvCHLtTWVOUd9t5cNZkMBZx8SYDg7mT\nVUw9Ya+ctOhKhO3OcJE0r5y0n5asAWTp8YES0ll49IxCzYMJNMpO7WJQ5Gmx\nc1k7IxsZ9f3IlSTCOtbjZogZM8o3p65ToP6345AunClhjplLBo72gMxFi2kl\nhu4wXAc4rR1rm5P5Pu8QoMY3p4hcnhu10/kaOhwQWbKhBVcOQ7C9tRjLd5rS\neO1O\r\n=ShGO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy82D4wptugv1fvXYscZ1MaTClirGTJD62iF87Nu4IFgIhAKIQzXhI+1Rz+/CZaJ4tlYUmNfCG3NcHEkCMOXaUPvya"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1600607159.bfa54025da41a2bc753a984afe94e743c59bd778_1600607161042_0.07040443396449803"},"_hasShrinkwrap":false},"6.7.0-next.1601208305.b9202c6c50d1becaf6d454771325fa76487fed7b":{"name":"get-cli-arg","version":"6.7.0-next.1601208305.b9202c6c50d1becaf6d454771325fa76487fed7b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"b9202c6c50d1becaf6d454771325fa76487fed7b","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1601208305.b9202c6c50d1becaf6d454771325fa76487fed7b","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-GhpWaGPNvvlONJoNVnn73RpATh/6wb1xJy6wjZzszQXPeHCZ5b8lZHzJFBykjMPc0yTITXNDHOraqlqtysOCoA==","shasum":"c3563fb5e3d5b666661fc8c78c4c20fbdf9a81cf","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1601208305.b9202c6c50d1becaf6d454771325fa76487fed7b.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcH/zCRA9TVsSAnZWagAAJBIQAIuXoQu1iOxFfA9kjvUp\nLRRU/WgnQYQ6LJzBS8zaMIWsaydDg24pMWjeGcDduDsvtwCeq5Z28KnTcRk7\nOceLhBwv141i3BJSuvqKZCasM43UxbqEag8Ef1i0mwh8HEM/Qh30kfBW72+4\n4uWWxEFmdNcuNQdBiss/84QDKijcr8IRFUEDVRwDCP1KOtn4gobsv93MCG5j\n89I5Q8o1eLLbelMGzcz6dSWbji+j6NCSU6vBi+qNPv7/+6QL7hl6NSO5dhau\na89aeEn1gjqpF8t4pcWxqeTPoY4DOvKuTZTNUVezmxa2WZidZlp7nFi6ukVV\n3qPw3W0FG5vtj/iCsuLAbWLBzhrN73+pVjcciBAfIBg8y5xg/Uq60MlpucxL\nCHIKbrfo8EoNdHNB2VkWJHRsGQcWaW18GF0UZInd+JCcjrLk05CACThOQ9K5\nyn8Vz7XUUujENWcWtTWnV9OcJsIGbf42bLZzUOtKmqEXSZnwU/hsCHq9H1na\nyzk0MUs/zuFXxavwQkT4I7YuZpIg8kA8Fycj9NDtpKRak7lKE/aDncjrSn+t\nk1KsRUj4WbOy/QqHsGnWCjr79fSIHUZ2cDu+fmky9PUcb1rwsBFO01wpj1Zx\nBxQVB+6RFnDXDCky/M3GOjKK+RQysiMeT7RNgcQcedUUFkg/OB0s6VSBQEVw\nO2uP\r\n=ah18\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICv/de4nXBAOBUlJ8YaNDkpx0E3SqRcLOBsw7AnF1wl3AiEAih0R3ZAP2za86NUQ+kcusZ7XqPJUtdYryhISXJXAz6E="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1601208305.b9202c6c50d1becaf6d454771325fa76487fed7b_1601208307015_0.5688260294995919"},"_hasShrinkwrap":false},"6.7.0-next.1601209715.2294b0fbe5f8d5aa61cb0729376ffef40ee0eb5d":{"name":"get-cli-arg","version":"6.7.0-next.1601209715.2294b0fbe5f8d5aa61cb0729376ffef40ee0eb5d","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"2294b0fbe5f8d5aa61cb0729376ffef40ee0eb5d","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1601209715.2294b0fbe5f8d5aa61cb0729376ffef40ee0eb5d","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-C8sxeNTmHpVWfjZHgkQ5fgSRuykRtbkgG18RgXhyT0mwE6yaBnxD9kYzbK+wjsYTvNIfeuHHFeA62M6EM/G0Jg==","shasum":"24d43471009cbb0fd461960f3b49a2b3dcc5354d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1601209715.2294b0fbe5f8d5aa61cb0729376ffef40ee0eb5d.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcIV1CRA9TVsSAnZWagAAcC4P/0jpUDlKsmQ/EWbBTwZB\ngUi0B03IWu6Pw5qF6Uaz+HUqpr7AZtd/ARcMpCW1ZD8HmssjMyTS9FMq+eG5\nYEQpu+2za1s0JmQZE6DKymVesMidQtJuD1IMJcbPDrrBTfdvTGq+46lct/Vx\nfDNztugI+7Dg+rBiuR+xRyHZracBXGpoXcElSMQIyesAknoRRfy6eXrhzyz+\nn1FGpIQHlQ/+oSl4Oap3AnVcux5tew1cDIi/ypTWYm2SIdFa7MjZbiAsg47b\nwldsCW6eKZNZFwiovu4LIT2t/+J9875SJWeCrw9mjOI2oRrLdG9W8bSYTndE\niU2WONMh1un1TBT4RWFE7cw1BZDJbW6THGyZrGZI8L+v1W/Cp9y3g04rZuVh\ngyKjUyeQyDXmAngvGSzgejbXEbhOrI6ewX+IcLpLcK47DprsJXlpDQOuRd2T\nYiP3KhwWZvFyt+nlYXYBUXmZCXXAKMtSurIhhGUZUnIm55a+0EAc2yBMz4ee\n2ZgWEzLBfRvpZovZNNnw9QCvaxlcZ6HywFQkc+S8ffnuh5aTXwA7GbD4zONl\nhf7SKfOYrJAzZN66hnQAbngKSasCVD2SqZtN/HzpHFE/C0SYpUJ1bU/OjPq5\nGr2IvBUL8uS3LzC7w3XaGP9R315IynYRT8dpzxpDxZtHJHAxGogMTY6IYo2/\nfXtD\r\n=RvpJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXRBd6kq5Qc458slmAY8GEz+G67isV6hfWHPPN+9n2jAiEA/wloSwTeYs+S0dJrKWNBZYjP7Mtay7DzBjmtVFcWZw8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1601209715.2294b0fbe5f8d5aa61cb0729376ffef40ee0eb5d_1601209717014_0.3199177062693217"},"_hasShrinkwrap":false},"6.7.0-next.1601210921.324cd39428b7bb58d3ad35d710f36fc8bc1a2e74":{"name":"get-cli-arg","version":"6.7.0-next.1601210921.324cd39428b7bb58d3ad35d710f36fc8bc1a2e74","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"324cd39428b7bb58d3ad35d710f36fc8bc1a2e74","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1601210921.324cd39428b7bb58d3ad35d710f36fc8bc1a2e74","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-8r1H5D9aX+SfDP1NvGAgkghZMb3C3Ar+cv4H2qclzLlXVjLGKBIpViElO+sU4s3qKO0LcwIPCc14OrQPWzR/Zw==","shasum":"c4f31ff7e1f622715c5dce919a8d3dc474cda1f9","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1601210921.324cd39428b7bb58d3ad35d710f36fc8bc1a2e74.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcIorCRA9TVsSAnZWagAAOjEP/3FT69dd+5MyYfN75lw5\np4oa70FcJz8jsTHtdtUWfhkpR9KoRCsFgwmP+cW57twtpRTV2fvFx2d8mLaS\n+qfU+FxgQu2HujJ/8lMzJxjpZ9w0GoQZZ7/h25RZyejL+GIzqIPHg/HWX6AF\n6EJftrYqHVgA3g2lJSw+BiO7GkPSkns18KjqloP0kYjl5X8SZblnDMymiZJ5\nYZVQEItWVJOCRuMh+EIiGq/wHNyV2uaYq4mg+WeMbgRofQN9wIROJHk88zEu\nZwWUz/pTQGhqGeSsNBsFCN/mgbnoq2d+BgQKYk3PZidAfzLc5LL9xRuVkKBm\nxPoXJV0eJ7mWJUEw68wA5woKLllURLxP8DDvzK7mKtqW8ajxtBYwgE2G17hh\n/wldcYd7XEmfh45qSd0aZHXTrm1Ms4qVSt8V9kduHf2zidLM4B8x6GJqhBZf\nZW+/DtSI56uqKYNFWs7U0LqXwL4xRlmXGCViU+7AQToMAau9Z9iGL6bZa38d\nOYGbF6VLIl4vJVQN0fiux5d+5epA0T6oxkp3DdnOZVzCTQUc2zWVfDQ3yg23\nUwuBbQtwl9kQHsEBkF4N3NGYv9utU48HlKOeqGTRweQy+dAYZt3hKwVaeYUE\nIfcybKfmRx1NUF0QWczTRH4lWKeEl2ooNy4m6BEYCFEXp//nZvABM0hbS8mS\nf409\r\n=QYXh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCf0hIAuDTzYc2GgfutsJ5WSrnI0ydGMcZe1l7+BBYdEgIhAJqBfLO4cQ8dXPKWdkB/LYF/cmJNmwH8unrhKEpNgR73"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1601210921.324cd39428b7bb58d3ad35d710f36fc8bc1a2e74_1601210923111_0.06635123769358753"},"_hasShrinkwrap":false},"6.7.0-next.1601212334.eb57532c7bb585a05b6bee7f2a2b26c74f2ac882":{"name":"get-cli-arg","version":"6.7.0-next.1601212334.eb57532c7bb585a05b6bee7f2a2b26c74f2ac882","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"eb57532c7bb585a05b6bee7f2a2b26c74f2ac882","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1601212334.eb57532c7bb585a05b6bee7f2a2b26c74f2ac882","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-4z78Om7fZyPDhi1IohvIZO0TA3EJAi0mn5hJkZ2PA6Emz75vE2BpEENW26gJKzT+fKhyOrAHc2hzoKQd3EoA/A==","shasum":"652077a96103322c8be906e8215e8c2e6ff78e75","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1601212334.eb57532c7bb585a05b6bee7f2a2b26c74f2ac882.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcI+wCRA9TVsSAnZWagAAI+UP/jPe3RNzkI7n1hiifrtr\nZAXt+88Lh4qzDyoEPB5BPWaqcjRnVzhmlYOD9pmUwxMiSgCJFhw0p/xBMzis\ng2qUkgazvaZepFJRX4EG7Pzf3yfdQGoovrDVoZNY37dK/ziyuAmNr1HRc+Nw\nuWywS6iiI5rC//W95y8TBZ2N0vWD1Di1BGndIpmXdMs+fgtEXc+Yy5FM9BNf\nWGeYKYBlaG0TT2TZJpcbHHgj9yJS0DbfG+9cAXy8FOdEIca3Tl15K1uqkawV\nUSPLy5J4EKmr3e/j1FxAdETMWDb2PEpqCbbB3ERcptVsbPJybbIMXmeM09x7\njalXQOkS7TGDx7wUOlTinCGYGl+i7rDBWlv/h6Ahpc7GWpcP8LeLQ6rtVNet\nvn7ma1T53hiMXv2QxybzPHAeiVVdfNmoHVr5eSvwSPOk4mpZM0qfqPp+L91A\n9R9TdPLr1LmaLnF2SPCnBOtrM3lGxXhmPEu+z44/GfwePTopmbYURuPtyGdx\nz6NgYbJUdgIk/OkPdPpmjghuTUYV5SzcqjstWHOEop6+fQ3QeF7qd8Rbl/kz\nROof5sFtYWPVz/r/jETk2k+ox7mCo66uQ/8Pl8OAxUCvDjGDG5RxPgNjSdD6\nNmBeUqk+plbLghtavJgXDWrmLMc00jfDBwN7G1YH5h8bGGBIApxH1oGmT46b\ns/7m\r\n=AHrp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC90duvs4TLQI+YRE/JQ7N0ZZ/bcSvy2ltjs6q1KcuehAIgWr4fp3ppTTmPam8BuyXVG+6L2kASqIHVOlDBJofFwM4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1601212334.eb57532c7bb585a05b6bee7f2a2b26c74f2ac882_1601212335911_0.6227655146725308"},"_hasShrinkwrap":false},"6.7.0-next.1601215609.f7292d4c76328bd65dae0a5193e976046e7bbbec":{"name":"get-cli-arg","version":"6.7.0-next.1601215609.f7292d4c76328bd65dae0a5193e976046e7bbbec","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"f7292d4c76328bd65dae0a5193e976046e7bbbec","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1601215609.f7292d4c76328bd65dae0a5193e976046e7bbbec","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-76wFIYaqQ6pV87ghEiH7yYcKHUVry56vkEFGCU4XU4elyWdo50Tl44zc/7F4RntCPxNVuO7q1tizuFTlJgmp4Q==","shasum":"f40b630eec03f2db218a903e065de7ac3f6f1153","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1601215609.f7292d4c76328bd65dae0a5193e976046e7bbbec.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcJx7CRA9TVsSAnZWagAA3oYP/3LZAfX4fbHjjMwUEESP\ngMBShPKnUMsdfhNqXyOjVGQn6gId2yb+1dLBtXOMCveNzmwSqOpp9Ac/0m6o\nhvdE79ycDTsCLRoAnoTSTkWHvcCUnHtXXaFBzGDLTlyN0RuTUWnytseD6gAI\nNcekoHV8Vl9Av/PytoYkAQNzHY9afoT3ht3U1K9t0nzLVP6/gedEEWxygokR\nbz7c34+rhN9XZRNIgmZ5k50kpT0dVHx6s65Sr6q1LJV3gqxeegrB2ETlHBJy\neJSVMN2Koi648zBzLaF8IVfCikQh12JWTzk+vSY87g9fLfTJd3na2LaNNtTY\nKn/5lb5OrBzlk6kPi8d1D1fR5AhqqCsKQDjCgziqaBPEULf8fnm6YUY6E/uE\nHQRtexH/liVQtr85jHlliVYNLF0XO2w8CHeId4eG9m9/KwsAU+2YXzvfYhd2\nS8O5+3G6JhB72UOuMCWc5KnNm4neC1KuLgrUhlDRNnIJgFgCvouzbezy4qkq\nqDPLxX5Kq9F3CRnMkYfDEo3EElAeWZb9uk350sv8liOJgKn6fiU0PRWyzROg\nONuHQtGwFCi9AW/z127C5bn65GcHe6oMskadCUkI8XaPslhznMGnbzYX9jbn\n/tU+h4UEa8LrWUvEL5n/W2Udy1ryxDyMP83A3Jj5Mvg212zyAX2Nk3PwGQPy\ntLef\r\n=3psA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx37y4w/LC84/k/QrpgDT4/mlrz9AMhWGx9zAm6sbDFgIhALQ3gtc5w6EVKhuOz2Nad75r8IdAnQl1vvgk/gn8QAhy"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1601215609.f7292d4c76328bd65dae0a5193e976046e7bbbec_1601215610976_0.5176817896005426"},"_hasShrinkwrap":false},"6.7.0-next.1601798642.44f78d35b6704b16f0dea54a24ed008524ca5089":{"name":"get-cli-arg","version":"6.7.0-next.1601798642.44f78d35b6704b16f0dea54a24ed008524ca5089","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"44f78d35b6704b16f0dea54a24ed008524ca5089","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1601798642.44f78d35b6704b16f0dea54a24ed008524ca5089","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-cemwGHZwPRaYSh5y34yqagsa1pWPiOMzIqTFmzyRERmqa+YUOIcywW1R6YgLlyKzGDERWduldaAydUzGO0on1A==","shasum":"93140e07520e6b43b179bf95a9da33e7859f88fa","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1601798642.44f78d35b6704b16f0dea54a24ed008524ca5089.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeYH0CRA9TVsSAnZWagAA3kQQAIsfpn9tSdFx1ne+FQbV\nz8BdQZ3xHBIVpCR1VEqG6FbTRsi9EiWUAVKzW3sq2zEkjmrq65JH0vEOIPPT\n7zSfsdi17Hwt55w9JruTmqmXkdVR+4Lk8QeRxhHDNFmLE/I+eWTuMORatk4a\ngBlIDgaJGtBPgvSY07Gwz0bxT8Cyq5b38GOqIKqilyNmS4GR9JGxNiImJgi9\n0/YVjDr0sAzjV+s5RYVdLxdq8/jDycNxMn0P4HFilrkO5jvpXnuUuRmSBaI0\nyHOiGoezH1NibJYVTMHMaBuak2gLv2xcqioLtpSTXY92pG7eN4dsnTeGhrp9\non5+N1nKdYYTi2tJzEztdONGHNPEBMy2Kz0fw8xFq228pHDQ5sqe/gb+N+oa\ncaTlW7IsoJwBKTqh1q0keIwNxPX1I1p1X4RzkxyKQtl7p/ySaxD7KF/JTRaI\nutz5Sv7RxIB2X/ethzzRreD0iCGvcT4APzcYWd31JQ5Ef2argo0UuUFovdDK\n+VJhwckO5O+nZB5CBvphytVAkbF6Vo0jM+5LWB7ZXG3eR5lIJx/UauZVz6cs\nqhlIP5NRUE1hz+5qCdoVSMq8tR2CCnvim6boT1ShUUAvbPOqDjAzYIq30/ZF\n3XpL/yDYnruYyDRQhdu5Qq++QPL+rtI822RJaaLOoaAoJazIjjlcnubL1ClS\nVv27\r\n=xw7R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOnBUxNzgn1F7jHXOd+C4nVbpyiwAA4qR/pSrgxMo+ewIgKhJlupUziihZTpbDPlgFjENkvxt6yIMghNbccZrb+zk="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1601798642.44f78d35b6704b16f0dea54a24ed008524ca5089_1601798644089_0.9453622948621472"},"_hasShrinkwrap":false},"6.7.0-next.1601799334.beeea2296609126d9435ed8a5cd6d11827c1c04e":{"name":"get-cli-arg","version":"6.7.0-next.1601799334.beeea2296609126d9435ed8a5cd6d11827c1c04e","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"beeea2296609126d9435ed8a5cd6d11827c1c04e","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1601799334.beeea2296609126d9435ed8a5cd6d11827c1c04e","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-4NnafDDm/qpcXeMOt+eQ/FZeiIDY37WNqpfXZmSZM7SQbUTyzGYkP6X+xB8QHGfR9xt8RmHspP1Y7/RuPAXeMw==","shasum":"3e195ef42028755be9813add53d57584d8461b1e","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1601799334.beeea2296609126d9435ed8a5cd6d11827c1c04e.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeYSnCRA9TVsSAnZWagAAZuIQAJi6KR7cEDEoB9Yrz9+J\nOT1P5+rl8TofJiZ6LhxleRa5/F3nxztAnfDg9ZL7dWSoBexERi4syJHBj89x\nHM2uwWkTAxiOqMDUi8MgNCMpvogeTYttTtUy45j684ewA7LT/yVNiYmzq6i4\nh36HHalBdwx9x14i4kWivBmpvD7KPZadX5SwDWZtVUeNnl9jeRQtCznvO136\nTKWNF3UTKYLHSKbhPKKmoXhlJD9kwf0QwM75EfPmPOgfCCpybk/oFcuY/xXB\nf9j3oa2H3WwISap7QcpfOfCASatqDDRUy0B8Cgxsp7287VnCLxOHIHzuDYGT\nbLIGD6j/JBbBhtape682tZK249Kp5hLYavdJm08SZANMPC8xFFQUc6MunZzB\nEyNj15JO2X/3/OACbN5CFcdm4bezx0hiymvX7mlfEVVbR02q6Z/T+SrZq606\nvB/dtWtzsZA0iBjQjcLGEThVOgVnT8UqzZ1qL6E1dsgXIb5fiVQhoO40fjGr\nVwrNDqeqceEsiUNzTVGzYIlZx6eJjboT9BjqouJLwM+NPm0tPFeXA7cmCuS5\nk+lO9+kUaRqJo+etjWIYYDU8B1jT2sfN6S4QNZZr7u5IkG1DP0K+21ZVT4mE\n9jvHVPFGh+LJx/kythgUhLhuPTcBlU085GmG2Qcya0mghlTqHTBkZZMePhjs\n1Ik8\r\n=JM9/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMjC2+BtkjL/D0mDQGtrDY3+fDxLKHJ8gGuO8XsHThOAiA+4+14ko8QJ3sVrqHp3yqKwU0T59KaZkcHrnBpGKn/tQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1601799334.beeea2296609126d9435ed8a5cd6d11827c1c04e_1601799335511_0.2053817615871576"},"_hasShrinkwrap":false},"6.7.0-next.1602409871.5a94398278522a6057e3fa1e8cfe0935f03995b5":{"name":"get-cli-arg","version":"6.7.0-next.1602409871.5a94398278522a6057e3fa1e8cfe0935f03995b5","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"5a94398278522a6057e3fa1e8cfe0935f03995b5","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1602409871.5a94398278522a6057e3fa1e8cfe0935f03995b5","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-2U4Vn/RpgB7i4cWcj0GxXADZE9Ev4RDmv7Zk+s7MR8XcwCcL+rLiy6UEyiLNv0ZmAxdENGl9gGOtz8PyG0e32w==","shasum":"0fa9a4be98334c28c952a6bd1b61f3e1e78028c4","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1602409871.5a94398278522a6057e3fa1e8cfe0935f03995b5.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgtWRCRA9TVsSAnZWagAAmkAP/0IRtbq4U4iFs14xb1QO\nC2tU5dZBH0vtJz6H0dlPhlhUsNPSmUiSYB9y2VhZR5PZhCeJ+AqXdrEpiymX\n6I9G2NPgt0l9EKI5PMPuEnordl8EsGfwMCBN/q/siSFmfO+iLm/Jzb4l6zyk\nIwRnMQK9ZWoqy/P4IHbDsUbhAWiQcFBlJwf8NsFmr31uUcGeKvLDxtcwd5w1\nLAQDP4q35U/+P4XE06BdY8nscfuKWeiUkwDRT6Wbn98UhJSg56ikm9kc7zCJ\nui3yeD0hR27IeUhiq14d+8qxZtMXn/iPbNJzA4WpChv+Yh+G9flIm37cGIbp\n8OIa1VVhVMciZh4XPgi5yNC3Jd1YXS3BnVpFrZl4gvHx+3NMFCedV8x/01Tm\nP5rdOUNFdGE2hAHID6Bd+z7rOwgNpWp19biDO77ajlVdQzUo209d4co2b2iV\nwdwVZFZgmGPx5/WZBtPZ8BLZa+6JOuTVWbAeaeWAnpfNUGu2BMRZJb9k0dP9\nbdiB5v0kOINw6VSiZlNM2IJJZjACd3UCDgSHgc0BoyoXTOX1PRzggIoRu1mu\nLLO6pqXNbHp3k3dXa6yGm81+0d6mFJAsVltd+6Jf668h4m0ivpkBpwhiMc5s\nztnEwgbHafEwR8a3+6LjkSxd8Y/M0QL0ak06asn0/jxutfj5VCmQXFmAk4LB\n9RWK\r\n=rnyU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4GSSqm++OATjPhMrzW+ER0ubfEAMEo0KZvbQ3CUp/awIhAKUvmt0Ar7X1IgimteIcmNlqCXiUSgZrGgDBbjsj6xSN"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1602409871.5a94398278522a6057e3fa1e8cfe0935f03995b5_1602409873030_0.8232004502400645"},"_hasShrinkwrap":false},"6.7.0-next.1602410718.df095d2f4990d059754a3960a13271012f14927c":{"name":"get-cli-arg","version":"6.7.0-next.1602410718.df095d2f4990d059754a3960a13271012f14927c","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"df095d2f4990d059754a3960a13271012f14927c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1602410718.df095d2f4990d059754a3960a13271012f14927c","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-fZZC5ZNJGOYuA+xmTA2HnkkwsJVHYnypFmuQIK/IkGTuMM+Bt5eRlU3XMSLqFqBFc5uGJyqRSHty/FFph4J8pw==","shasum":"4a120405a2c4de698108e02213bdf5d98a1d0e17","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1602410718.df095d2f4990d059754a3960a13271012f14927c.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgtjgCRA9TVsSAnZWagAAzCcP/2qr/TOcuUo8X0jWtUL8\nHfmIXgIDVf+IQEGxnxQeg9Um0GD/ZBX60T1Nu20owkPxMc6py6LFUrb4NkLK\nMKRPAx3V/7MTa3y6JxMhJ/zPgvlZFrYIsTlH3ypNH1dH4Wdn2m5SYmjYrzdQ\nwWiT1smdHfaOvVj1TJCxxemVJ180G+IkcWZRJgFobbYqN3bjolVnPD6mrW6V\n4FQkaaitdzrlIDygHM93a1M/N/XLyHgKTlHkCjsR0CFVjAP7pLHgOfp0jTe5\ndcgVk0Gr3oIfSrZr30jopBtLA2MzS/tEGGEH999mbFp9lXR9BcpjkGEcBfut\nRpbZnoq9QeX85Kqty2qKTdGAJK+6T2BNpqYl3lNOQIcaOPXfFu1OjJeFYoDa\nyfxBSkVYAxoiACzrv7mqNTHzpEjPA5+Lsx37Qd5h251FCwLBH9d9ygyqV3kv\nWOkI0+weGsYuc79egeKPFfTC+W6ounY5GtTxaaaNtz9IWN9NczsiFHyUo5NV\n0+37ChECJaGOG6w11NJvZGH04ALFLjRLWH5Kz/EZyffkd1ri0T5nDytDCbnv\nLm+SBsjKS2OXZhv+MnzBb9MsSzLLzu1No+913t3ztHcnIBuxox2TSfU0DQnp\n/X6DbbeGAy9uhrNPLzLn/FEn/9ungnl+S/bh7sCNbCk4cSJTlWUb647VpU9R\nKSRC\r\n=wIjw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHEZNoMIW/OjrHFb6BcnMrzSku4em8pyl668P8itcxiAiEAjcEXD4V2MEAz4N4GGv6ZnaGYazi0CE/z43Ap2v7RAoo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1602410718.df095d2f4990d059754a3960a13271012f14927c_1602410719911_0.3720170072334654"},"_hasShrinkwrap":false},"6.7.0-next.1602411501.c5b3239d4ed108c89aff957ed95cf6aaedee667e":{"name":"get-cli-arg","version":"6.7.0-next.1602411501.c5b3239d4ed108c89aff957ed95cf6aaedee667e","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"c5b3239d4ed108c89aff957ed95cf6aaedee667e","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1602411501.c5b3239d4ed108c89aff957ed95cf6aaedee667e","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-gIww3eEPOplIStCwtEgJWne81OtneD6DIHfHcVRtOsROR7ldpaNgi5XucncifLVX7+sPHX9JHPt/qlQvEqzA+w==","shasum":"02c8256488ac6d9bd5a3038328f522174dede3a0","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1602411501.c5b3239d4ed108c89aff957ed95cf6aaedee667e.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgtvuCRA9TVsSAnZWagAAD4MP/jwdmWggzrQY3dNCn+Yg\nd6q7gg1ySj74szojPiZDSyfu+uq0R3iEhmNpxkwiUbfD0gfDh5ggx494hc8f\njgaOoOpPcG6ZbAk+dFzR0kDFL3Ms/N9IiJTR/z8/tLnjVNwlz5tw+nW4wNdX\nw4VPyU4qMxKweImmyNOW0CeA43BZ3UPjJKumK6ZKBWqhCYZVxZxXyEB9Oibj\nJUU6BvFuVoe18HghzvTDLFqH51dfdNU8LJbPdFbz1iVCAy+tMjqO8mfSAvlS\njYli4SbVvj8S7Ropvnnvlm8l2k79fMTfaOdMfLb4+0XzqAUJQVUoPIOMYjtE\nM4a7g6F80VPyIXi6M1IX3pC94y+ufS6iPJIaSQUKLIbTvoV1zLNWYyGCqJH1\nB+0CEOOcL9f8zmuGTeNUc+8sIC7pkxrJq8ZC6kw02AjyCblu+V7dutkdoW6X\ntONGrqJuYRXbSjqNx3kIiYp8+aLMzYEfoaY4mH0g43SmPEvI8L44GnSvF9rg\npukNMfgfkPgCTUr7NXx756RWsGNi9Bq+KiAaTa8E9to/2buLdu75tEJxkSmK\n4KemJZ4ID8WG8UXltqSXMNNmwBYq3T2JLWldB/q5AzJvSlxqZfWaApgGaYcz\ndz2SCVqlWiRYgdFe4tl69DHrGzDTevf0LzyfQSVa7oEXh+oOq+AfQyAsZ9M6\nc5fM\r\n=PRv5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHEKGBcBN8yNEimgJYt6pRaZuWHfhwtJkPfNmtSS6UvbAiB5I2ITzvELwfGS0ifYGV0r6e1FBTqqAjVWw6+RMIhvUg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1602411501.c5b3239d4ed108c89aff957ed95cf6aaedee667e_1602411502232_0.2744599956504541"},"_hasShrinkwrap":false},"6.7.0-next.1603016489.c4560b3e06d15d5a30fa85163be9666f4ba3e04f":{"name":"get-cli-arg","version":"6.7.0-next.1603016489.c4560b3e06d15d5a30fa85163be9666f4ba3e04f","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"c4560b3e06d15d5a30fa85163be9666f4ba3e04f","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1603016489.c4560b3e06d15d5a30fa85163be9666f4ba3e04f","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-asss7OB3Gb400xJxR/e/Ncnew6lRPR20murhFQkvrm1mCnCTPAgyDPs6CCGwgBmQQ44NXXQD4OauEiAioRtYyw==","shasum":"b25dabe07528dabe8fba50855c2871d92e5fc62f","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1603016489.c4560b3e06d15d5a30fa85163be9666f4ba3e04f.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjBcrCRA9TVsSAnZWagAA8qUP/RighcYRUUk5dOgOnN5W\nDCntHDW1VldsUyXDwenfzaQkuMvumPMbegW5b0LotoWm7znCAYThNYvqMDJx\n4oO6KWNyg9hI9tEhZknK2/n7pcFv8mVFY3MsV6Xly+s4nCxv9iDMQ02fJuc6\ne5WlE7WPgGL7nBP3IV7KMlIEdBJP2+X7/izCr7Wasb7+C0q4VnQAdmisa7Ni\n1BEpNatnTuPyUCH6Z2om/lFDSa+BlYUvX7x0BX8ID6coSKmnhIPk/e0hnXZP\nYrKcMz1L+O4cJVP3G+5xNxTrfsEhTZI0wXq+bhrZPbMCzHJc0gXBMJxeuvll\nnyPqafs/qa4yvBLg8c0j5oqEDugVCqeAdI8BjAIC5cJYCAIB2wWZFcgBX1Zz\nwOifQ6Qtc49Gpr6aIWRq7nYKVSkkoHsNTdS4uCpiP5nyC96E9gM+uyqzHor5\n9WGnK5Y0lfjtkjqp7ybLo+CTHapZXAgwotpKsx0vI/POJNmx3R+oGbGJzB4O\nujur0qnXjvI3HjC3BFO6N1GTzxIx9GcW6AO2A6iz+seQgcv8x08yxaRkOrEC\niwt6SzOo00h408gOHQ9wDzAxB3cYBopUgi4rCdXbgtOCLRtMmysyIzeeFkPj\nO5pJYrxEACWNj4wCkDvTFxm5HCseIh87GI64a7krSlvYUhLxg0BFlrFd6jDf\nLCIb\r\n=/ntj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZ4CxKGiZoGGiuLNkZRRGyrWoGa1ihWm90+4ewDOAeKAiBq2PIkYMtteQ42O2OBDJqreNlRvEeSS/kAIOI+6Otl+Q=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1603016489.c4560b3e06d15d5a30fa85163be9666f4ba3e04f_1603016491030_0.9960863903611792"},"_hasShrinkwrap":false},"6.7.0-next.1603016916.6fcb9614704f8eb1569b9a4cb2274a522c47ec54":{"name":"get-cli-arg","version":"6.7.0-next.1603016916.6fcb9614704f8eb1569b9a4cb2274a522c47ec54","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"6fcb9614704f8eb1569b9a4cb2274a522c47ec54","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1603016916.6fcb9614704f8eb1569b9a4cb2274a522c47ec54","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-S9LjpCmHHGS93jX3T5pQ4glQXbQ8K0KH3bWCxhYQMPRNW6qh9QRYCOuDVaPjC3BMSUTkSLqnkl3xuXgqUHBwNQ==","shasum":"cabc73c9f9e1a33e27520a431d3a8233c7290de0","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1603016916.6fcb9614704f8eb1569b9a4cb2274a522c47ec54.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjBjWCRA9TVsSAnZWagAAa6IP/iwj918c0OYHHR3P+ck3\nWv94yQ6Jnt2NQoaWkk5aMJBdjljLwpVBkrxkRiCZx6m+YPJNRDzfKWq+BblA\nynqICDVOIOKbeXkfXcFeEMDv8Ibbf1S+np+NtcvNxC0bjEaWhA6bURYW1Ej1\nA40VrBBBCf0j22NwqX5J2oImmVYlG/1+NbBSoEfEKT/x69xAtB2efk2R1eiZ\noXVZdA2jR5pYQ3GEU4dhWyzsGTX/8+j5AcQr9MvG4D09UT3MyLEvOoVbTfSh\nVjs+3M6FSZbqhRJp3H9lnmzahRz1gogbK5OSLkuTdXOeyZB/hElrdSZuD8cD\nW0HdAawrQzp/rHgpT3PNEyuDx3SKKTbu9WRLeZ2vchexD/Ldd9kx5WpAVEJj\nwKp6DRe5aOMADutHaiiyaLfKRAo9dXC4rVSkod5TO4Ym5kyLcWkdDMSu5cgA\nT4Lm87j3O6d4EEZ5aw9yQW3DpQ3fExqcz3yEdVknYJ6R9qO6/+0JDPguW2m8\namrJCPL8NyJpLDoIjZ3Y1woq/Z8wpjZyz0E8fe9Qq28EQUeQY2RPgJgmMsGv\nrCdOJ/sxVypsBmT/pnJkkfIKbPGl/wdUiPNl4birgAO3C+y98xzoZ4lt6jUA\nBV7yjNes0Jq1KLVjDn+MFa1JEVC1eTKkhexoYxhJYNA8SBKdNmpc7ZPmZfg5\nZicK\r\n=sK1f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYsjpamFfLcQH+QVhn+XG/StTtZCfJPdghw7c606FnNAIhAMOXY4yt0xpRddh1J2/fCbyG9mayMAnM3VLz75fsKV/e"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1603016916.6fcb9614704f8eb1569b9a4cb2274a522c47ec54_1603016918103_0.3894247614371662"},"_hasShrinkwrap":false},"6.7.0-next.1603019224.49401b975073cfebe8d5de4ecb74a4e94879faa4":{"name":"get-cli-arg","version":"6.7.0-next.1603019224.49401b975073cfebe8d5de4ecb74a4e94879faa4","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"49401b975073cfebe8d5de4ecb74a4e94879faa4","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1603019224.49401b975073cfebe8d5de4ecb74a4e94879faa4","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ZLQZtodmsAW1g1I45tZA4vfpVhoL9xMzH4FnyUe+SBvjJUSp5rj/gcYc8P+HA9FXydFU/JSodNRHhz1LGWKUVA==","shasum":"b40765e07e9a4889e0983a2dba08ef45801a18fa","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1603019224.49401b975073cfebe8d5de4ecb74a4e94879faa4.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjCHaCRA9TVsSAnZWagAAB28QAJxpH0OcR1j9U56oKSu9\nfDGsJAv3FsgpPIDrkSAsPGJ5d1PUyqpOnX1GLEVceCB4B4Mj3EM8teOfxsx+\n2778I1OMnkF/rpLodXeJwPlh3g5XG5axbj9RoS9YMGnL3jWxniKdDV6137mB\nzs1UN2aMwCTshgneL6u5/HVXifPA6Ja02nDgWhzATMbSEAG/WX6n+Eth0YWG\nT5h46eJmh0BbLS4d7L12vFRX48oOwiHghhVCJpVbrrZoEIx8MQWTQC7e7fcv\nIxAXZL1WtGE6DqRc2jV2ZhH+J79RYMCs528f8syB5awAnDYnzCTx4eko6lh6\nAed+WzhqtiyusyZzqFB7rRyQDorsSSsBrvo06pfHB2cp0L7312+TUuf54+/7\nfdC2W/2yCADaiJV305818wpJT6Qn3+dDv7Yyp4eDx+/ZxDYPUofbBL2sYBzk\nnduuZ+vbTvS7a3P8y2RPrESZ0jPDwDdz4FwaB4qiA6aLoT1yLhrUKjmXKAYK\nhd+mXlIiJMFaWi2Th/Li5Os1mf9CVNLR7jwaRIqVgrxNQUbypVcRlFqFQTfu\nbcZZpBTgnqZfbcneVTOlWW7gH+BvH5alMiYvLUsFlvo854ecMYOfU6euH2t0\nP24Z5ExRfJjTceRfOWGuqZsLmxdnc1MLL9VEVwBVWzndBePrnLG1QcCYufKa\noz8s\r\n=aLYt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/JT+McG2T5Q58CG8B/Ma+xPnmwagVv6gk1iIf0nlMYAiEA/DkJiSpm36YBzhqXvycA3c4C596Vqm5DbOr30SgNKzI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1603019224.49401b975073cfebe8d5de4ecb74a4e94879faa4_1603019225847_0.6267447475983732"},"_hasShrinkwrap":false},"6.7.0-next.1603624729.fee80be7a9cd74ee4315c07a3112d1e95bca4ecc":{"name":"get-cli-arg","version":"6.7.0-next.1603624729.fee80be7a9cd74ee4315c07a3112d1e95bca4ecc","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"fee80be7a9cd74ee4315c07a3112d1e95bca4ecc","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1603624729.fee80be7a9cd74ee4315c07a3112d1e95bca4ecc","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-kohlPh9bXkPHGcrFgrWMl6BrqXnq/YEUvNNfUsFT6jB6jqZteZztoYMtU3/t8VbPt2ZjsxU+Mw78Ph8Zh0LK6w==","shasum":"f5932cc2829b5ee5d8e48c39139acb2e92d82941","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1603624729.fee80be7a9cd74ee4315c07a3112d1e95bca4ecc.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflV8bCRA9TVsSAnZWagAA5pYQAIJVLGPswBBf5UHItfg4\n6eVyhyIdTlEDG15UzAGVAtCjRz0ioVVcJw2dhRkSVshWVueYvbm60MblqE7c\niyVzfEQvxuWKT98Bo17btN7zoGSa33pZ+ruW2Z6b4PVo1YJ5QhRN1sNdYtd8\nAlfxs5JOznrWvYG7HfBa5/7iNvIb1ruJgMfUXUFSkcJwKEWy0JXXC13ocpvC\njR02Ob28pSYHdaqvonYsohX5vLkBl78UaYUnVRZ/cUETPRiAKwmMmnMhyoHd\n3Q+LCdHzPQX+knHyhJxQJCm825DGPMXa8ULXBDpOUnJ6LhnqHGaqhOZdzEMm\nT3a9nBkr3gUhh+GDdT4TyMpeoYXy15NK8ifw/aD5Uj69xZ5G5Gns5h6chWlm\nIAmL2M55X3cqg59ipHsfEJ9uyTrPLxbA7gxXqi6w494QCDXgcRlHEyB8OpiQ\n4u+Ihkj8ceC8lOXtiQEy33kglZfap7+Po8Za8ULajALOId263FxtNWT8YcqS\nvRN6nDD8udtjJWrH3GUFsp/AyCSZJtyMVwxpOleS9/Z92svHCLrsKzY8KTvy\nbyY+wlpo+rab9yAfXxb5wpBbTNpQHlb+elPDriLXe6y5gxsnS4eGtY5dyaV2\n7v/VtceE6DHZRP6WSzG4MA980Oo95azXMQboCkH/EEdFJkPmBN5g3cWoIqFX\np9Nj\r\n=np2F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/i5GEoPLkmPa1oj4MNT8P37HjcH+ylvEoLq0hRH/nuQIhAL2vRIQXlSxzwbwvQjuc5YLZLKvIIZiESL4MRuIa6DZE"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1603624729.fee80be7a9cd74ee4315c07a3112d1e95bca4ecc_1603624731029_0.3926595936483377"},"_hasShrinkwrap":false},"6.7.0-next.1603625977.9d9e08c56bd4dced2dcd5002bc60b1182818684e":{"name":"get-cli-arg","version":"6.7.0-next.1603625977.9d9e08c56bd4dced2dcd5002bc60b1182818684e","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"9d9e08c56bd4dced2dcd5002bc60b1182818684e","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1603625977.9d9e08c56bd4dced2dcd5002bc60b1182818684e","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-YOchpZV9eWXh2/JUwqXsWDl4S47Xh8V0/bTyf1gcwTXbfZm25hqPSmih4ZKot/GzVJHViR4IhFbRZsG1aRjHOQ==","shasum":"83bf5705d00efe23e01c9c2fb9b562754b5ec659","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1603625977.9d9e08c56bd4dced2dcd5002bc60b1182818684e.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflWP7CRA9TVsSAnZWagAAqG8P/1exVcy4lmVBhRnNXziz\nqeqJXcR9H/C152pUaj+5S3SG19gUz3EV1uUYFqDA71N2lV2zRz0wHEaqpat4\nqdyqHUVSCjat4kElowhTfEjDA7qpZcvf8oD6d9LyuSUTUdqVBtG7clG0vxPH\nA+GxznQY78K1YnhzMivhHesmoX6VfOSN61/Ibb+Z6FhkmPfGhw3bfNzTnCHx\nhs0fNKtaTRwI5WaphycN5TeGlP/phCftvsUh7AEeNUM7QJvQXYx/aZwhSoTN\nE2yX1J1LCJPdiQfZrT/KzLA5PSp1hdxCsE0+7ugvx0dv+7LeehVGtdfGB/M3\n0D2uIF31Px24zBTqlfMSF0u/Jpv8w97qoX3V75u17S8D2dlRuWGFT03h56JY\nmYCIHIRV+TiYQGf+MmZLJZOf2NzjYXky2cxON1yspCcLF3e+Z4/OnXoncq0A\nT6/cSt0k/EoPEqWdj0CSmXoV8F5/WH4dpvEMPqLI4giWAxG94mvHaiayh/em\nZhFV7ghoIEMjs/mRGvzB8DNgBNsIyKIr9AJgHnF+rKARgIhS0Ek/7rL5Ost6\n75yXiIg/gxcwtq0OWWJkg3VxGm7S5E7dqOTWfckv/JdgLGdN8nkHgsg4tQ+D\nwn7mf4dBffMA2lWStmDwyAFA0yk8FHqMfIIcuN5FbAepDchQZh+TN8x5WJnm\n9xwy\r\n=jzTB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyrNVQciTw7bTXlX99nXxj03az3rQmA4k3WVOHRVbo3wIgGafmFM45Lq8zFGyYcWkHHEC2qenViMZcayTUSrhqVqM="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1603625977.9d9e08c56bd4dced2dcd5002bc60b1182818684e_1603625978664_0.31574117848175587"},"_hasShrinkwrap":false},"6.7.0-next.1603630710.c13ab80fb07a4f5e441a0ef88331b494f7bfa543":{"name":"get-cli-arg","version":"6.7.0-next.1603630710.c13ab80fb07a4f5e441a0ef88331b494f7bfa543","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"c13ab80fb07a4f5e441a0ef88331b494f7bfa543","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1603630710.c13ab80fb07a4f5e441a0ef88331b494f7bfa543","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-IXVpcXjWMSQonZyc2XAJZ5a5KQVXNCbFSknMh8GvTWuajjgGMRckQQIVRmgFOm/I04CzQIs8pEqiGL6riuycMg==","shasum":"d739e22445a4b0a6746df32cbe5c2aa8f9689ce5","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1603630710.c13ab80fb07a4f5e441a0ef88331b494f7bfa543.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflXZ3CRA9TVsSAnZWagAAKW8P/2yzHZ0Ro937ce9u9ReM\ncH/4sRlCEko1vCaFH7FWQsnR1E6GlY+YKB8934VbxgagktD5hGoRMeeA5l//\nCnbZd7KSkgl5Ro+xCY9oDlAsJky/DGU0HpY3Ano+KujFR2x7mYKWbUqJMvMh\nXGDq14pjOjBqtMP0hGvHSbUMxnTnplfIfdSW9jhHVbOow6LR1NXHwCj/5VVv\nicTkzJ96QHiGNJs/AdqwUhzPbgTtEiAgdvp6SN6akfPUEf+T0J63OiF9WngW\nlGewRxjP37UaK8dyp9ZKX9aBXfzDQnrgDDh8A7IUqHzJA87e0KngCofmFjuw\ngFfzsUrH1wp+YzaORZJf05P9a7zFGf5lp2QmrIdUVAWaMCrpEN+5dlAwMqoA\noVPJw/rgSudp4oVhVd4miHwgakYkAYczgYo+6vBMa/CzFLGlA7GM+RLAmNBY\nGYt70CInBCs5LsL0nojzDvDrhL79Q9yxINDLOKf0GJ7ApGv+uaABcbvFPVxy\nmuTipMsTPdohN9k1VvRkM1VlwmVKygsJSw9nNR/gf39G8sE36uwNCyTI6W7f\nhecJsHOzJ9pbeaQLIXeZpzNJ4GsqSW6j+KvU+diqMPdgtx4gqEPzvgzvSyUM\ntrS7Wh0YnNMY13iFZ8+5WNm774zE9ZTg3NIALqNaAlaA6Ls+D99eMHzKK9Jw\nhP10\r\n=xFCT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqRKicAFrayY+MijDKyiL6WJShL79X0WarTVPSHJrsMAiEAj0o7P6arj2FhT9R/hyfdb2w1wRNrxIcRUIs4DHo2x38="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1603630710.c13ab80fb07a4f5e441a0ef88331b494f7bfa543_1603630711364_0.8699737690774685"},"_hasShrinkwrap":false},"6.7.0-next.1603631889.10382d7d71c9dc48677d473b47d7f6cef2d594be":{"name":"get-cli-arg","version":"6.7.0-next.1603631889.10382d7d71c9dc48677d473b47d7f6cef2d594be","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 13 || 14","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.19.0"},"devDependencies":{"@bevry/update-contributors":"^1.16.0","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","make-deno-edition":"^1.1.1","prettier":"^2.1.1","projectz":"^2.15.0","surge":"^0.21.6","typedoc":"^0.19.0","typescript":"^4.0.2","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"10382d7d71c9dc48677d473b47d7f6cef2d594be","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.7.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 13 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.7.0-next.1603631889.10382d7d71c9dc48677d473b47d7f6cef2d594be","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-TeSwlO3imZsddQSKjn2RdzwrirNpflVIUsTs8bQ8MYkhGH4BNHRWfcPSkw1yajXS9z2GguRsAAg3JNeo0o3KHg==","shasum":"96d0b7c8b13aedc43b58b923127a895532105c75","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.7.0-next.1603631889.10382d7d71c9dc48677d473b47d7f6cef2d594be.tgz","fileCount":14,"unpackedSize":31603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflXsTCRA9TVsSAnZWagAARAUP/2zh3sw+ZqX+MQW5oyIA\n0P4ofbfrek6OLCLAYy8VwlIIg840JootIV4MY0yHoAGEHR9QuExrmv/M9Ljy\n6dyv2js5T4YzdCzXh6+BJNvGDN/398iWcsmCFTZu0c74wLhy+J/yrtOfoJym\nUn1sRGwYz3VS3bxEQv9s/bAPbCYZNWKpMWcHi1vvbdSQiwiZ3cM3w3G658hB\nIYcyCMTsi6l01mzOTO4F6PP2yMBqqzZvKQLICAP9Ky/HfUJg4OombsP3z1Pe\nG3UvbGV8qIKR0RjAgS3WMhgrZ5xBV60iH4qhAI4KhRj8jzKqbd6OiXNxXmPO\n5r2YDglRUoRL/I0EDbp7xfO4yz2jytsVTgMYc976OzYmykdCKd2k8Oh0snWq\nCJ7iQADqIU58wDsvVvvZeHz7PYnRi06zjrBpIFm700cgYuERN9Rc2POn1/et\nXOmGVtYRxD/9sDi2KuYgxtWGzZL5OK9Cc76h9PjmLyA3e5AGL6TH26jJ7Mav\nOX8JGFs1GFkYpnGHzm7xfYJUKfExJwErhNZcHJJjgZV1yENhaHOXR4ANnFZq\n1NJ7Z4JZt0qTqaDQYyOt5HqCdp+3/jP6xtpXNrxNsAn6O9mjAKoEA3KXa0ZY\ndKYKJbNT9ML5C/cMa9y06wSIYQL3U7Lhp916DAbcZKVTkt91eWe/u/MQEJK2\nGev8\r\n=brfd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZStOYKlT8du+PzR6aNcnoXT3Seg2FdrHd3+mwcLJ5OwIgI85GwtzCAWn6aW7I/8v0c0apMPhOhKlF8XOaZl/R/MU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.7.0-next.1603631889.10382d7d71c9dc48677d473b47d7f6cef2d594be_1603631891251_0.6439366536410467"},"_hasShrinkwrap":false},"6.8.0-next.1603935691.276fb2308f9247000971c8c2dbfc6cbdc386b26c":{"name":"get-cli-arg","version":"6.8.0-next.1603935691.276fb2308f9247000971c8c2dbfc6cbdc386b26c","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 14 || 15 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 14 || 15","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 14 || 15 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 14 || 15","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.20.0"},"devDependencies":{"@bevry/update-contributors":"^1.17.0","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0","assert-helpers":"^8.1.0","eslint":"^7.12.1","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","make-deno-edition":"^1.2.0","prettier":"^2.1.2","projectz":"^2.16.0","surge":"^0.21.6","typedoc":"^0.19.2","typescript":"^4.0.5","valid-directory":"^3.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"276fb2308f9247000971c8c2dbfc6cbdc386b26c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.8.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 15 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 15 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.8.0-next.1603935691.276fb2308f9247000971c8c2dbfc6cbdc386b26c","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-YzL6obU3EDL61dUadAj9cfs/Hkn0gsSWkAKpI0nhGEzjuTPOQR6hB7oQwvJ18YtJfK/1vDw6u94YeeTt4Tg08A==","shasum":"e7513a6c1ee10c17dc7510121fe30b0ba11d304b","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.8.0-next.1603935691.276fb2308f9247000971c8c2dbfc6cbdc386b26c.tgz","fileCount":14,"unpackedSize":31801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmh3NCRA9TVsSAnZWagAAOS4QAIoctUICQcC6uUMAt+oy\nJPWDKQeNakKlmJoTrKAZnZSUlyPbmFCDrmZ2dechyJBXEcsikM37qIv8ZOM4\n2nvje9MiScRK9Gs12qmHLVuGN4j8YycIus4hnpNBbDSHb2l4MDAsWQep5B1/\n7M2YYOPYJdZl7vmfUGxjxHCs2e1Us3033eIAgFOATThJlDE6zUiI+weM+UJK\nDkV1pQM+f/dPvglRhxA+VKxuoF9NWGFkGJkB5OHgee5Mpiz0OyEPRrHDeAQI\n3WsB7OzFau+yo4VyKgGkilHSTTiS1R5XawqHQPXAU4S06EwhRnGVopNprOnJ\nkrLvJ9MbFngrSZdSJ/6sMHbSzlw2PwdkiN8jUiWH9ZU0JYV1ygfisVnc0LMU\nppqBp0caDMhJT3JoAWkJSZ9mtrP7kaBduuqAX1BMMYS3gHFvapFL1UHMdBIn\ntFPMinx5dA1UBeGuJoQBIUB6oEm8XZZ1TO94La/lFJexqYExfV8Wtfw+bzmH\n7GOvHG+8eYri0zy+lwOhe0MYp2p3A60Ibv+7OAuWuTOBQYRPPgnvamHJydd2\nEoC3gqU7ntJmE8Fz0j12gSQtEgi9RkXObLFFgc3NyuPDTPPrx01hyKuPXVpl\nrADvZiCNccIi9Q+yZDnx3PtbiutKgnvtzOeeFJmA39aVm4h+dL7VLKk64NtZ\ncMyW\r\n=IAf8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDImrn+73sETOTDRzqHRHo6qHdQhazAvri6aM9sN7DQdQIhAO7eopEKqiEPItMIucN8af2fjm5GbBvAxAc9TRh3zAcj"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.8.0-next.1603935691.276fb2308f9247000971c8c2dbfc6cbdc386b26c_1603935692549_0.18237179111272583"},"_hasShrinkwrap":false},"6.8.0":{"name":"get-cli-arg","version":"6.8.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 14 || 15 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 14 || 15","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 14 || 15 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 14 || 15","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.20.0"},"devDependencies":{"@bevry/update-contributors":"^1.17.0","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0","assert-helpers":"^8.1.0","eslint":"^7.12.1","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","make-deno-edition":"^1.2.0","prettier":"^2.1.2","projectz":"^2.16.0","surge":"^0.21.6","typedoc":"^0.19.2","typescript":"^4.0.5","valid-directory":"^3.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"276fb2308f9247000971c8c2dbfc6cbdc386b26c","_id":"get-cli-arg@6.8.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ydZMbzEaS36OCsTfrTrkG8Bp0T772Riirr99HEAU9oBKSy1Fi9/WmtQYFTgjY9/1d/1apAJeA5FN6chtVUG5TQ==","shasum":"96896366217ee2c97fa18401463671bfbfb4b187","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.8.0.tgz","fileCount":14,"unpackedSize":31744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmh3WCRA9TVsSAnZWagAAsfkQAIO6RA76sQPqiisEvwA8\nnzMhIOhGtDqmYyXHTSHYLY+rc0ArbT1WaC2fn+GnAPm8PkaXaxWNkHbMhPi3\npOX7pOxQ42dtLDxrJtUV1qISlf4mFlb2skcqcGA9zVJhh0ro+/6pSAWjxHA4\nRP9eCXfeRin8bE1IET3xdthhH0Rt8rVlubWIqSVEW98CEo5ebFKEXDFmBLAz\nG9wG1sH1PiJhnqxldqguznGRNqAWQRCaJ7q9E8m1l2fukKgzGyJFr+s8QRxA\ngcpeHsP4u3HqwUSuv2BUItVtQJdZzQIn4gbq+MnOwu4BKALR5ijUMuSVdt+c\nSM9YYEq3yZh/ya0RFf8JU2leVq9f++K6wsDeZyJyjJy7mDluh4UwKXBEgIUF\n2CubvrKNdED+fdYGunPB/UEL1Y0kdvrECwBOUlJwajoIHoMyL9qATgrtLvvr\nR9/1ooe9jfYxoJc88+maHVGrrIUliflklsV56lkMX9Mhghu2bJve6VaV2nnz\nM0RuRviCim6cKr2PY7Mk+je5EZuyGswFi3IRiCSWcVb3QZw7bAaaCeRzcf/L\nKoqSQSSaBydt/taXjzye9RuLSSC6h3WfLyozFaHF/de4RcHZf5Um1m8XLbom\n9C1bIj9wt7bicD0vtjuwkgZyuuQhURA61iE6byj0EZPFY2sQkXmSTSeiTb2A\nFMKo\r\n=W3Py\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK2NM3dfbudaIjGecJMpkaaReKVVq52LSk4zmWVieUjgIgQL0cegp6vES/q3KzxIFJG/IbFdvLS6qXvlDzxrpbGuU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.8.0_1603935701906_0.3587205108619098"},"_hasShrinkwrap":false},"6.8.0-next.1604236956.742773ee4e3f5479b1a5294c5858a9c1ccaa05cf":{"name":"get-cli-arg","version":"6.8.0-next.1604236956.742773ee4e3f5479b1a5294c5858a9c1ccaa05cf","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 14 || 15 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 14 || 15","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 14 || 15 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 14 || 15","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.20.0"},"devDependencies":{"@bevry/update-contributors":"^1.17.0","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0","assert-helpers":"^8.1.0","eslint":"^7.12.1","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","make-deno-edition":"^1.2.0","prettier":"^2.1.2","projectz":"^2.16.0","surge":"^0.21.6","typedoc":"^0.19.2","typescript":"^4.0.5","valid-directory":"^3.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"742773ee4e3f5479b1a5294c5858a9c1ccaa05cf","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.8.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 15 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 15 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.8.0-next.1604236956.742773ee4e3f5479b1a5294c5858a9c1ccaa05cf","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-zyIeYT9uGEZl607NElD3zSuQ9xCv1EeEOMTjJ2yIkY56yjsKyeyZyejGD+vNfZ82x4Z8b1KLcQwV4wL1l8zxVg==","shasum":"ca85758f696d4b1aa4d3ced7c29ab50371b10573","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.8.0-next.1604236956.742773ee4e3f5479b1a5294c5858a9c1ccaa05cf.tgz","fileCount":14,"unpackedSize":31801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnraeCRA9TVsSAnZWagAAUQsQAJaYef6/wVu9pA8xeAMu\nuE1oR8HqzxltuS/SfVt3lRlLo7AZz82LVcvnZFWcBPyEA/kVGmcji0ujsAp2\nsWRMfVHNQxkDGB60pVB35ddQpWW48Uqbe5jIjQUq4rfDEAFMF6p2N1T8xle+\nlYj17zruhixRlRtxtQI7QVj9LwBM0AtsMsdcLLA3iQQEqX6+8d7tdQACdw6I\nMO8Th8DO1Tdt7ELZ09yoVZUyDNadfX3PcoE92TwwyBfHrp/gEgkKSP9Y2jWt\nbVmwMEuPskiqG7ynZwahEfJBV59TN2gG5SQdna0sml9fNo6KjXLTaOPLEk4h\nhJzeao5BllSf3+kiPvpfeozAjtOeND09DW3PqJerBFm/KEtEdZVZSW6cTblA\ndQhAI/+LG1T8nTYTjz1wNVyrOCEEJEJKp/H/mb60CTVPgNj2slAaVHF2Q5qx\nBXawH/qhUP6HlBaGUukOFWv+cYHems4NBrOCKOMdLPkEHoa6mXkVfC607mw0\nRi/4+vXrK6Pd5wIVUKBK0sLdmqxkTLDsfWY99kGJu4rJug6PyY+G27hxDHa/\naGwlIZcxte2itPa8n6NzZMDvpGy1vJYKbelvWY2y1TpID0+dorgKO9CqjWLI\nA5Y3fiiExwaBlIfiUK2NFZQNUKTt/sfjhjpgvGIsXLEFw4L0g7MEvojHdb1x\n0QHK\r\n=RK57\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOuJ6R7hxZ+cZLoVhndjF0YYp0KRnuLkKqTvqYGVjXpAIhAJYwXV7vjTY1uxotQZtu3be3UZKG7AnQVtc07Dw1B+XJ"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.8.0-next.1604236956.742773ee4e3f5479b1a5294c5858a9c1ccaa05cf_1604236957604_0.4544322187922787"},"_hasShrinkwrap":false},"6.8.0-next.1604238130.aceea7e8d451bdc59527e3bd2e66afe1473fcad6":{"name":"get-cli-arg","version":"6.8.0-next.1604238130.aceea7e8d451bdc59527e3bd2e66afe1473fcad6","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 14 || 15 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 14 || 15","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 14 || 15 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 14 || 15","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.20.0"},"devDependencies":{"@bevry/update-contributors":"^1.17.0","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0","assert-helpers":"^8.1.0","eslint":"^7.12.1","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","make-deno-edition":"^1.2.0","prettier":"^2.1.2","projectz":"^2.16.0","surge":"^0.21.6","typedoc":"^0.19.2","typescript":"^4.0.5","valid-directory":"^3.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"aceea7e8d451bdc59527e3bd2e66afe1473fcad6","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.8.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 15 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 15 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.8.0-next.1604238130.aceea7e8d451bdc59527e3bd2e66afe1473fcad6","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-JXpwrHkF5+ahXuRpLqkqsJ29sgDCqAsJUPR5/3lWNEBAAcNoFNo7vhyUtM9XKB6Rl5d0cKrFDSLAjo55EAB/LA==","shasum":"b022a261a25c6884ae287bb364e30722991b5e2d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.8.0-next.1604238130.aceea7e8d451bdc59527e3bd2e66afe1473fcad6.tgz","fileCount":14,"unpackedSize":31801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnrs0CRA9TVsSAnZWagAAEucP/RAjsuckIi9slOlHGh1k\nNAdNFqcNjAWG43jwodks3T2aWqZ7fRrZf3ti4MgJ2zm4CXZc/gHsYG1IVWol\na4nVsea+QcRGo7FbCsWcSZKInVEUnbevLvFYnN/oP8YICb/0BP1Tyi7G7/Lu\nSsj+Cb7PKdejnR2TGxc2tpkPoTyYe80ZexNdifPYCiQjBWpwNHFWOI2Sne9L\nrNFWowDGAoPBAkPGzMVFlqzI2W6ery7fxxgt7q1AMo4sD47jiY6m4oTJT05C\n+3ohgepV+5cW1L632rrmV0FqDr2UwJiKBosbv2bpOsv1lwNJa5U6jIvf+44h\ncZYY34ID/n4TC7apm6N7Y9c13MAZ1flKvRE75ePYaeMkU8Lkk7yKJJHOPiL5\n48/CZtuppUXodl3fr2VXBqsanKq75YVob1uiTEufnQQ4tKAXbMnzQfmKW1We\nG8+N+hEwd6k3SFe97Dxw6piZuTMN04qXZqtNkxuC2V3N3U+HzMO4NBfgMMwZ\nxH2crT5sZteWH7cexYXP/1bfeNUsDk2EZVns3PXu8HpTlwprHk9lCx1T+wb+\nAfDmkHcSp3zZ7DFWNTZto6nJHXSppbswPHQuIJpILKg7jRJHD5LRFcSYKgV7\nltruMRPVdMTQkhnlkea/jc34WQfU63FvLcSkm/ipnU/I81zJmElF5I8wTym7\nHnmC\r\n=iftz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBa1lJbf+7I05saxqSbsTrwGD30BZ9WpRr9YRWmYK/4AiBE+Ec8lmsqmfipfeHujj2HelHwAIe/bX7Z5rDiUFRCYg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.8.0-next.1604238130.aceea7e8d451bdc59527e3bd2e66afe1473fcad6_1604238132106_0.9926745424700232"},"_hasShrinkwrap":false},"6.8.0-next.1604238464.4824ef10a43c5b9453679fc96fb7fd0e0d43f26c":{"name":"get-cli-arg","version":"6.8.0-next.1604238464.4824ef10a43c5b9453679fc96fb7fd0e0d43f26c","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 14 || 15 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 14 || 15","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 14 || 15 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 14 || 15","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.20.0"},"devDependencies":{"@bevry/update-contributors":"^1.17.0","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0","assert-helpers":"^8.1.0","eslint":"^7.12.1","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","make-deno-edition":"^1.2.0","prettier":"^2.1.2","projectz":"^2.16.0","surge":"^0.21.6","typedoc":"^0.19.2","typescript":"^4.0.5","valid-directory":"^3.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"4824ef10a43c5b9453679fc96fb7fd0e0d43f26c","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.8.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 15 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 15 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.8.0-next.1604238464.4824ef10a43c5b9453679fc96fb7fd0e0d43f26c","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-uva31hyAMEyLJ8Dd2Ue3K38iTdkJXVtXbD8zgfopY/9iuiStJXgxMJFa3+aE8UOM9c7vx3T0V1Iv2CHYVLuVtA==","shasum":"6ba6a93c9586dbb201e89403820dc12827acabbc","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.8.0-next.1604238464.4824ef10a43c5b9453679fc96fb7fd0e0d43f26c.tgz","fileCount":14,"unpackedSize":31801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnryCCRA9TVsSAnZWagAAxNsP/jJM9oHwsSeMXYdCMn7y\noi8oAH6oRMe5NCz+xC+Q8kZf1nAO1q/ho90Ikgf/8j1qf/BF3A8ZTIFUtfYd\nP5rRUhrk5QrcE4WL7htAGhB4jw35F5z3LzNhqz9iTJiu3F+6U1p+/By3nY75\n+BnQML2knkOD5csOvk+Uxxk/A1T4yKPfN0hLYmD+QoI+wAK09R1bcLcNZ+mK\np7qFBKZqai6Jt2KSO2F/ZK2Z3e2kdzxWDzFXWD0GQp46NnjGkLPX17F7eqBU\n6nsr6kI4lSYfMLFp6egqCWicwVF/GRFGEHzG2ioWKfvkvWqJVw4S0QiiHt8t\nWkUYNBJsqXT9F5o/01olESybthgQisW2aBXARU6RFA+hvINVdvD4mk0sn2y5\n7J8P0qa09jAxI5ExEMRl+6bB27dSDFG1N1KPc5kdP2XJNFr3+IA3UeN/dHg0\n3qkh5yyRkPxgSfUbfq8xdeMNwjx1VZwr38SvTILT87QrzLaVaPdoPYXIayq9\nFEwpc/nfS/g2GKxueGFzPcCzMWGydbe1JapUKlr9WFKtltItq451b6Prjy0c\n0x/T/m6pkXq/HRwKYZ1PkujhndIC1kJEdp9RpwlFzGmeXIcVOMh1F2IfX8GH\nmI1h6gUjpalwhpGdTXDm8NTi2MLDJ0wFfjolcqGrO66x6XVbW18/LLku7uN+\nIoY2\r\n=OwvN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbCeGVY4G+G15pHIWzBSv5DF7zq1fF2VBSWH9UdkELLAiAQf5omFTopxf9j+WQGXMYE/NVv0V42mjtEKmv4a8joPQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.8.0-next.1604238464.4824ef10a43c5b9453679fc96fb7fd0e0d43f26c_1604238465906_0.5325911510218717"},"_hasShrinkwrap":false},"6.8.0-next.1604238577.6babb143cd88e2f819cfdfb4b61416e3408c1665":{"name":"get-cli-arg","version":"6.8.0-next.1604238577.6babb143cd88e2f819cfdfb4b61416e3408c1665","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 14 || 15 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 14 || 15","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 14 || 15 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 14 || 15","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.20.0"},"devDependencies":{"@bevry/update-contributors":"^1.17.0","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0","assert-helpers":"^8.1.0","eslint":"^7.12.1","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","make-deno-edition":"^1.2.0","prettier":"^2.1.2","projectz":"^2.16.0","surge":"^0.21.6","typedoc":"^0.19.2","typescript":"^4.0.5","valid-directory":"^3.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"6babb143cd88e2f819cfdfb4b61416e3408c1665","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.8.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 15 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 15 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.8.0-next.1604238577.6babb143cd88e2f819cfdfb4b61416e3408c1665","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-NiGyI2Z+vT8d+AT04yhH4bqoZoEI7NgmYfqdm5pV18aoflDVRiJ9DKJMN1ttHwU9IW7dHSlE6FXjo3rnHA7aHw==","shasum":"e42ad3cf033eb80cdd46c963240c39feae4bec4e","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.8.0-next.1604238577.6babb143cd88e2f819cfdfb4b61416e3408c1665.tgz","fileCount":14,"unpackedSize":31801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnrzzCRA9TVsSAnZWagAAuvcP/jgwY5Xs4C++ctcREZT4\nA7oToP/Sjw3J+gZuJX30xgvZ4nmykapngRErlc45czbgV3YdFqLmM0LyPS5/\npXkj4/BmkZPPGS/h3jCE2z3cAz6PkxythRflekndk+ac/D6kXtDZwtZhsRpM\nrOp9avAGnqbjW8HWI2NOqCIuznJXNsUKWTFcQ6mBvlyXqQfNhKsUH0sd4jdJ\nim/Y9QkAQuBoiFXUsWbm8BQbx+tIOALwfC0M4SE4RvP/Tp+lT6O4+pK2uI5k\n518FzxAMp5RUD4DfgFE3/qQNInXLsX/GmGQ5uSSn59UQU/DSBpfaUc0Hm40n\nJ0lOyYor27Ov/khvpMCI7AfxZYo1FApKvgaH8pOXYHO8sjf8dNqS+HjVaoOu\nbT0DyQDIK8f6cQmtPLrGDAhzJEjXOst0xJLHnU2vfxohCtL2Pt7rnhpJPW7e\nUIcw8XA5QNcZOmUgEDlcoXrT6IPAmt/5AYjKuA4AVy22aSw/x1NE9C5zqvdd\nWV8O3B9phGBMo5jTKd/krs2AGaW+Kd8pU9nLM+dFZZcrVcNPzDiFBH5XoJGm\nvL6WDuUfHpzOT43k7PnIjn4VPSelJfoCjCKPdHzMgYthdV9mlbyFUk3nBFmG\nq+rWDG8R4sEl5oJ41LyFJfXolKyX9NBwMUZdqPdBktjJ83K+x9yUFX9UnY11\n2fE8\r\n=4vas\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiOLWO35Kb77cuYA0w3HyXEFE2w8pi2MsMDy6N87Gv1wIgCXTWvCQXRNc6sAvSrgWeeZrO+JXkfqPaoQeL4yIgAnA="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.8.0-next.1604238577.6babb143cd88e2f819cfdfb4b61416e3408c1665_1604238578810_0.10756783701522865"},"_hasShrinkwrap":false},"6.8.0-next.1604239972.0e75f34ff137c4042508b5f4f6661bfc7aac62cb":{"name":"get-cli-arg","version":"6.8.0-next.1604239972.0e75f34ff137c4042508b5f4f6661bfc7aac62cb","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","esnext","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ESNext for Node.js 10 || 12 || 14 || 15 with Require for modules","directory":"edition-esnext","entry":"index.js","tags":["compiled","javascript","esnext","require"],"engines":{"node":"10 || 12 || 14 || 15","browsers":false}},{"description":"TypeScript compiled against ESNext for Node.js 12 || 14 || 15 with Import for modules","directory":"edition-esnext-esm","entry":"index.js","tags":["compiled","javascript","esnext","import"],"engines":{"node":"12 || 14 || 15","browsers":false}},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-esnext/index.js","exports":{"node":{"import":"./edition-esnext-esm/index.js","require":"./edition-esnext/index.js"}},"dependencies":{"normalify":"^2.20.0"},"devDependencies":{"@bevry/update-contributors":"^1.17.0","@typescript-eslint/eslint-plugin":"^4.6.0","@typescript-eslint/parser":"^4.6.0","assert-helpers":"^8.1.0","eslint":"^7.12.1","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","make-deno-edition":"^1.2.0","prettier":"^2.1.2","projectz":"^2.16.0","surge":"^0.21.6","typedoc":"^0.19.2","typescript":"^4.0.5","valid-directory":"^3.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-esnext && npm run our:compile:edition-esnext-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-esnext":"tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && ( test ! -d edition-esnext/source || ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) ) && echo '{\"type\": \"commonjs\"}' > edition-esnext/package.json","our:compile:edition-esnext-esm":"tsc --module ESNext --target ESNext --outDir ./edition-esnext-esm --project tsconfig.json && ( test ! -d edition-esnext-esm/source || ( mv edition-esnext-esm/source edition-temp && rm -Rf edition-esnext-esm && mv edition-temp edition-esnext-esm ) ) && echo '{\"type\": \"module\"}' > edition-esnext-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-esnext/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"deno":"edition-deno/index.ts","gitHead":"0e75f34ff137c4042508b5f4f6661bfc7aac62cb","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/get-cli-arg\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/get-cli-arg/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^6.8.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-esnext/index.js</code></li>\n<li><code>get-cli-arg/edition-esnext/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 15 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-esnext-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 15 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"get-cli-arg@6.8.0-next.1604239972.0e75f34ff137c4042508b5f4f6661bfc7aac62cb","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-czTaWGHh28ltZsnizPKp/T9bOy+o1kSdgyDa2Ok5W0KIQCcx12DGbunoTIvdoC/F5pXM/0uG22bBG53O7kejvw==","shasum":"b67afbc7286b7dc584c726ad6265ec50681d4046","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-6.8.0-next.1604239972.0e75f34ff137c4042508b5f4f6661bfc7aac62cb.tgz","fileCount":14,"unpackedSize":31801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnsJmCRA9TVsSAnZWagAAy5MP/0+p9K9U5jAqJ/AimGA1\nPTa2q+M3rvDAZUwpAzjmX5DXPcFKEdWzls4sDKrtAwsNGdNw6EREPvlYbZJy\n7wNtMHSc7iTX2kwtShhzgjzlEH5MNU9QqAQY/3RRCccJ4QEZqVz5pWcqISdf\njyTECSqksBwEAwqdKLcC+o4Rp1J0qFCaWEs/vJftI6VqXGqCJxcpvWQHcQSN\nxM8yomHmXha+8mDTkYA+kijLDO6xz1yaFsPvN5oTS8dJUhcVpb3jvjduQ2vv\nVZp/g+c1fuugev05StcvCNPawY1wee+gSnjt9hcLZ22H6c+myuDf2SRs4KSH\nCakmTZDdc9fBTc3i1DXW+a7sntdzuYJNfFORTd35IvngQ+TK1qQgud/tnCEa\n+K2WuhSMfggKIY0kB9HMqmpFogDPwQ4ow60AkBKkR0p+V9grwqjBrThUu3Vg\nwiRcZamzSoWTd7v0gzm6vOh2YhOMzxJKPOEcch0prJY0yr6AvQEZcYx7/UCQ\nKlj3QMpcn0/hd4TL54FC3OooKelOlQIX0iaMoRTF1Hjwr5652VEgfBnyuiY/\nION/nc5xi6larbVK5avKHL39fAkgqPPIpm31UWukeiv0Ku0qSyjQGwuhEVNv\nDPSbUqMj4+mGsWFOmX+QWWMJcRuACkyTxbCB7PKmipeQw5r8Y5EkcCRKL3SV\ns32I\r\n=Z5CD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvU8oawTbu0ITIN7PRwch2nLT+61/MPEgSJjD627kjRAiEAqLjITyBPbvdkmkdjkSg/8zlPmacOmt89uEn1TbOjrCw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_6.8.0-next.1604239972.0e75f34ff137c4042508b5f4f6661bfc7aac62cb_1604239973967_0.9596151071854311"},"_hasShrinkwrap":false},"7.0.0":{"name":"get-cli-arg","version":"7.0.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","es2020","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2020 for Node.js 10 || 12 || 14 with Require for modules","directory":"edition-es2020","entry":"index.js","tags":["compiled","javascript","es2020","require"],"engines":{"node":"10 || 12 || 14","browsers":false}},{"description":"TypeScript compiled against ES2020 for Node.js 12 || 14 with Import for modules","directory":"edition-es2020-esm","entry":"index.js","tags":["compiled","javascript","es2020","import"],"engines":{"node":"12 || 14","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2020/index.js","exports":{"node":{"import":"./edition-es2020-esm/index.js","require":"./edition-es2020/index.js"}},"dependencies":{"normalify":"^2.21.0"},"devDependencies":{"@bevry/update-contributors":"^1.18.0","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","assert-helpers":"^8.1.0","eslint":"^7.28.0","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","kava":"^5.13.0","make-deno-edition":"^1.2.0","prettier":"^2.3.1","projectz":"^2.18.0","surge":"^0.23.0","typedoc":"^0.20.36","typescript":"^4.3.2","valid-directory":"^3.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2020 && npm run our:compile:edition-es2020-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2020":"tsc --module commonjs --target ES2020 --outDir ./edition-es2020 --project tsconfig.json && ( test ! -d edition-es2020/source || ( mv edition-es2020/source edition-temp && rm -Rf edition-es2020 && mv edition-temp edition-es2020 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2020/package.json","our:compile:edition-es2020-esm":"tsc --module ESNext --target ES2020 --outDir ./edition-es2020-esm --project tsconfig.json && ( test ! -d edition-es2020-esm/source || ( mv edition-es2020-esm/source edition-temp && rm -Rf edition-es2020-esm && mv edition-temp edition-es2020-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2020-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2020/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"7166ebaf142df55112d7cb8d3667ddf96ce284d6","_id":"get-cli-arg@7.0.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-OwZC0l44ETs6G/DebRUtCzGeJwV8BBqTIsA14eihRH4lOBFYY6maWK47/Qex68G9KVK0OzIyVb8EU0bM247Jrw==","shasum":"58df8e47986dd3d38db794cfcf72bc6895e3873d","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.0.0.tgz","fileCount":12,"unpackedSize":29801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxtrYCRA9TVsSAnZWagAAw9UP/0upWWJz/G2Ez9k3OG32\nJ7P1g6YcKYmsobN5Cb18J3KJ+unbT60hxOJc85ZOrlPIsPV38YmHb5juHh3q\ngH5JX8oPuSwJzj0gtqvc0JUO81yAAnlFkvZyZFMyalg7YlvjMfmvTghEyzWz\nyBIZzHDAp08HbCGj3eg70Bh1jFSbpM47tOd2KLttcaEwQLJRahSFlfwk6XAM\nQqU0tCMrASsdgYw+wPM7b0fXo+F7bPY9wkuh9chhJ6qXif2m2lOBHAKA13yK\nL9/Xv0Eh1M0Yhp0OJXlae8o/hEzsF4uzqUsfSKhX4qf3vLH/Tyc1thl9kK2F\nxdscbLwuHhDnxsoA+A4wZceA9iMPOqhH8j7jEG5d5jrkETL+Hsk3W/GQ5BAN\nxENDZpDRk307rct3nSCnnvejIwE+sh/Be247jcUOzWSPxZR4hnJAJeBly1rv\n5wpNcI66dYmjpW9v9DMtn0jyw65ldHagZ62UaUmimh0sn/k0ccRoSlT02gmr\n2gQHA0dbPO/mIhlir+csbmobXgqvBfH5W7za2KQnkfpamhQS+eiRjOKrqd6H\ndcVB/O7kAHRSE7dZzQKkEzQPfMM/BUWtxGRGxpGXMQ1ag994eo14VXUAz40v\nX5cKr144pwmS58mVD9JxotgFOktVR6cBuQCxZTQlYfU7FL72/RDF0btl3cFE\n39eF\r\n=wI1I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvpmsBPFddR9X1sDaDidr2AH+LYAePmnP3cXYNrPJ85QIhAO0ipE3UzA1135humOD0osM+6UZRfsqlBSvJxLL8NYj+"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.0.0_1623644887997_0.6777876865731665"},"_hasShrinkwrap":false},"7.0.0-next.1623645023.7166ebaf142df55112d7cb8d3667ddf96ce284d6":{"name":"get-cli-arg","version":"7.0.0-next.1623645023.7166ebaf142df55112d7cb8d3667ddf96ce284d6","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","es2020","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2020 for Node.js 10 || 12 || 14 with Require for modules","directory":"edition-es2020","entry":"index.js","tags":["compiled","javascript","es2020","require"],"engines":{"node":"10 || 12 || 14","browsers":false}},{"description":"TypeScript compiled against ES2020 for Node.js 12 || 14 with Import for modules","directory":"edition-es2020-esm","entry":"index.js","tags":["compiled","javascript","es2020","import"],"engines":{"node":"12 || 14","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2020/index.js","exports":{"node":{"import":"./edition-es2020-esm/index.js","require":"./edition-es2020/index.js"}},"dependencies":{"normalify":"^2.21.0"},"devDependencies":{"@bevry/update-contributors":"^1.18.0","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","assert-helpers":"^8.1.0","eslint":"^7.28.0","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","kava":"^5.13.0","make-deno-edition":"^1.2.0","prettier":"^2.3.1","projectz":"^2.18.0","surge":"^0.23.0","typedoc":"^0.20.36","typescript":"^4.3.2","valid-directory":"^3.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2020 && npm run our:compile:edition-es2020-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2020":"tsc --module commonjs --target ES2020 --outDir ./edition-es2020 --project tsconfig.json && ( test ! -d edition-es2020/source || ( mv edition-es2020/source edition-temp && rm -Rf edition-es2020 && mv edition-temp edition-es2020 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2020/package.json","our:compile:edition-es2020-esm":"tsc --module ESNext --target ES2020 --outDir ./edition-es2020-esm --project tsconfig.json && ( test ! -d edition-es2020-esm/source || ( mv edition-es2020-esm/source edition-temp && rm -Rf edition-es2020-esm && mv edition-temp edition-es2020-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2020-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2020/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2020/index.js</code></li>\n<li><code>get-cli-arg/edition-es2020/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#11th_Edition_–_ECMAScript_2020\" title=\"ECMAScript ES2020\">ES2020</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2020-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#11th_Edition_–_ECMAScript_2020\" title=\"ECMAScript ES2020\">ES2020</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"7166ebaf142df55112d7cb8d3667ddf96ce284d6","_id":"get-cli-arg@7.0.0-next.1623645023.7166ebaf142df55112d7cb8d3667ddf96ce284d6","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-1lXigzZHObd/DOQ9TX2dG1saO2BpJ35b3KajwpYtd76uAvmSG9GMRPDSZUwDORDvfG3S9lmwumw1tmXAkjZo9A==","shasum":"2af14d2f90cb176824c486bae22400288bee72a6","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.0.0-next.1623645023.7166ebaf142df55112d7cb8d3667ddf96ce284d6.tgz","fileCount":12,"unpackedSize":29858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxttgCRA9TVsSAnZWagAAWP8P/3RLuPT8yKR4L64Sl6VP\np5Y8/PQ86fkA1E5dhtczb9NR8vnjHNU10w+K2gynWSP5oLlz+ODj8hfLIngB\n6fxY4dVuouT8gxDI5XD7E12TiCPSl1mIJ6s3fTMlVYCDzuM7URfy/GXTreWp\nQAuUlZ5LxAzC0Ao2MvzKG3PB3GfTPEY79sKzqaXbAH3CVjgp4/u2Xip1CFeq\nrXBiJ+g3sxYbEBEF4y8x5fj++XB0OlXaPSTSVbXQ7zSzELTKHr2FobQBFVyu\nMFChQPJDc3F/7w+S7OrG/uH+KMR/03jhCxH8PG4AwO1sPk8OUpbUn+oJ/BwZ\nRES24pcBhv5iiJk1Z6JbDMh7AlbhpxYuzCh50OhesnVEB00mmY23JDfcD8JW\nHkOF1re0X07I54sSBxhd3xsY2qPMs1U+UxLBu8bvQgPrEYDnrInrnJy3bJXk\nHkfam3iVRmd3LPpawbU6LAclNFfedAAteyp6ECyUUxT/fNb7qBUeTvelHBK+\n8AnljybTcT0hKgJcbzLHxOml8NgB6rG/nm5ncwRZJljpdbD+GXpIJ3kNraAm\nqO6R35tb8GIfEyvwyZ2yzxHT1vtNjbwSEz+2lRybGP+WfhQscQ4hgBmtOTOQ\nE5iRSkQTfGGPqfCPKkLyNHI/CVhB2ex03bsDhj0XsvYdn/ns13PMOaBdDwsb\nD8O5\r\n=JGRL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDCWFD4gIxWZo4rshRDerDMdQ9DFFyFgdXdR+7OkhzF2AiEAwy9/jd940+IOtuAJsApIe9m5IaYarVL+HLMpGXAWk4Q="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.0.0-next.1623645023.7166ebaf142df55112d7cb8d3667ddf96ce284d6_1623645024749_0.4245560237332735"},"_hasShrinkwrap":false},"7.1.0-next.1627423360.6b81585f6e214329c722adaca1e4220a0dd4d42b":{"name":"get-cli-arg","version":"7.1.0-next.1627423360.6b81585f6e214329c722adaca1e4220a0dd4d42b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","es2019","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 with Require for modules","directory":"edition-es2019","entry":"index.js","tags":["compiled","javascript","es2019","require"],"engines":{"node":"10 || 12 || 14","browsers":false}},{"description":"TypeScript compiled against ES2019 for Node.js 12 || 14 with Import for modules","directory":"edition-es2019-esm","entry":"index.js","tags":["compiled","javascript","es2019","import"],"engines":{"node":"12 || 14","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2019/index.js","exports":{"node":{"import":"./edition-es2019-esm/index.js","require":"./edition-es2019/index.js"}},"dependencies":{"normalify":"^2.21.0"},"devDependencies":{"@bevry/update-contributors":"^1.18.0","@typescript-eslint/eslint-plugin":"^4.28.5","@typescript-eslint/parser":"^4.28.5","assert-helpers":"^8.2.0","eslint":"^7.31.0","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","kava":"^5.13.0","make-deno-edition":"^1.3.0","prettier":"^2.3.2","projectz":"^2.18.0","surge":"^0.23.0","typedoc":"^0.21.4","typescript":"4.3.5","valid-directory":"^3.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2019":"tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2019/package.json","our:compile:edition-es2019-esm":"tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2019-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2019/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2019/index.js</code></li>\n<li><code>get-cli-arg/edition-es2019/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019\" title=\"ECMAScript ES2019\">ES2019</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2019-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019\" title=\"ECMAScript ES2019\">ES2019</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"6b81585f6e214329c722adaca1e4220a0dd4d42b","_id":"get-cli-arg@7.1.0-next.1627423360.6b81585f6e214329c722adaca1e4220a0dd4d42b","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-dp3CSIh3TME+5Szq/0ugcmVwEhX34qzl7P4I3Q1IacS1L/TtKRMix6jnqMnX9BXYi2Y4+fZRt33uoWzXQPeO9w==","shasum":"ac19fe1af714e7b8c0d116703c8e24bd106553cb","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.1.0-next.1627423360.6b81585f6e214329c722adaca1e4220a0dd4d42b.tgz","fileCount":12,"unpackedSize":30039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAIKCCRA9TVsSAnZWagAAKLUP/jkJg6urG6qooDDrRlM5\nJfZWQrYlhndHe92Gm2EANjxmRilpLFC9qk1cPrM57IRbWl8l2rA6aXVP2CUg\ncW2YSWWAuulJ+9Tt6DTiYfOwos1fZNVixSAwStbd6mYSxbsIGEGlHNeNoLnh\nMsR14Oeclg2Yx67yLIdrIsbaNxmS+GQTfT9Oy9gTVQeB6T/jNMz9b/O8i0F1\n1ZPP0oUtF2kv6yP94xE60x5ov7T/UrbBimGKMQCLxH0LpK2lQb7CamhBmPwO\njy65hnjQm49oqfKexaUytcIZhEnSoF8B9j1xOaTy8141FLqL7gKAO/D3RBcr\newLjMWaeaKMu+cVQgUaW9VyRvT8A2NKuBWw616Ppr3s17VKzCSm1obLpu/p1\n9n09UxrPzDN0k5i9Wu2EPpfVKMgFzFFTNHmHd8Pks+zsIoASWBEJI6Yxp82Q\nkPNigePvGXfkfrnDu+AmIaiC7xeHhPFENtFhS2GpBeDe2cxbRZxANLkh8xFY\n3mIEtBYTBjUDQslasJTzDZ+2DmLAorqDjHhw33QDVUEhwLNztnYesd0qXSyA\nTaKC+TP0IGsniILE96VANxOLLxFQTRFYuro8UvlxZjPmnYk3/5BSLy0WgQKO\njXXb738vPe94lmbhyXbn8imIQQBH+pktGGvJFva7GuTWNvCuYXEUXaWdNWRv\nVIJp\r\n=JlfD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3hwqL8lTHWHEu/T5bJ2DI9sys1B07aQXlyvgy8OC1lgIgVjO6DNINONgqNmq0aSEmNbxdvlWtHi8E1bRaa+xPR1k="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.1.0-next.1627423360.6b81585f6e214329c722adaca1e4220a0dd4d42b_1627423361861_0.7814118766570686"},"_hasShrinkwrap":false},"7.1.0":{"name":"get-cli-arg","version":"7.1.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","es2019","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 with Require for modules","directory":"edition-es2019","entry":"index.js","tags":["compiled","javascript","es2019","require"],"engines":{"node":"10 || 12 || 14","browsers":false}},{"description":"TypeScript compiled against ES2019 for Node.js 12 || 14 with Import for modules","directory":"edition-es2019-esm","entry":"index.js","tags":["compiled","javascript","es2019","import"],"engines":{"node":"12 || 14","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2019/index.js","exports":{"node":{"import":"./edition-es2019-esm/index.js","require":"./edition-es2019/index.js"}},"dependencies":{"normalify":"^2.21.0"},"devDependencies":{"@bevry/update-contributors":"^1.18.0","@typescript-eslint/eslint-plugin":"^4.28.5","@typescript-eslint/parser":"^4.28.5","assert-helpers":"^8.2.0","eslint":"^7.31.0","eslint-config-bevry":"^3.23.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","kava":"^5.13.0","make-deno-edition":"^1.3.0","prettier":"^2.3.2","projectz":"^2.18.0","surge":"^0.23.0","typedoc":"^0.21.4","typescript":"4.3.5","valid-directory":"^3.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2019":"tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2019/package.json","our:compile:edition-es2019-esm":"tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2019-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2019/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"6b81585f6e214329c722adaca1e4220a0dd4d42b","_id":"get-cli-arg@7.1.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-eBwvF4ILXpXbdl4Fovzf/yOndqT1DGLGekcCra3ByzJDVdzEVeAnz8oIYTzlvn2H1NqDif/dCkrJu7mLBvt+yw==","shasum":"060c9705d81d12d3ec7463641ce2db15bb8d09b1","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.1.0.tgz","fileCount":12,"unpackedSize":29982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAIKnCRA9TVsSAnZWagAAchcP/1mFlQjfsFxU22+ZWZZ6\nzF1qUFloii+TabhJ9cnr+R/TS5/43fnW4qVKsOpgzBdYcGymQiR470PPR7W+\nJGjsP9m2hzY9jlYXXyg0e1VpYHZroOrAfn0pXF/2zOQ+1331FfnLFjsmZRBr\ngMkUxXDGPQt65AGtUO5mDEyf7By5UKUH9Tk0WAJGOG47cSftk+XIXDEvHWT7\n+LH4dJ1FKTn8TVTqDy99HGTrTmE5FIb2epoVR8cChq6O+aHOqvYijgwx0svz\nkzjSXOPeqT7b5//6HeXCiGw04OM+nXbFVseF608XBgG8V4dxl97D+5YwiWXa\ncFl+fQi6zoKINMHFN2lS55olQYMW8LpNSSU0AcIrKCur6kzauJWqwUwKEosf\nuyaLweiStAL5DOhSizMJvZjo2rpf/6ZvR0sToAAYPD97N/9vM3WF6/2AYKi2\n3tCtNx+NR2xlzYW/6xbA5BiE3revPWkqNKH5mXH9oKZVw3bQMMWhrTcv11R1\n1qTPwITYihTpovsKtZRgeH4rF7oP8Nq2Y4uBLim8AzQvvkfUXH8l5qYQRG5q\nvRKH9EAj7PJIgv8G/R8OHQsd7cU3n/ZeWOzMbFNwc53QPDgiY+eKewMZtum9\naSyT82a2XCSRvd/W1TTp8U4Xw9N6aU+U5XXsi53iqOnTWwjZtdJ/cMF50V5Q\nsdgk\r\n=msgE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvlje2u4heyBNctKdZjJmuzGktbDypwIwqfzXpQT0RiAiEA26yaQibMhasy+3ZuxAPvNgyMm+o1TgbnvlpXlUgV62Q="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.1.0_1627423398662_0.8979822078356188"},"_hasShrinkwrap":false},"7.2.0-next.1627507165.908bd5c0336d99702c5db09b275b16738be96d7e":{"name":"get-cli-arg","version":"7.2.0-next.1627507165.908bd5c0336d99702c5db09b275b16738be96d7e","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","es2019","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 16 with Require for modules","directory":"edition-es2019","entry":"index.js","tags":["compiled","javascript","es2019","require"],"engines":{"node":"10 || 12 || 14 || 16","browsers":false}},{"description":"TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 with Import for modules","directory":"edition-es2019-esm","entry":"index.js","tags":["compiled","javascript","es2019","import"],"engines":{"node":"12 || 14 || 16","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2019/index.js","exports":{"node":{"import":"./edition-es2019-esm/index.js","require":"./edition-es2019/index.js"}},"dependencies":{"normalify":"^2.22.0"},"devDependencies":{"@bevry/update-contributors":"^1.19.0","@typescript-eslint/eslint-plugin":"^4.28.5","@typescript-eslint/parser":"^4.28.5","assert-helpers":"^8.2.0","eslint":"^7.31.0","eslint-config-bevry":"^3.25.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","kava":"^5.14.0","make-deno-edition":"^1.3.0","prettier":"^2.3.2","projectz":"^2.18.0","surge":"^0.23.0","typedoc":"^0.21.4","typescript":"4.3.5","valid-directory":"^3.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2019":"tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2019/package.json","our:compile:edition-es2019-esm":"tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2019-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2019/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/globals.html)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2019/index.js</code></li>\n<li><code>get-cli-arg/edition-es2019/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019\" title=\"ECMAScript ES2019\">ES2019</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 16 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2019-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019\" title=\"ECMAScript ES2019\">ES2019</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 16 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"908bd5c0336d99702c5db09b275b16738be96d7e","_id":"get-cli-arg@7.2.0-next.1627507165.908bd5c0336d99702c5db09b275b16738be96d7e","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-3oAlLHNMI+9blj2+aOuHuE9MxWg2CQCNIEucGHslcy5UC1DDWeH9kf1Vd8Wtjj3bSm61+5zF15fO5GAhEk0CQg==","shasum":"38c1f3e5117403cbde8e05399fa47243faec1679","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.2.0-next.1627507165.908bd5c0336d99702c5db09b275b16738be96d7e.tgz","fileCount":12,"unpackedSize":30269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAcnfCRA9TVsSAnZWagAAf6cP/RK/3KJHvR1vsu15ZHFQ\nEGxRzSGufo4aGoGPukTL5GHBsZcX8O35OlnmknWMMkJxXhgsVvQclHeAZ1Qh\nykpOTG12bp0mwCR6wCtwxiXYpUH3c0RnZ1YQMAy5Fl1V/2Fk4R9u48N3sd9g\n916g52LL6PqObBK3yQE2Mq5a8xwQwdYjJ+UejIsS9+rJLNThdKzEn2xBjGO5\naHTMChl3DPw3pAMCc/Jsqzh0wz+bZ8NA0ks0QgD4NTeOXEsYT69GsJjc/DuW\nYOcvj/cadDSDqJjdc4WAx322mpVQ9MILrtFT2vyAx4tJryzNbrsxL/a8kzO4\niCo2G8kl/jjFYg7x8em6wsiZVR/KDWug9c8DGj94iOc4o/xleULMcU43n3an\nR/65Xq8DwKbBWNgWhIuWGH/1IY1C8d4vx5G9GnEB67DChUyRWNCF+LzUhCOF\nMQN0Ftofuz4hsKv1YZfckUU7v57e6BybY6xE4PL63jXyWJtfP7o+RHmlVq0Z\nCjjR8PwOxIWaQgKZgseiy/SEM/6tc8SFzhZ6sFhvGV7fP14J9A1sp0UnvBXx\nwthIO5HhERV+sS4wwWg2d5QOSOlNi9q96dezXdJpC7CaFcBaaIno5KO/V7iF\nzJdLGwBzoQpa/J47zXqhWOkHXEU65kUsWtGV6XViN4ipM/nB47F4GqUGWfTZ\nGAVk\r\n=Riqa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAL0RJ+UrfR2EgAqsf1gh0EqPE7QkwUajLsU+D+dz88FAiAE2jlJ3Un6wBi6ImJs7+9ecGSDxfrCD5VyB2qNeRdUkA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.2.0-next.1627507165.908bd5c0336d99702c5db09b275b16738be96d7e_1627507167055_0.10776243279580022"},"_hasShrinkwrap":false},"7.3.0-next.1627593389.c80578b85eab2ebb1cf1e259571aa864ecadd55b":{"name":"get-cli-arg","version":"7.3.0-next.1627593389.c80578b85eab2ebb1cf1e259571aa864ecadd55b","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","es2019","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 16 with Require for modules","directory":"edition-es2019","entry":"index.js","tags":["compiled","javascript","es2019","require"],"engines":{"node":"10 || 12 || 14 || 16","browsers":false}},{"description":"TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 with Import for modules","directory":"edition-es2019-esm","entry":"index.js","tags":["compiled","javascript","es2019","import"],"engines":{"node":"12 || 14 || 16","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2019/index.js","exports":{"node":{"import":"./edition-es2019-esm/index.js","require":"./edition-es2019/index.js"}},"dependencies":{"normalify":"^2.22.0"},"devDependencies":{"@bevry/update-contributors":"^1.19.0","@typescript-eslint/eslint-plugin":"^4.28.5","@typescript-eslint/parser":"^4.28.5","assert-helpers":"^8.4.0","eslint":"^7.31.0","eslint-config-bevry":"^3.27.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","kava":"^5.14.0","make-deno-edition":"^1.3.0","prettier":"^2.3.2","projectz":"^2.21.0","surge":"^0.23.0","typedoc":"^0.21.4","typescript":"4.3.5","valid-directory":"^3.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2019":"tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2019/package.json","our:compile:edition-es2019-esm":"tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2019-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2019/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/get-cli-arg\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/get-cli-arg.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/get-cli-arg#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/get-cli-arg.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2019/index.js</code></li>\n<li><code>get-cli-arg/edition-es2019/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019\" title=\"ECMAScript ES2019\">ES2019</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 14 || 16 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2019-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019\" title=\"ECMAScript ES2019\">ES2019</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 16 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"c80578b85eab2ebb1cf1e259571aa864ecadd55b","_id":"get-cli-arg@7.3.0-next.1627593389.c80578b85eab2ebb1cf1e259571aa864ecadd55b","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Ne2eYJiYPRQ6kzNhULvCGZGJHR9X5PLa5JD4twxZeoNzPdKEwXH2MVth+uapMzFkLmKLe5XXQhta9lPXdMwwWg==","shasum":"cbdaf9a5f0c8db891ada3de0a0295b91917fabea","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.3.0-next.1627593389.c80578b85eab2ebb1cf1e259571aa864ecadd55b.tgz","fileCount":12,"unpackedSize":30451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAxqvCRA9TVsSAnZWagAAg7EP/iwcSSf6Okbjil5LK9WL\nWwiWyefY3mHjSJUkjfj/RUlqWLZhbthVPuY0gc2ebNEgEUqOROCqU7wFAS6y\nuwnehKtBXGspy1RCxO25tUKD2YHb6LwTpkoenAnm5Sw7M4eLgaem6xFuTQSY\n9SeN3ln6WI7W11VjlYm4f5SddLXbOPWzpUZa91FJQNpahzbsVMtavCwiHV6X\nfClLQVuOMYGAQc9MoSc1isPqva+E7nFdoZpEjmkiq/OaxjJ7y+2HbSmlqAAP\ngHgdZHD79pD88EwYkT4RzRw/lNpOeRNiK747ouU52aVVTGZ9Fd0jV+G5VZ4k\n+o99Xu1lyyIBmE6NVLG/YQfWttg+feightnRyyqigTXKJcYVbxGlIMIHLH06\nhXcZp9+hwUWp3/ZPdCrMkKcccRdsDZG/vWIeKgyooWXYSGdMnWhlvzZoSz63\nglBKRdg78if46rCTTs+gKqIiUaV9eq2eQ36K+fXId5qQE9d0yE4Tv+jHwmZj\nUR7xnfvlDmL0fYdxtZ4UsYgo09PbYzb+GArI7hDiOYEImPXBuIerpVFHGWqe\nbVbJ+SwAdiJ2FwxdTglU3+w2YCe1kulYX7xca+ZlTy1n0yzil8nqiKR3S00s\nyNJBGZnxRifE68/7NEMmcjqTM6UbMRfeq09MuKSH5/cOipfEcchYxKXKMxB9\nof1J\r\n=WAea\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlrDd1mh5ncrkOr/05pHfTdnF3FkZzVqMRBowwUApdJwIhAPlgC+AtIOvMaNV1BLucIokJlrkUpDTIumkFDKmhM0Dt"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.3.0-next.1627593389.c80578b85eab2ebb1cf1e259571aa864ecadd55b_1627593391162_0.03218216057159062"},"_hasShrinkwrap":false},"7.3.0":{"name":"get-cli-arg","version":"7.3.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"MIT","keywords":["arg","argument","arguments","argv","cli","es2019","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 16 with Require for modules","directory":"edition-es2019","entry":"index.js","tags":["compiled","javascript","es2019","require"],"engines":{"node":"10 || 12 || 14 || 16","browsers":false}},{"description":"TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 with Import for modules","directory":"edition-es2019-esm","entry":"index.js","tags":["compiled","javascript","es2019","import"],"engines":{"node":"12 || 14 || 16","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2019/index.js","exports":{"node":{"import":"./edition-es2019-esm/index.js","require":"./edition-es2019/index.js"}},"dependencies":{"normalify":"^2.22.0"},"devDependencies":{"@bevry/update-contributors":"^1.19.0","@typescript-eslint/eslint-plugin":"^4.28.5","@typescript-eslint/parser":"^4.28.5","assert-helpers":"^8.4.0","eslint":"^7.31.0","eslint-config-bevry":"^3.27.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","kava":"^5.14.0","make-deno-edition":"^1.3.0","prettier":"^2.3.2","projectz":"^2.21.0","surge":"^0.23.0","typedoc":"^0.21.4","typescript":"4.3.5","valid-directory":"^3.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2019":"tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2019/package.json","our:compile:edition-es2019-esm":"tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2019-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2019/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"gitHead":"c80578b85eab2ebb1cf1e259571aa864ecadd55b","_id":"get-cli-arg@7.3.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-4ccIo5TqI0OAvheSsT5SR5KgmcIOysGMCqAacA22kyuji23uBKY1Xd5ow248EIRo4feq/y4c0P0u7Z5RDzV/tg==","shasum":"d4eea6989d3b5b323709cf10323d6f666da9da17","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.3.0.tgz","fileCount":12,"unpackedSize":30393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAxruCRA9TVsSAnZWagAANngP/34xBn0cxLKNK4bajc0O\nZjAjPflZd93L+RFXzWoTfQlu7oMvOFbwbezdo64lNPGdHzbTXm7nxhfHknxG\nWiAOTpcMSeIbMB/OVaG7veQxS70j7m7sBooRihFJh0+/dCUaLQNIB0HgX76D\nu8dV/tbhvHjHJeLJlMTlNPdeetl8QfhFOZ4HaHtKoiqZaYX+xjAb2tbaAAWo\n2EqZOgwc16fHudLegSKGjvaEQUC+cio1HmsEy02Jc4rT6ESrxE9e9pxjdXOw\n5artj1mkmgtSP6J8017m61yPZHjdlHs8ulI25qZEKFIiHzJdcNxJ3XtNJYG9\ndI7AOmiyc6ClEFoyQkJ4m8NOVg0XCnd+HMVYlpIOcR9bTU0yyZfZu8a8c3QQ\ndLjNOpchtOmLC5q8c1QRYkBPekY+PVYRpX17+ru2o+S2CbLN8sCGrmfEaQAA\nKLhz90Rv4J5MbewKJePaZZCgwLLeh3oTLvz+4CuiRPjtbjaeTfEL5cEphClo\nbRXXXleQcsfRbfP2SryDtBVBDCaXmnSyMpRowNQmEybGNMP/BPc1UjR1Ba06\n1/BOXxsjT5LuhaNk4l5y6BlkpbJ9pv6XGmCuMQm9/aJe2hEXqjRsr35+dqm5\ngSte7sE7LzvQsbXwuT+RnP4qWSTCrePjDAafTyHnwxkeFHxcRUWx71FZGV1x\nMglV\r\n=Y98y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQK7fcrskaS7tRui1aOaDBnVZ7IZtlQcj2vSpClOBi4AiAi7AkbLiwTFu5qUe5VBJLyc0/BoQDlcmFacyugVrUhCA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.3.0_1627593454489_0.10012851378585919"},"_hasShrinkwrap":false},"7.4.0-next.1698807793.716c95b4e40c4be12438132d26e1912f4b988312":{"name":"get-cli-arg","version":"7.4.0-next.1698807793.716c95b4e40c4be12438132d26e1912f4b988312","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2017","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2017 for Node.js with Require for modules","directory":"edition-es2017","entry":"index.js","tags":["compiled","javascript","es2017","require"],"engines":{"node":"10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2017 for Node.js with Import for modules","directory":"edition-es2017-esm","entry":"index.js","tags":["compiled","javascript","es2017","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2017/index.js","exports":{"node":{"import":"./edition-es2017-esm/index.js","require":"./edition-es2017/index.js"}},"dependencies":{"normalify":"^2.24.0"},"devDependencies":{"@bevry/update-contributors":"^1.22.0","@types/node":"^20.8.10","@typescript-eslint/eslint-plugin":"^6.9.1","@typescript-eslint/parser":"^6.9.1","assert-helpers":"^8.4.0","eslint":"^8.52.0","eslint-config-bevry":"^3.28.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^5.15.0","make-deno-edition":"^1.3.0","prettier":"^3.0.3","projectz":"^2.23.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2017-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2017":"tsc --module commonjs --target ES2017 --outDir ./edition-es2017 --project tsconfig.json && ( test ! -d edition-es2017/source || ( mv edition-es2017/source edition-temp && rm -Rf edition-es2017 && mv edition-temp edition-es2017 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2017/package.json","our:compile:edition-es2017-esm":"tsc --module ESNext --target ES2017 --outDir ./edition-es2017-esm --project tsconfig.json && ( test ! -d edition-es2017-esm/source || ( mv edition-es2017-esm/source edition-temp && rm -Rf edition-es2017-esm && mv edition-temp edition-es2017-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2017-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2017/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"_id":"get-cli-arg@7.4.0-next.1698807793.716c95b4e40c4be12438132d26e1912f4b988312","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/balupton\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2017/index.js</code></li>\n<li><code>get-cli-arg/edition-es2017/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017\" title=\"ECMAScript ES2017\">ES2017</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2017-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against <a href=\"https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017\" title=\"ECMAScript ES2017\">ES2017</a> for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/balupton\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"716c95b4e40c4be12438132d26e1912f4b988312","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-UpoivyGBPLlVfAGeA5O6+kCf9SN1/5GK1hxVSJxyrgRmkcrCUpFfTtyoajf0I7+tyFLU0tzqLRm+vOBKYsQo5w==","shasum":"6a159a54be2a950d526eea2deaeba59598b76b28","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.4.0-next.1698807793.716c95b4e40c4be12438132d26e1912f4b988312.tgz","fileCount":12,"unpackedSize":31320,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7GPo9YJ5Noli791lViVPpfbIApKziTS+Wul7aOMkdXwIgPvnR3Y1ZuyPYl+3NXBt4AK2kxAilazLFdBjn5MFqioo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.4.0-next.1698807793.716c95b4e40c4be12438132d26e1912f4b988312_1698807794901_0.7755049078692156"},"_hasShrinkwrap":false},"7.4.0":{"name":"get-cli-arg","version":"7.4.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2017","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=10"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2017 for Node.js with Require for modules","directory":"edition-es2017","entry":"index.js","tags":["compiled","javascript","es2017","require"],"engines":{"node":"10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2017 for Node.js with Import for modules","directory":"edition-es2017-esm","entry":"index.js","tags":["compiled","javascript","es2017","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2017/index.js","exports":{"node":{"import":"./edition-es2017-esm/index.js","require":"./edition-es2017/index.js"}},"dependencies":{"normalify":"^2.24.0"},"devDependencies":{"@bevry/update-contributors":"^1.22.0","@types/node":"^20.8.10","@typescript-eslint/eslint-plugin":"^6.9.1","@typescript-eslint/parser":"^6.9.1","assert-helpers":"^8.4.0","eslint":"^8.52.0","eslint-config-bevry":"^3.28.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^5.15.0","make-deno-edition":"^1.3.0","prettier":"^3.0.3","projectz":"^2.23.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2017-esm && npm run our:compile:types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2017":"tsc --module commonjs --target ES2017 --outDir ./edition-es2017 --project tsconfig.json && ( test ! -d edition-es2017/source || ( mv edition-es2017/source edition-temp && rm -Rf edition-es2017 && mv edition-temp edition-es2017 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2017/package.json","our:compile:edition-es2017-esm":"tsc --module ESNext --target ES2017 --outDir ./edition-es2017-esm --project tsconfig.json && ( test ! -d edition-es2017-esm/source || ( mv edition-es2017-esm/source edition-temp && rm -Rf edition-es2017-esm && mv edition-temp edition-es2017-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2017-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2017/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"_id":"get-cli-arg@7.4.0","gitHead":"716c95b4e40c4be12438132d26e1912f4b988312","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-5/AgKgM3d0RNbjPLLhj5z/5fp1Fzh1ccJzpsEc/0O8vcB/v2ITvFWeQ7KoXIomiPuzaeEQCR8VHAHbTeHkcJDg==","shasum":"adb0f4f39b2c00c86feb716164227d1e95a390d8","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.4.0.tgz","fileCount":12,"unpackedSize":31262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRe2TMDVmf8YND/JnWDOCQgTnJT8/H1SJZ+N5UDipyWQIgYixXPNKboqI75Nq4f/kmo/PovyUEu29reCWsPtlCdjw="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_7.4.0_1698807928309_0.6903112125607351"},"_hasShrinkwrap":false},"8.0.0-next.1699907015.c29b37fcd78d92461f170d84984dc68cd9daef94":{"name":"get-cli-arg","version":"8.0.0-next.1699907015.c29b37fcd78d92461f170d84984dc68cd9daef94","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2022/index.js","exports":{"node":{"import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"dependencies":{"normalify":"^2.26.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","assert-helpers":"^11.2.0","eslint":"^8.53.0","eslint-config-bevry":"^4.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.1.0","prettier":"^3.1.0","projectz":"^2.23.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.1.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.0.0-next.1699907015.c29b37fcd78d92461f170d84984dc68cd9daef94","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/balupton\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2022/index.js</code></li>\n<li><code>get-cli-arg/edition-es2022/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2022-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/balupton\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"c29b37fcd78d92461f170d84984dc68cd9daef94","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-qKU+OUYP0TL7xkjsY837aok83nX4WZQ7//o9IY/Nfs/Cu5ZSe0F8WnIAMzGxZXdgAk7tTvMaMSw41gf1sWFheA==","shasum":"c61b78b6cda1ba6c3f97bc64719fa503d70749cc","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.0.0-next.1699907015.c29b37fcd78d92461f170d84984dc68cd9daef94.tgz","fileCount":13,"unpackedSize":32903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh+jourQr7ziR/SwNAYxGOKPxvriuKeg2oIpkgSRWcxwIgPpIuMPMMc6g9J9sxue7kwVU9hKE60WSB+NKdPp7YzF8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.0.0-next.1699907015.c29b37fcd78d92461f170d84984dc68cd9daef94_1699907017154_0.6634170675067492"},"_hasShrinkwrap":false},"8.0.0":{"name":"get-cli-arg","version":"8.0.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2022/index.js","exports":{"node":{"import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"dependencies":{"normalify":"^2.26.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","assert-helpers":"^11.2.0","eslint":"^8.53.0","eslint-config-bevry":"^4.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.1.0","prettier":"^3.1.0","projectz":"^2.23.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.1.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.0.0","gitHead":"c29b37fcd78d92461f170d84984dc68cd9daef94","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-cR/Tt2Gnj7hF5CbkUOzXFZvmDWkDssqaTt7jeMSpZ+vKb/U0tAmfESYnwWprYJY81Jhvm2eXtSbNts5uqOaPCw==","shasum":"13090ef975b6fba47601713d2e5bfcb694de061b","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.0.0.tgz","fileCount":13,"unpackedSize":32845,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsPO6xezY7iIYkO0ypuKthzmf+7VWO4I9bmgvRNBl8AAiAVbV21AAG5txHSOhmrlLhN27K7Sdaoja98Env0lt1P3g=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.0.0_1699907030796_0.20126469511360856"},"_hasShrinkwrap":false},"8.1.0":{"name":"get-cli-arg","version":"8.1.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2022/index.js","exports":{"node":{"import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"dependencies":{"normalify":"^2.27.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","assert-helpers":"^11.4.0","eslint":"^8.53.0","eslint-config-bevry":"^4.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.2.0","prettier":"^3.1.0","projectz":"^3.0.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.2.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.1.0","gitHead":"79a771c4f2f24470145ead0f717c26f70fc4664f","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-KBs2vR7bULdHR2xdfPumLJDdKuEDyB8hofOGf7HXNml/0tNqOn3oU//seyWcjCVG4YDC5du8c/Kqz47RcNhyuA==","shasum":"56697c407df7f08cc7e8a8c3d85f41b4ba95bd0f","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.1.0.tgz","fileCount":13,"unpackedSize":32837,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5NvX7/M/o22mQ1udwNo6VY51xGO1GzUnNL+4V+2mPJgIgI77WbSVMuHXgGVd7AKEDghWCuOyAS6mZGecW5QT2P3M="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.1.0_1700025257394_0.9278339652006833"},"_hasShrinkwrap":false},"8.1.0-next.1700025262.79a771c4f2f24470145ead0f717c26f70fc4664f":{"name":"get-cli-arg","version":"8.1.0-next.1700025262.79a771c4f2f24470145ead0f717c26f70fc4664f","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}}],"types":"./compiled-types/","type":"module","main":"edition-es2022/index.js","exports":{"node":{"import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"dependencies":{"normalify":"^2.27.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","assert-helpers":"^11.4.0","eslint":"^8.53.0","eslint-config-bevry":"^4.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.2.0","prettier":"^3.1.0","projectz":"^3.0.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.2.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:types":"tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -rf compiled-types && mv edition-temp compiled-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.1.0-next.1700025262.79a771c4f2f24470145ead0f717c26f70fc4664f","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/balupton\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2022/index.js</code></li>\n<li><code>get-cli-arg/edition-es2022/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2022-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/balupton\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"79a771c4f2f24470145ead0f717c26f70fc4664f","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-oZ7NgHmnXUbjBDv4b2F2tP0NRbpUP+tS9YD70lWkdZySFpjX07f1+WQa3whnIv7biWEgrahv5wK6C7p0BcxXtw==","shasum":"0a9301ef6f2206f2ddb1d73096833991104fa5ec","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.1.0-next.1700025262.79a771c4f2f24470145ead0f717c26f70fc4664f.tgz","fileCount":13,"unpackedSize":32895,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOsfIk/dMNrwGPp/w1w9pJCps/xRdLZcP+g1fjhjcGqAIhAKWf4QmodAbDXhcbLsv7XncCNTO9W/4zJmVW3htMllxQ"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.1.0-next.1700025262.79a771c4f2f24470145ead0f717c26f70fc4664f_1700025264113_0.19200529400714017"},"_hasShrinkwrap":false},"8.2.0-next.1700704567.827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff":{"name":"get-cli-arg","version":"8.2.0-next.1700704567.827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"dependencies":{"normalify":"^2.28.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.9.4","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","assert-helpers":"^11.5.0","eslint":"^8.54.0","eslint-config-bevry":"^5.1.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.3.0","prettier":"^3.1.0","projectz":"^3.3.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.5.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.2.0-next.1700704567.827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2022/index.js</code></li>\n<li><code>get-cli-arg/edition-es2022/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2022-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-types/index.d.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled Types with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-8QP5hvGHjW4o8L95Um/ftIlC381o+v84GsbiHkimm3byUdK1troONOje9F+Kk5MjYdPJ+YqciJ2QtqR9KqR5aQ==","shasum":"c62a5320e79338875960bfdddeee934af37a1f8c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.2.0-next.1700704567.827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff.tgz","fileCount":13,"unpackedSize":33283,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIa7nGAdXIv8L+TM0BRr7U/p+Plk11f5l5Z2tXwe7aWAiALA39h+lIxKWCrpNpNCxZ5OgqMmLcHZN3JrGtUphVSYg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.2.0-next.1700704567.827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff_1700704568405_0.05942988219926271"},"_hasShrinkwrap":false},"8.2.0":{"name":"get-cli-arg","version":"8.2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"dependencies":{"normalify":"^2.28.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.9.4","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","assert-helpers":"^11.5.0","eslint":"^8.54.0","eslint-config-bevry":"^5.1.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.3.0","prettier":"^3.1.0","projectz":"^3.3.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.5.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.2.0","gitHead":"827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-Le9Vr2afzI7ITQLtSrsnkyL55AJwKH+/8DGqcSZIdxF0B+ZaSLeU4opXARt9jF8PXpFLaQcstXGrau1m+VgqUQ==","shasum":"433c266b1aa86c17456f937e9f8bfba40a9793b4","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.2.0.tgz","fileCount":13,"unpackedSize":33225,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZlaZ3/RgJFJ988e26QCmS9DGiUVVN7mL3p9de0NEROAiEApZ5SqZsPiyoJkcuqfFvSiIOX8pIyjduLbDZa2j+wMgI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.2.0_1700704583524_0.47369913534227215"},"_hasShrinkwrap":false},"8.3.0":{"name":"get-cli-arg","version":"8.3.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.28.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.10.0","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","assert-helpers":"^11.6.0","eslint":"^8.54.0","eslint-config-bevry":"^5.2.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.3.0","make-deno-edition":"^2.0.0","prettier":"^3.1.0","projectz":"^3.3.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.5.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.3.0","gitHead":"3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-oZhUYqxhpFJyBX/Oc6I47cv0d0fNKJHMocUIXmnb2jwzXy+Yo0HIGOtsdx1z/I27Gwi12tDfG4Z6iTzd+eTSEA==","shasum":"ef765b0932f4c69b3271cfa925d41929fcffbd28","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.3.0.tgz","fileCount":14,"unpackedSize":35450,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICm9bcwoNxRHbel1fYDSAQrDu1Wkb7i0IP7ACeHzez0IAiBRTssCWCt8hW7ej7lWvsqxeqk1wU3TgzWv8VBeP7tukA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.3.0_1700846590909_0.6230250410905329"},"_hasShrinkwrap":false},"8.3.0-next.1700846598.3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35":{"name":"get-cli-arg","version":"8.3.0-next.1700846598.3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.28.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.10.0","@typescript-eslint/eslint-plugin":"^6.12.0","@typescript-eslint/parser":"^6.12.0","assert-helpers":"^11.6.0","eslint":"^8.54.0","eslint-config-bevry":"^5.2.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.3.0","make-deno-edition":"^2.0.0","prettier":"^3.1.0","projectz":"^3.3.0","surge":"^0.23.1","typedoc":"^0.25.3","typescript":"5.2.2","valid-directory":"^4.5.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"_id":"get-cli-arg@8.3.0-next.1700846598.3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^8.3.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2022/index.js</code></li>\n<li><code>get-cli-arg/edition-es2022/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2022-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-types/index.d.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled Types with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-4G8QDm557yr0pwyYDQjhNfUWJzYoZyZ8QAUfL9QM+5etrgyDfymorRDkUSGkBnjR12CqgIFINWZk0x3hL1zDvg==","shasum":"1fcf3687c689f7b302a008e259ec6a249074d299","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.3.0-next.1700846598.3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35.tgz","fileCount":14,"unpackedSize":35508,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAclS8f/hf3DWqEWcn/cjOfbUh2jZue6Bn3R8Z7sS9qQIgQpCnF8VK2nfy1+tsYavg6Bw6grX8fRr0YkeAG9WdLao="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.3.0-next.1700846598.3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35_1700846599958_0.2635864862808597"},"_hasShrinkwrap":false},"8.4.0-next.1701816868.c205fa638fcbc7e21ef476db039894a5a44fc75d":{"name":"get-cli-arg","version":"8.4.0-next.1701816868.c205fa638fcbc7e21ef476db039894a5a44fc75d","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.30.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.10.3","@typescript-eslint/eslint-plugin":"^6.13.2","@typescript-eslint/parser":"^6.13.2","assert-helpers":"^11.9.0","eslint":"^8.55.0","eslint-config-bevry":"^5.3.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.5.0","make-deno-edition":"^2.0.1","prettier":"^3.1.0","projectz":"^3.4.0","typedoc":"^0.25.4","typescript":"5.3.2","valid-directory":"^4.6.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"_id":"get-cli-arg@8.4.0-next.1701816868.c205fa638fcbc7e21ef476db039894a5a44fc75d","readme":"<!-- TITLE/ -->\n\n<h1>get-cli-arg</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save get-cli-arg</code></li>\n<li>Import: <code>import pkg from ('get-cli-arg')</code></li>\n<li>Require: <code>const pkg = require('get-cli-arg').default</code></li>\n</ul>\n\n<a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\"><h3>Deno</h3></a>\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^8.4.0/edition-deno/index.ts'\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>get-cli-arg/source/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg</code> aliases <code>get-cli-arg/edition-es2022/index.js</code></li>\n<li><code>get-cli-arg/edition-es2022/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 21 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>get-cli-arg/edition-es2022-esm/index.js</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled against ES2022 for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 21 with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-types/index.d.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> compiled Types with <a href=\"https://babeljs.io/docs/learn-es2015/#modules\" title=\"ECMAScript Modules\">Import</a> for modules</li>\n<li><code>get-cli-arg/edition-deno/index.ts</code> is <a href=\"https://www.typescriptlang.org/\" title=\"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. \">TypeScript</a> source code made to be compatible with <a href=\"https://deno.land\" title=\"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\">Deno</a></li></ul>\n\n<!-- /INSTALL -->\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/get-cli-arg/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/get-cli-arg/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2019+ <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/Artistic-2.0.html\">Artistic License 2.0</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"c205fa638fcbc7e21ef476db039894a5a44fc75d","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-1aNy5MUadKRwZC5VrXXNPjOinYgDIbkR5j1QpcguR9Wrn54toxShtEUaeLSk7locnurn6nGPg7a2d5h6We3OyQ==","shasum":"1f13369c83d189bdcfe2a0133a87faf57c9fa39c","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.4.0-next.1701816868.c205fa638fcbc7e21ef476db039894a5a44fc75d.tgz","fileCount":14,"unpackedSize":35333,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC76+dbH+yBm8mglncoDAUnrvKsIlpBIqfCnBde0vs0igIhAIyeD48GS3cUF71+oTr+jbYB9OlGE1rkzhhBt5jcLJBh"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.4.0-next.1701816868.c205fa638fcbc7e21ef476db039894a5a44fc75d_1701816869968_0.6920342622242031"},"_hasShrinkwrap":false},"8.4.0":{"name":"get-cli-arg","version":"8.4.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","license":"Artistic-2.0","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"funding":"https://bevry.me/fund","author":{"name":"2019+ Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.30.0"},"devDependencies":{"@bevry/update-contributors":"^1.23.0","@types/node":"^20.10.3","@typescript-eslint/eslint-plugin":"^6.13.2","@typescript-eslint/parser":"^6.13.2","assert-helpers":"^11.9.0","eslint":"^8.55.0","eslint-config-bevry":"^5.3.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.0.1","kava":"^7.5.0","make-deno-edition":"^2.0.1","prettier":"^3.1.0","projectz":"^3.4.0","typedoc":"^0.25.4","typescript":"5.3.2","valid-directory":"^4.6.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"_id":"get-cli-arg@8.4.0","gitHead":"c205fa638fcbc7e21ef476db039894a5a44fc75d","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-eWC8UMQgiy8RvXof1uFu1//2PZu8VlLzCuhqho/UfEEKXI+yvX8pv7/V3H2V3mVfa4U2s70MNoSmN0lGhnWSZQ==","shasum":"e3d2bcfedb8755d7b439a3c98bad93ba5fa34de1","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.4.0.tgz","fileCount":14,"unpackedSize":35275,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1L0eQxd8DMfj+mmeEzHx45OPWpH9CgUcjqASsDUamlAiEAuHO8rq52pQw5nE1/GS9IVnD9RBbXh59wN38e29Qqmfg="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.4.0_1701816925291_0.4816003214745559"},"_hasShrinkwrap":false},"8.5.0-next.1703692144.1e8d239e07395447246dd9b2e14b9d60c9aae26f":{"name":"get-cli-arg","version":"8.5.0-next.1703692144.1e8d239e07395447246dd9b2e14b9d60c9aae26f","license":"Artistic-2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://bevry.me) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)"],"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.30.0"},"devDependencies":{"@types/node":"^20.10.5","@typescript-eslint/eslint-plugin":"^6.16.0","@typescript-eslint/parser":"^6.16.0","assert-helpers":"^11.11.0","eslint":"^8.56.0","eslint-config-bevry":"^5.3.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.2","kava":"^7.6.0","make-deno-edition":"^2.1.0","prettier":"^3.1.1","projectz":"^4.0.0","typedoc":"^0.25.4","typescript":"5.3.3","valid-directory":"^4.7.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:eslint && npm run our:verify:prettier","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"_id":"get-cli-arg@8.5.0-next.1703692144.1e8d239e07395447246dd9b2e14b9d60c9aae26f","readme":"<!-- TITLE/ -->\n\n# get-cli-arg\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n## Install\n\n### [npm](https://npmjs.com \"npm is a package manager for javascript\")\n\n-   Install: `npm install --save get-cli-arg`\n-   Import: `import pkg from ('get-cli-arg')`\n-   Require: `const pkg = require('get-cli-arg').default`\n\n### [Deno](https://deno.land \"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\")\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^8.5.0/edition-deno/index.ts'\n```\n### [Editions](https://editions.bevry.me \"Editions are the best way to produce and consume packages you care about.\")\n\nThis package is published with the following editions:\n-   `get-cli-arg/source/index.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") source code with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `get-cli-arg` aliases `get-cli-arg/edition-es2022/index.js`\n-   `get-cli-arg/edition-es2022/index.js` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 \"ECMAScript 2022\") for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html \"Node/CJS Modules\") for modules\n-   `get-cli-arg/edition-es2022-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 \"ECMAScript 2022\") for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 12 || 14 || 16 || 18 || 20 || 21 with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `get-cli-arg/edition-types/index.d.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled Types with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `get-cli-arg/edition-deno/index.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") source code made to be compatible with [Deno](https://deno.land \"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\")\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n## History\n\n[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/get-cli-arg/blob/HEAD/HISTORY.md#files)\n\n<!-- /HISTORY -->\n\n<!-- BACKERS/ -->\n\n## Backers\n\n### Code\n\n[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/get-cli-arg/blob/HEAD/CONTRIBUTING.md#files)\n\n#### Authors\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Maintainers\n\n-   [Benjamin Lupton](https://github.com/balupton) — Accelerating collaborative wisdom.\n\n#### Contributors\n\n-   [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/get-cli-arg/commits?author=balupton \"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\")\n\n### Finances\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n#### Sponsors\n\n-   [Andrew Nesbitt](https://nesbitt.io) — Software engineer and researcher\n-   [Balsa](https://balsa.com) — We're Balsa, and we're building tools for builders.\n-   [Codecov](https://codecov.io/) — Empower developers with tools to improve code quality and testing.\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Sentry](https://sentry.io) — Real-time crash reporting for your web apps, mobile apps, and games.\n-   [Syntax](https://syntax.fm) — Syntax Podcast\n\n#### Donors\n\n-   [Andrew Nesbitt](https://nesbitt.io)\n-   [Balsa](https://balsa.com)\n-   [Chad](https://opencollective.com/chad8)\n-   [Codecov](https://codecov.io/)\n-   [entroniq](https://gitlab.com/entroniq)\n-   [Jean-Luc Geering](https://github.com/jlgeering)\n-   [Michael Duane Mooring](https://bevry.me)\n-   [Mohammed Shah](https://github.com/smashah)\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Sentry](https://sentry.io)\n-   [ServieJS](https://github.com/serviejs)\n-   [Skunk Team](https://skunk.team)\n-   [Syntax](https://syntax.fm)\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n## License\n\nUnless stated otherwise all works are:\n\n-   Copyright &copy; [Benjamin Lupton](https://balupton.com)\n\nand licensed under:\n\n-   [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"1e8d239e07395447246dd9b2e14b9d60c9aae26f","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-51p8W86CPxMkNKOzIbfv+9yrH5u/d6lfyKjzWLAZavvainEZt/7KpKxpk0qwN0MYx7qLTZ+FmZByB5Mw0pR5FQ==","shasum":"43e43b4be4de2eaac9fee24c2ff2efc8a3a47afa","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.5.0-next.1703692144.1e8d239e07395447246dd9b2e14b9d60c9aae26f.tgz","fileCount":14,"unpackedSize":37632,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5O2wyHg/9t4PVWyybfmY0sw/+Gs7ftPVMM+emyqXyrAIhAOsMrEQo1f9gT5d1X1bl8MbLVls+vkx+9/eb6z3XH45d"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.5.0-next.1703692144.1e8d239e07395447246dd9b2e14b9d60c9aae26f_1703692145902_0.7100347835703724"},"_hasShrinkwrap":false},"8.5.0":{"name":"get-cli-arg","version":"8.5.0","license":"Artistic-2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://bevry.me) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)"],"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.30.0"},"devDependencies":{"@types/node":"^20.10.5","@typescript-eslint/eslint-plugin":"^6.16.0","@typescript-eslint/parser":"^6.16.0","assert-helpers":"^11.11.0","eslint":"^8.56.0","eslint-config-bevry":"^5.3.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.2","kava":"^7.6.0","make-deno-edition":"^2.1.0","prettier":"^3.1.1","projectz":"^4.0.0","typedoc":"^0.25.4","typescript":"5.3.3","valid-directory":"^4.7.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:eslint && npm run our:verify:prettier","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"_id":"get-cli-arg@8.5.0","gitHead":"1e8d239e07395447246dd9b2e14b9d60c9aae26f","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-r1UXW2EloIEGUGvfypchrYCnpem15jmmqWe6ojFtZ4vJNAMI5DLSAZyA8+3xhzaJa83NJzjeDgz3iJpQrB1LnA==","shasum":"71b2129cf150247aaadf734ed3d9a7436242f2f9","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.5.0.tgz","fileCount":14,"unpackedSize":37575,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm4LPGexlekCToaviio6irePf6Ttl18IFMfVa6iCwF8wIhAIEIVtgHofJYt9X/0lq4W+lAz+/kjggOy5eR7LiYoa15"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.5.0_1703692185304_0.25940607563710794"},"_hasShrinkwrap":false},"8.6.0":{"name":"get-cli-arg","version":"8.6.0","license":"Artistic-2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Armen Mkrtchian (https://mogoni.dev) (https://github.com/Armenm)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov)","dr.dimitru (https://veliovgroup.com) (https://github.com/dr-dimitru)","Elliott Ditman (https://elliottditman.com) (https://github.com/elliottditman)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","GitHub (https://github.com/about) (https://github.com/github)","Hunter Beast (https://cryptoquick.com) (https://github.com/cryptoquick)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Michael Harry Scepaniak <mhs1.sys@gmail.com> (https://michaelscepaniak.com) (https://github.com/hispanic)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)","Nermal <nermalcat69@skiff.com> (https://arjunaditya.vercel.app) (https://github.com/nermalcat69)","Pleo (https://pleo.io) (https://github.com/pleo-io)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Robert de Forest <guitar.robot@gmail.com> (https://github.com/rdeforest)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)","WriterJohnBuck (https://github.com/WriterJohnBuck)"],"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.30.0"},"devDependencies":{"@types/node":"^20.10.5","@typescript-eslint/eslint-plugin":"^6.16.0","@typescript-eslint/parser":"^6.16.0","assert-helpers":"^11.12.0","eslint":"^8.56.0","eslint-config-bevry":"^5.3.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.2","kava":"^7.8.0","make-deno-edition":"^2.2.0","prettier":"^3.1.1","projectz":"^4.1.1","typedoc":"^0.25.4","typescript":"5.3.3","valid-directory":"^4.8.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz --offline","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:eslint && npm run our:verify:prettier","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"_id":"get-cli-arg@8.6.0","gitHead":"e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-al6F7RkUTyFeqhmXCyopu9gOvaI7c0AVLVQ+NeX0ggv7WF9TYIITd8I1oGL6cK+E/HZc4GDBZHWSfa0ct+XgrQ==","shasum":"fe9862f86800b9823b97086797acff6c5499fac4","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.6.0.tgz","fileCount":14,"unpackedSize":38948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZUZtO8EOnqXqEMs/Fft73KJo0ZXXGI8kZ7cZVJa0LLAIgC/BsgkH83Ni+NUJWIMFpoSbQaDPYdkpY1CO3ZlfqFvY="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.6.0_1703867269053_0.5151156847675393"},"_hasShrinkwrap":false},"8.6.0-next.1703867330.e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6":{"name":"get-cli-arg","version":"8.6.0-next.1703867330.e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6","license":"Artistic-2.0","description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","funding":"https://bevry.me/fund","repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"get-cli-arg","githubSlug":"bevry/get-cli-arg","npmPackageName":"get-cli-arg"}},"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"authors":["Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."],"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"}],"sponsors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"],"donors":["Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)","Armen Mkrtchian (https://mogoni.dev) (https://github.com/Armenm)","Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)","Chad (https://opencollective.com/chad8)","Codecov <hello-codecov@sentry.io> (https://codecov.io) (https://github.com/codecov)","dr.dimitru (https://veliovgroup.com) (https://github.com/dr-dimitru)","Elliott Ditman (https://elliottditman.com) (https://github.com/elliottditman)","entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)","GitHub (https://github.com/about) (https://github.com/github)","Hunter Beast (https://cryptoquick.com) (https://github.com/cryptoquick)","Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)","Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)","Michael Harry Scepaniak <mhs1.sys@gmail.com> (https://michaelscepaniak.com) (https://github.com/hispanic)","Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)","Mr. Henry <hello@mrhenry.be> (https://mrhenry.be) (https://github.com/mrhenry)","Nermal <nermalcat69@skiff.com> (https://arjunaditya.vercel.app) (https://github.com/nermalcat69)","Pleo (https://pleo.io) (https://github.com/pleo-io)","Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)","Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)","Robert de Forest <guitar.robot@gmail.com> (https://github.com/rdeforest)","Sentry (https://sentry.io) (https://github.com/getsentry)","ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)","Skunk Team (https://skunk.team) (https://github.com/skunkteam)","Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)","WriterJohnBuck (https://github.com/WriterJohnBuck)"],"engines":{"node":">=8"},"editions":[{"description":"TypeScript source code with Import for modules","directory":"source","entry":"index.ts","tags":["source","typescript","import"],"engines":false},{"description":"TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"edition-es2022","entry":"index.js","tags":["compiled","javascript","es2022","require"],"engines":{"node":"8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules","directory":"edition-es2022-esm","entry":"index.js","tags":["compiled","javascript","es2022","import"],"engines":{"node":"12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"TypeScript compiled Types with Import for modules","directory":"edition-types","entry":"index.d.ts","tags":["compiled","types","import"],"engines":false},{"description":"TypeScript source code made to be compatible with Deno","directory":"edition-deno","entry":"index.ts","tags":["typescript","import","deno"],"engines":{"deno":true,"browsers":false}}],"types":"edition-types/index.d.ts","type":"module","main":"edition-es2022/index.js","exports":{"node":{"types":"./edition-types/index.d.ts","import":"./edition-es2022-esm/index.js","require":"./edition-es2022/index.js"}},"deno":"edition-deno/index.ts","dependencies":{"normalify":"^2.30.0"},"devDependencies":{"@types/node":"^20.10.5","@typescript-eslint/eslint-plugin":"^6.16.0","@typescript-eslint/parser":"^6.16.0","assert-helpers":"^11.12.0","eslint":"^8.56.0","eslint-config-bevry":"^5.3.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.2","kava":"^7.8.0","make-deno-edition":"^2.2.0","prettier":"^3.1.1","projectz":"^4.1.1","typedoc":"^0.25.4","typescript":"5.3.3","valid-directory":"^4.8.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:deno && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types","our:compile:deno":"make-deno-edition --attempt","our:compile:edition-es2022":"tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json","our:compile:edition-es2022-esm":"tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json","our:compile:edition-types":"tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"npm run our:meta:docs:typedoc","our:meta:docs:typedoc":"rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source","our:meta:projectz":"projectz --offline","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:eslint && npm run our:verify:prettier","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./edition-es2022/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"_id":"get-cli-arg@8.6.0-next.1703867330.e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6","readme":"<!-- TITLE/ -->\n\n# get-cli-arg\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/get-cli-arg/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/get-cli-arg/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/get-cli-arg.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/get-cli-arg\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/get-cli-arg.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nGet the value of a CLI argument\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.get-cli-arg.bevry.surge.sh/docs/)\n\nSupports fetching the value of an argument with the following convention:\n\n-   `--arg` => `true`\n-   `--arg=` => `false`\n-   `--arg=\"string\"` => `\"string\"`\n-   `--arg={\"a\":1}` => `{\"a\": 1}`\n\nUses [normalify](https://github.com/bevry/normalify) for value parsing.\n\n```javascript\nimport getarg from 'get-cli-arg'\nconsole.log(getarg('arg'))\nconsole.log(getarg('arg', process.argv))\n```\n\n<!-- INSTALL/ -->\n\n## Install\n\n### [npm](https://npmjs.com \"npm is a package manager for javascript\")\n\n-   Install: `npm install --save get-cli-arg`\n-   Import: `import pkg from ('get-cli-arg')`\n-   Require: `const pkg = require('get-cli-arg').default`\n\n### [Deno](https://deno.land \"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\")\n\n``` typescript\nimport pkg from 'https://unpkg.com/get-cli-arg@^8.6.0/edition-deno/index.ts'\n```\n### [Editions](https://editions.bevry.me \"Editions are the best way to produce and consume packages you care about.\")\n\nThis package is published with the following editions:\n-   `get-cli-arg/source/index.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") source code with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `get-cli-arg` aliases `get-cli-arg/edition-es2022/index.js`\n-   `get-cli-arg/edition-es2022/index.js` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 \"ECMAScript 2022\") for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html \"Node/CJS Modules\") for modules\n-   `get-cli-arg/edition-es2022-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 \"ECMAScript 2022\") for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 12 || 14 || 16 || 18 || 20 || 21 with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `get-cli-arg/edition-types/index.d.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled Types with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `get-cli-arg/edition-deno/index.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") source code made to be compatible with [Deno](https://deno.land \"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\")\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n## History\n\n[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/get-cli-arg/blob/HEAD/HISTORY.md#files)\n\n<!-- /HISTORY -->\n\n<!-- BACKERS/ -->\n\n## Backers\n\n### Code\n\n[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/get-cli-arg/blob/HEAD/CONTRIBUTING.md#files)\n\n#### Authors\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Maintainers\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Contributors\n\n-   [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/get-cli-arg/commits?author=balupton \"View the GitHub contributions of Benjamin Lupton on repository bevry/get-cli-arg\")\n\n### Finances\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n#### Sponsors\n\n-   [Andrew Nesbitt](https://nesbitt.io) — Software engineer and researcher\n-   [Balsa](https://balsa.com) — We're Balsa, and we're building tools for builders.\n-   [Codecov](https://codecov.io) — Empower developers with tools to improve code quality and testing.\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Sentry](https://sentry.io) — Real-time crash reporting for your web apps, mobile apps, and games.\n-   [Syntax](https://syntax.fm) — Syntax Podcast\n\n#### Donors\n\n-   [Andrew Nesbitt](https://nesbitt.io)\n-   [Armen Mkrtchian](https://mogoni.dev)\n-   [Balsa](https://balsa.com)\n-   [Chad](https://opencollective.com/chad8)\n-   [Codecov](https://codecov.io)\n-   [dr.dimitru](https://veliovgroup.com)\n-   [Elliott Ditman](https://elliottditman.com)\n-   [entroniq](https://gitlab.com/entroniq)\n-   [GitHub](https://github.com/about)\n-   [Hunter Beast](https://cryptoquick.com)\n-   [Jean-Luc Geering](https://github.com/jlgeering)\n-   [Michael Duane Mooring](https://mdm.cc)\n-   [Michael Harry Scepaniak](https://michaelscepaniak.com)\n-   [Mohammed Shah](https://github.com/smashah)\n-   [Mr. Henry](https://mrhenry.be)\n-   [Nermal](https://arjunaditya.vercel.app)\n-   [Pleo](https://pleo.io)\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Robert de Forest](https://github.com/rdeforest)\n-   [Sentry](https://sentry.io)\n-   [ServieJS](https://github.com/serviejs)\n-   [Skunk Team](https://skunk.team)\n-   [Syntax](https://syntax.fm)\n-   [WriterJohnBuck](https://github.com/WriterJohnBuck)\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n## License\n\nUnless stated otherwise all works are:\n\n-   Copyright &copy; [Benjamin Lupton](https://balupton.com)\n\nand licensed under:\n\n-   [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","gitHead":"e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-eBNWVXoj40BhzCmTXsrOe57mXATXU8YkB9NKNz9cT7DU8XIVBxRsjm1151aySVVBYgOimP7J7cVsfKBoYYKjZA==","shasum":"0fc12cdd6c903dce97450745ac0b6a5dde4ab142","tarball":"https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-8.6.0-next.1703867330.e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6.tgz","fileCount":14,"unpackedSize":39005,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzjKIJLJeqD4qfd672saSHjgrqHSY5b/iw2hmhU4cLwAiBWGcXJgIMJJMG+XF71wconXZpHFzmHEVGByVivel0KVQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-cli-arg_8.6.0-next.1703867330.e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6_1703867380931_0.01383328023382946"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-10T13:16:37.558Z","1.0.0-next.1573391795.47c5221b7327d9ad8fa2031ff4805b7fb08cb37c":"2019-11-10T13:16:37.892Z","modified":"2023-12-29T16:29:41.365Z","1.0.0":"2019-11-10T13:17:58.156Z","1.0.0-next.1573392115.6793d7cbeb8379dea6ad0c33928267adf574a78b":"2019-11-10T13:21:56.538Z","1.0.0-next.1573412770.13659ce401df6864084d731ebf01eb64c1e22182":"2019-11-10T19:06:12.685Z","1.0.0-next.1573529647.61ffa3ad327f08b61ef8d01a51597bc8832489bf":"2019-11-12T03:34:09.763Z","1.0.0-next.1573529818.69224f7049c2a21da215c6f563335688096f1543":"2019-11-12T03:37:00.352Z","1.0.0-next.1573593669.d62f56ded915eaf6e27c97e5e4aa32179f081d25":"2019-11-12T21:21:10.847Z","1.0.0-next.1573597678.68a1f3c6df6fbffc1ebfab5854eb94e7bd6a8505":"2019-11-12T22:28:00.166Z","1.0.0-next.1573623113.91cb9491d673c7f9e17fdb4d381d5c1a7a7e7ff3":"2019-11-13T05:31:55.777Z","1.0.0-next.1573623199.cd4e6ab0545380c7eae341c1d7f364636fc2547b":"2019-11-13T05:33:21.186Z","1.1.0-next.1573632141.ce8367d2b3e3551b8a752808c29cb6bcdcfa48e0":"2019-11-13T08:02:23.442Z","1.1.0":"2019-11-13T08:03:48.596Z","1.1.0-next.1573741305.6a549bbf8601f960b57feb1e7e333ca5e1a51670":"2019-11-14T14:21:46.948Z","1.1.0-next.1573811403.2d53e14aa0a12af1e26d09cdc87309852a7457e1":"2019-11-15T09:50:05.752Z","2.0.0-next.1574050603.105f6cfa76c7d0ef10c3631fc3800aa6d4dba171":"2019-11-18T04:16:44.772Z","2.0.0":"2019-11-18T04:17:32.058Z","2.0.0-next.1574637853.ebc3f5c1cb1e983846f255273fa4cd5d01c9da05":"2019-11-24T23:24:15.674Z","2.0.0-next.1574638317.b8c84d2c8b3c151346bd40fe43c203f4383608c5":"2019-11-24T23:32:02.043Z","2.0.0-next.1574640396.24c67d9e8272a3a4323ca3b27be13c3172ef856d":"2019-11-25T00:06:37.904Z","2.0.0-next.1574644947.defef2385448ca58d4a00d319fcdef309a82375f":"2019-11-25T01:22:29.582Z","2.0.0-next.1574645489.8aba9fe283475b06b24ba5ac84ac041a8dad0b43":"2019-11-25T01:31:31.080Z","2.0.0-next.1574645750.e9fe9d2621b2c7dd74c18f4ae8215ffad3b8e9b2":"2019-11-25T01:35:52.372Z","2.0.0-next.1574646229.351e3cd71a4c9acebcd847c9a2060822a7ac375e":"2019-11-25T01:43:51.184Z","2.0.0-next.1574646741.588733b63d2200708454abe090c01606fa972403":"2019-11-25T01:52:33.359Z","2.0.0-next.1574646798.5018a5c2559bbbd6279c8340de5243c25e71774b":"2019-11-25T01:53:20.504Z","2.0.0-next.1574647391.7e09d372cdf554acf80ea8fea54f1c8413082848":"2019-11-25T02:03:25.871Z","2.0.0-next.1574647508.483c1eb2dd6d27338d6820d3df129b60675ecbfa":"2019-11-25T02:05:10.738Z","2.0.0-next.1574648791.ec93eb70be479281ffca01514b63868315d824ee":"2019-11-25T02:26:32.958Z","2.0.0-next.1574648877.e9c244df162c1f8844ce7a2fbeba811b5dabd22d":"2019-11-25T02:27:59.915Z","2.0.0-next.1574649681.25ef5373ab5a01d648e656e3f12bdd3b9fad7bfe":"2019-11-25T02:41:25.496Z","2.0.0-next.1574658287.58029cb1bf04e7e81811a6fc8185ce5b9a17918c":"2019-11-25T05:05:15.852Z","2.1.0-next.1575148805.c9426f6599da357aed19af5ec0938278d22316ab":"2019-11-30T21:20:07.476Z","2.1.0":"2019-11-30T21:21:06.683Z","2.2.0-next.1575175699.62824d5da0e66d244b7ab747c5ffb132a17ee9ef":"2019-12-01T04:48:20.531Z","2.2.0":"2019-12-01T04:49:44.987Z","2.3.0-next.1575882162.58b42544a02b957cecff223871a6f4ba98e8a2f3":"2019-12-09T09:02:43.227Z","2.3.0":"2019-12-09T09:04:06.357Z","2.3.0-next.1575882245.58b42544a02b957cecff223871a6f4ba98e8a2f3":"2019-12-09T09:04:22.831Z","2.3.0-next.1575882315.9260f81d322f3c07fd50910cc9531cf85ceff752":"2019-12-09T09:05:18.933Z","3.0.0-next.1576633060.24f955452cfac43e58e8568969da4697d67d94fe":"2019-12-18T01:37:42.024Z","3.0.0":"2019-12-18T01:38:32.931Z","4.2.0-next.1588726818.05fb7c8c2344a459e957b9b8a6c42693733c77ff":"2020-05-06T01:00:19.978Z","4.2.0":"2020-05-06T01:01:36.543Z","4.4.0-next.1588733171.d6b1edad264c69387cd7ce757ba787d87d15d54c":"2020-05-06T02:46:12.919Z","4.4.0-cdn.1588733180.328467373":"2020-05-06T02:46:22.625Z","4.4.0":"2020-05-06T02:47:19.406Z","4.4.0-cdn.1588733248.328467423":"2020-05-06T02:47:29.421Z","4.5.0-next.1588733765.2dd2d5331f1f644b78bc949d3fb91f5b6a369298":"2020-05-06T02:56:08.126Z","4.5.0-cdn.1588733777.328469035":"2020-05-06T02:56:19.089Z","4.5.0":"2020-05-06T02:57:11.752Z","4.5.0-cdn.1588733839.328469075":"2020-05-06T02:57:21.490Z","4.6.0-next.1588734070.6b4cf4bc12b1eacb537a8f398469bb9ebc73513a":"2020-05-06T03:01:12.007Z","4.6.0-cdn.1588734080.328470074":"2020-05-06T03:01:22.131Z","4.6.0":"2020-05-06T03:02:13.131Z","4.6.0-cdn.1588734141.328470105":"2020-05-06T03:02:22.686Z","5.0.0-next.1588761084.04467fd3d3602f34227ae2659c660780a1603df3":"2020-05-06T10:31:25.667Z","5.0.0-cdn.1588761097.328608451":"2020-05-06T10:31:39.203Z","5.0.0":"2020-05-06T10:32:27.881Z","5.0.0-cdn.1588761165.328608501":"2020-05-06T10:32:46.598Z","5.1.0-next.1589359540.a9eed1080ec57d8bbf8d3cb74299e78dd8119293":"2020-05-13T08:45:42.107Z","5.1.0":"2020-05-13T08:46:47.828Z","5.2.0-next.1590037582.1abf6cf7c6fade96b1a24a3eb8f98ee362854ef6":"2020-05-21T05:06:23.432Z","5.2.0":"2020-05-21T05:09:01.442Z","5.3.0-next.1590074065.a65b08a3e8a489badd2da11e587539d84bcbc2de":"2020-05-21T15:14:26.571Z","5.3.0":"2020-05-21T15:15:34.941Z","5.4.0-next.1591777930.f395d465032b42949ec325119f1af8c82911864c":"2020-06-10T08:32:11.858Z","5.4.0":"2020-06-10T08:33:22.025Z","5.5.0-next.1591795108.479a5df611151b36baedf452d7aeaaaac2e5d171":"2020-06-10T13:18:30.442Z","5.5.0":"2020-06-10T13:19:33.977Z","5.6.0-next.1592612646.1177cd749bce44ebed28faa31ef4644f3ee45c47":"2020-06-20T00:24:08.043Z","5.6.0":"2020-06-20T00:25:21.432Z","5.7.0-next.1592693193.7c131b31e6154141c2f29f2f6c103d2ff643893f":"2020-06-20T22:46:34.944Z","5.7.0":"2020-06-20T22:47:42.045Z","5.8.0-next.1592740138.fa399a1923b5c20b3c7a85950fd7c90bd3110395":"2020-06-21T11:48:59.873Z","5.8.0":"2020-06-21T11:50:13.603Z","6.0.0-next.1593042206.9ec964a8721203e6649d551ce85b2d349127951e":"2020-06-24T23:43:27.624Z","6.0.0":"2020-06-24T23:44:41.456Z","6.1.0-next.1593053857.e5b140734db9633b39aeddc177bac3e376f5a0a7":"2020-06-25T02:57:38.733Z","6.1.0":"2020-06-25T02:59:00.307Z","6.2.0-next.1595339959.56859f8ea98f5cbd903a50e24848200af35acad6":"2020-07-21T13:59:20.695Z","6.2.0":"2020-07-21T14:00:58.030Z","6.3.0-next.1595345250.760eff60cce2d7a7bac7a457bab8319c9c52ecf6":"2020-07-21T15:27:32.189Z","6.3.0":"2020-07-21T15:28:45.471Z","6.4.0-next.1595353743.8a84105ab310f00684ae057d560963cc670cc100":"2020-07-21T17:49:04.476Z","6.4.0":"2020-07-21T17:50:19.245Z","6.5.0-next.1596515053.ae7277d829dd09cab9c6330407c074579ecdf558":"2020-08-04T04:24:15.063Z","6.5.0":"2020-08-04T04:25:29.732Z","6.6.0-next.1597695077.645e521ec83a90a9cf1a6669e694625a7ab36aea":"2020-08-17T20:11:19.213Z","6.6.0":"2020-08-17T20:12:05.447Z","6.6.0-next.1597695156.28e13921f652970a557d74c91caf17f82ebc3ade":"2020-08-17T20:12:38.237Z","6.6.0-next.1597695214.3ac17253c4bf89da4710a7f2a563b06759e83691":"2020-08-17T20:13:35.917Z","6.6.0-next.1597695247.e674694d3bae3239d8a11de6138dd35ffbea0d2b":"2020-08-17T20:14:08.908Z","6.6.0-next.1598186218.5b6afecfbc01dc87b6ec5e0102f99a880021dfdd":"2020-08-23T12:36:59.698Z","6.6.0-next.1598187183.fef48a2fdef65a5fcb9dee6850a7535358c623da":"2020-08-23T12:53:04.529Z","6.6.0-next.1598187274.e8b547056d712190a1a0db23768b1c9125f5a226":"2020-08-23T12:54:35.694Z","6.6.0-next.1598188348.b4aa4101739a3a502cabb1030960c2a37e155f04":"2020-08-23T13:12:29.605Z","6.6.0-next.1598189492.343a88c5c310602350c0c5770ff56b3eae07284b":"2020-08-23T13:31:33.947Z","6.6.0-next.1598782301.bffcd25321dcae49a27b19612552ce28ec17ee35":"2020-08-30T10:11:43.050Z","6.6.0-next.1598783389.a416b2ba3c9f4a7a4fef51913d4ac3e1c7a424b5":"2020-08-30T10:29:50.629Z","6.6.0-next.1598783431.e64da190b9aaa25ec8bcb174af8607ed51c17319":"2020-08-30T10:30:32.851Z","6.6.0-next.1599076464.fcc5e953dc876aa72b63bd145b6f7e572a820d12":"2020-09-02T19:54:26.183Z","6.7.0-next.1599214413.5b1408870351f05fa7fe5eac618f09b69da08fd0":"2020-09-04T10:13:35.491Z","6.7.0":"2020-09-04T10:14:50.948Z","6.7.0-next.1599393846.be8bf3fb8d473c7b2447980f8c7781e17503cf3a":"2020-09-06T12:04:08.364Z","6.7.0-next.1599394788.3febbd614a285b1cccd42f97b3883d94e343db9f":"2020-09-06T12:19:49.840Z","6.7.0-next.1599395686.58080abe89193167ca02b5fd44adcc7e2f9bff57":"2020-09-06T12:34:48.434Z","6.7.0-next.1599396861.4a4b2a49e9aa3f4907417aad8b876162aab8d7aa":"2020-09-06T12:54:23.237Z","6.7.0-next.1599398130.5d708565e72f1b0c49f1f897d2177f32448442d5":"2020-09-06T13:15:32.300Z","6.7.0-next.1599988823.fdbfeb431558b1f10a093d079ecef32ff0a873bf":"2020-09-13T09:20:24.500Z","6.7.0-next.1599992997.c75dd40794518746cc07d3c79baa795f9072ef00":"2020-09-13T10:29:59.461Z","6.7.0-next.1599994804.f4df5f0f3f4f4e7a84c3a7057c5638a6a8b5a013":"2020-09-13T11:00:07.543Z","6.7.0-next.1600602660.741fc215abdf37e61b00ae4e137314bdd10f6af8":"2020-09-20T11:51:01.830Z","6.7.0-next.1600603915.77f15bc22dae595f1810be84cb9be1f450aab417":"2020-09-20T12:11:56.891Z","6.7.0-next.1600604319.d583808337d95a598ee542ed2ccb2333905c61a4":"2020-09-20T12:18:41.380Z","6.7.0-next.1600607106.97cf44c2ea39d6d80512b564ac36f77ba77042ea":"2020-09-20T13:05:07.547Z","6.7.0-next.1600607159.bfa54025da41a2bc753a984afe94e743c59bd778":"2020-09-20T13:06:01.205Z","6.7.0-next.1601208305.b9202c6c50d1becaf6d454771325fa76487fed7b":"2020-09-27T12:05:07.130Z","6.7.0-next.1601209715.2294b0fbe5f8d5aa61cb0729376ffef40ee0eb5d":"2020-09-27T12:28:37.167Z","6.7.0-next.1601210921.324cd39428b7bb58d3ad35d710f36fc8bc1a2e74":"2020-09-27T12:48:43.228Z","6.7.0-next.1601212334.eb57532c7bb585a05b6bee7f2a2b26c74f2ac882":"2020-09-27T13:12:16.258Z","6.7.0-next.1601215609.f7292d4c76328bd65dae0a5193e976046e7bbbec":"2020-09-27T14:06:51.096Z","6.7.0-next.1601798642.44f78d35b6704b16f0dea54a24ed008524ca5089":"2020-10-04T08:04:04.224Z","6.7.0-next.1601799334.beeea2296609126d9435ed8a5cd6d11827c1c04e":"2020-10-04T08:15:35.679Z","6.7.0-next.1602409871.5a94398278522a6057e3fa1e8cfe0935f03995b5":"2020-10-11T09:51:13.224Z","6.7.0-next.1602410718.df095d2f4990d059754a3960a13271012f14927c":"2020-10-11T10:05:20.053Z","6.7.0-next.1602411501.c5b3239d4ed108c89aff957ed95cf6aaedee667e":"2020-10-11T10:18:22.395Z","6.7.0-next.1603016489.c4560b3e06d15d5a30fa85163be9666f4ba3e04f":"2020-10-18T10:21:31.125Z","6.7.0-next.1603016916.6fcb9614704f8eb1569b9a4cb2274a522c47ec54":"2020-10-18T10:28:38.335Z","6.7.0-next.1603019224.49401b975073cfebe8d5de4ecb74a4e94879faa4":"2020-10-18T11:07:05.965Z","6.7.0-next.1603624729.fee80be7a9cd74ee4315c07a3112d1e95bca4ecc":"2020-10-25T11:18:51.153Z","6.7.0-next.1603625977.9d9e08c56bd4dced2dcd5002bc60b1182818684e":"2020-10-25T11:39:38.822Z","6.7.0-next.1603630710.c13ab80fb07a4f5e441a0ef88331b494f7bfa543":"2020-10-25T12:58:31.493Z","6.7.0-next.1603631889.10382d7d71c9dc48677d473b47d7f6cef2d594be":"2020-10-25T13:18:11.360Z","6.8.0-next.1603935691.276fb2308f9247000971c8c2dbfc6cbdc386b26c":"2020-10-29T01:41:32.661Z","6.8.0":"2020-10-29T01:41:42.058Z","6.8.0-next.1604236956.742773ee4e3f5479b1a5294c5858a9c1ccaa05cf":"2020-11-01T13:22:37.710Z","6.8.0-next.1604238130.aceea7e8d451bdc59527e3bd2e66afe1473fcad6":"2020-11-01T13:42:12.245Z","6.8.0-next.1604238464.4824ef10a43c5b9453679fc96fb7fd0e0d43f26c":"2020-11-01T13:47:46.042Z","6.8.0-next.1604238577.6babb143cd88e2f819cfdfb4b61416e3408c1665":"2020-11-01T13:49:38.988Z","6.8.0-next.1604239972.0e75f34ff137c4042508b5f4f6661bfc7aac62cb":"2020-11-01T14:12:54.069Z","7.0.0":"2021-06-14T04:28:08.101Z","7.0.0-next.1623645023.7166ebaf142df55112d7cb8d3667ddf96ce284d6":"2021-06-14T04:30:24.927Z","7.1.0-next.1627423360.6b81585f6e214329c722adaca1e4220a0dd4d42b":"2021-07-27T22:02:42.052Z","7.1.0":"2021-07-27T22:03:19.088Z","7.2.0-next.1627507165.908bd5c0336d99702c5db09b275b16738be96d7e":"2021-07-28T21:19:27.209Z","7.3.0-next.1627593389.c80578b85eab2ebb1cf1e259571aa864ecadd55b":"2021-07-29T21:16:31.309Z","7.3.0":"2021-07-29T21:17:34.705Z","7.4.0-next.1698807793.716c95b4e40c4be12438132d26e1912f4b988312":"2023-11-01T03:03:15.152Z","7.4.0":"2023-11-01T03:05:28.512Z","8.0.0-next.1699907015.c29b37fcd78d92461f170d84984dc68cd9daef94":"2023-11-13T20:23:37.455Z","8.0.0":"2023-11-13T20:23:50.963Z","8.1.0":"2023-11-15T05:14:17.546Z","8.1.0-next.1700025262.79a771c4f2f24470145ead0f717c26f70fc4664f":"2023-11-15T05:14:24.334Z","8.2.0-next.1700704567.827d1ea3857fc6f2c2d6a77746b2ebc6d1e53eff":"2023-11-23T01:56:08.592Z","8.2.0":"2023-11-23T01:56:23.741Z","8.3.0":"2023-11-24T17:23:11.160Z","8.3.0-next.1700846598.3a4ad0e121b4e7a4c2c4e50e6220a0d599c13b35":"2023-11-24T17:23:20.179Z","8.4.0-next.1701816868.c205fa638fcbc7e21ef476db039894a5a44fc75d":"2023-12-05T22:54:30.203Z","8.4.0":"2023-12-05T22:55:25.560Z","8.5.0-next.1703692144.1e8d239e07395447246dd9b2e14b9d60c9aae26f":"2023-12-27T15:49:06.143Z","8.5.0":"2023-12-27T15:49:45.458Z","8.6.0":"2023-12-29T16:27:49.241Z","8.6.0-next.1703867330.e2f8f8d4d15ab3069b5d14bf2faad2fd8b46a9a6":"2023-12-29T16:29:41.190Z"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"description":"Get the value of a CLI argument","homepage":"https://github.com/bevry/get-cli-arg","keywords":["arg","argument","arguments","argv","cli","deno","deno-edition","deno-entry","denoland","es2022","export-default","node","process.argv","typed","types","typescript"],"repository":{"type":"git","url":"git+https://github.com/bevry/get-cli-arg.git"},"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"}],"author":{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://balupton.com"},"bugs":{"url":"https://github.com/bevry/get-cli-arg/issues"},"license":"Artistic-2.0","readme":"","readmeFilename":""}