{"name":"@pkgjs/parseargs","dist-tags":{"latest":"0.11.0"},"versions":{"0.11.0":{"name":"@pkgjs/parseargs","version":"0.11.0","description":"Polyfill of future proposal for `util.parseArgs()`","engines":{"node":">=14"},"main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"coverage":"c8 --check-coverage tape 'test/*.js'","test":"c8 tape 'test/*.js'","posttest":"eslint .","fix":"npm run posttest -- --fix"},"repository":{"type":"git","url":"git+ssh://git@github.com/pkgjs/parseargs.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/pkgjs/parseargs/issues"},"devDependencies":{"c8":"^7.10.0","eslint":"^8.2.0","eslint-plugin-node-core":"github:iansu/eslint-plugin-node-core","tape":"^5.2.2"},"gitHead":"1e3a94a5f8fd42e7b56ac4a672adcb224ee3c9ff","_id":"@pkgjs/parseargs@0.11.0","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==","shasum":"a77ea742fab25775145434eb1d2328cf5013ac33","tarball":"http://localhost:4260/@pkgjs/parseargs/parseargs-0.11.0.tgz","fileCount":17,"unpackedSize":74173,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvG/+saUhufCRZDSAMyqIZHb0x4c7N/gUvaev0PjFqHQIhAP3fAOwBeiw8NWaXAwTHTxmCZ5hxLTuFeTKtFBuLZrUz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRCnEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxPw//dpGdahKANuMATGuciM2D4V7hb2Xqh0j+fxQ6/f2YX9aVpciE\r\nthUd8xPNqjUY0XmJsVLT+6fyLMDuZQp5rujRujWSaYqP/wg8bf17iwKdPPEH\r\n9u8q3cBy8nZZ1/JGRoz5Tc4oH6BKIy35Grl7W2eyFBORHHfzGmqQ4xVXM67H\r\nA0kuU6fZmMzZ1wajInzTdRBFDtjFEzuFhd/86Izk1kXhPOosj6xPn2QgBkD0\r\n9q7+Hfw6sY4GJ4ZWAHBORZ4iMATPUWN5w0YcFUozkFFtSlBCDAUsjCHJMsII\r\naWSgySSTIsXLDxqTTeG27umBfJ22TxxC4zh8wNM0rbAXMFmJv7Sa3w0U27aY\r\nN6P+4B77iMeBYi9rpz4QdQiQrymC4DhH3nA1UQSmAXbxYlqVNLTs4vnLgq2l\r\nV9qCxnJoPfuE4KWgVlpnluoII3RtYdzwRLAtKdeGpyMMmCvi8TyrWxLbH2Xs\r\n3Sg96U0LEtriD6RBwat870K2nfmDj3jTtLqZQPmcuXq7DLv7K5UmLDimQXDq\r\nwLq86PmPPsiPevflOjTrXUGhZh0NwCB5VyXOHDuLsAtmz2lqm8psdhya/XKA\r\nBquEVg30l7bP/Y1+fTTQWXzmJDcCeSDH7Xnez2wGYaYxJWeaUGOMmzjz9CKE\r\n6e0EV7qjDa8wUCxk84OCu8C0zsqpHeSp+XY=\r\n=vsby\r\n-----END PGP SIGNATURE-----\r\n"},"directories":{},"_hasShrinkwrap":false}},"description":"Polyfill of future proposal for `util.parseArgs()`","homepage":"https://github.com/pkgjs/parseargs#readme","repository":{"type":"git","url":"git+ssh://git@github.com/pkgjs/parseargs.git"},"bugs":{"url":"https://github.com/pkgjs/parseargs/issues"},"license":"MIT","readme":"<!--omitintoc-->\n#parseArgs\n\n[![Coverage][coverage-image]][coverage-url]\n\nPolyfillof`util.parseArgs()`\n\n##`util.parseArgs([config])`\n\n<!--YAML\nadded:v18.3.0\nchanges:\n-version:REPLACEME\npr-url:https://github.com/nodejs/node/pull/43459\n description: add support for returning detailed parse information\n using `tokens` in input `config` and returned properties.\n-->\n\n> Stability: 1 - Experimental\n\n* `config` {Object} Used to provide arguments for parsing and to configure\n the parser. `config` supports the following properties:\n * `args` {string\\[]} array of argument strings. **Default:** `process.argv`\n with `execPath` and `filename` removed.\n * `options` {Object} Used to describe arguments known to the parser.\n Keys of `options` are the long names of options and values are an\n {Object} accepting the following properties:\n * `type` {string} Type of argument, which must be either `boolean` or `string`.\n * `multiple` {boolean} Whether this option can be provided multiple\n times. If `true`, all values will be collected in an array. If\n `false`, values for the option are last-wins. **Default:** `false`.\n * `short` {string} A single character alias for the option.\n * `default` {string | boolean | string\\[] | boolean\\[]} The default option\n value when it is not set by args. It must be of the same type as the\n the `type` p