{"_id":"basic-auth-parser","_rev":"1699221","name":"basic-auth-parser","description":"Parse Basic Auth `Authorization` HTTP headers","dist-tags":{"latest":"0.0.2-1"},"maintainers":[{"name":"mmalecki","email":"me@mmalecki.com"}],"time":{"modified":"2026-11-08T05:44:30.000Z","created":"2012-06-05T22:12:38.885Z","0.0.2-1":"2021-10-21T17:01:44.824Z","0.0.2":"2012-10-09T18:10:19.359Z","0.0.1":"2012-07-23T22:30:43.107Z","0.0.0":"2012-06-05T22:12:38.885Z"},"users":{"fgribreau":true,"ceejbot":true,"rocket0191":true},"author":{"name":"Maciej Małecki","email":"me@mmalecki.com"},"repository":{"type":"git","url":"git+https://github.com/mmalecki/basic-auth-parser.git"},"versions":{"0.0.2-1":{"name":"basic-auth-parser","description":"Parse Basic Auth `Authorization` HTTP headers","author":{"name":"Maciej Małecki","email":"me@mmalecki.com"},"version":"0.0.2-1","repository":{"type":"git","url":"git+https://github.com/mmalecki/basic-auth-parser.git"},"main":"./lib/basic-auth-parser.js","scripts":{"test":"node test/basic-auth-parser-test.js"},"gitHead":"254054d591473cf5d8964b6e7dce762d7136a6a7","bugs":{"url":"https://github.com/mmalecki/basic-auth-parser/issues"},"homepage":"https://github.com/mmalecki/basic-auth-parser#readme","_id":"basic-auth-parser@0.0.2-1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-GFj8iVxo9onSU6BnnQvVwqvxh60UcSHJEDnIk3z4B6iOjsKSmqe+ibW0Rsz7YO7IE1HG3D3tqCNIidP46SZVdQ==","shasum":"f1ea575979b27af6a411921d6ff8793d9117347f","tarball":"http://registry-npm.ywwl.com/basic-auth-parser/download/basic-auth-parser-0.0.2-1.tgz","fileCount":6,"unpackedSize":2875,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2kdyCRA9TVsSAnZWagAA1NwP+wR6MlqhYjSw3YsPd3A6\n+/e1cnC1t2oJMd6ryCyo993ZuMVbZy2iqAW/MpmfwmImUOo362K0h4s1+6Pg\n7UQdGXTm8PsO0RkvLxXIElM7vbvXbKDcnp/U1wId5LqwKkex9BciLcGC72gL\nFhkh67XmT+a+bXUiIxSyHiYEN/C5uiZ0yv44dQ00ZUBWH5W6tq66XUjSzJO0\nngSp/tJ085aMzvUOPM/2FU+QFZ2IyYo6LkgsH9rtDCb01YtBKYVacvXUwyqC\nyOgIAFMZqT/Qf2csJerKoGy8eIUG5s8lF2wM712aVJjEbboBZm2YZ78TRaSp\nx2iWCepn4deQR3EviWm2HSox0Uxta4113HpOHgq5+dGjR6A2p7Oi5CR/5e0e\nhC5psRmwjIv1Bw9tpCTiX8U5DBUuMcEHh9lFru3Eypd62K17E/mSCn0HXI1o\nGt+ibi8sjRu37lfybcnVW2FgjrK3fyr6o9IYvQKY5bp+8Sn189xUAKO1XtEu\nnZ3ZiEkAvZBCKxngKzT78Eh9H9jMkKY9hzeQP5BPBfIWDhjCsOwLS3ZKOl4+\nqOk3MjEKAad+Lr2eZ4WL3ML4rY0QEQCPOLw4wIiGxWx69dSFtAIOkX96TNPG\nx3cXSk+dF8aBASwuzgL+tzn6lTA1somfe2lQG7dVeaWUN+YLEu/WReGT1zoC\nvenQ\r\n=A85Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0m36tECHwWQ5fYpB4KjzjYr0VgPD4hUbdK+SsyyJ6OAiEAyzWvD8vSzIHVPWJdAMIKTehMpKE1UFwAohpPKXp+s1s="}],"size":1664,"noattachment":false,"key":"/basic-auth-parser/-/basic-auth-parser-0.0.2-1.tgz"},"_npmUser":{"name":"mmalecki","email":"me@mmalecki.com"},"directories":{},"maintainers":[{"name":"mmalecki","email":"me@mmalecki.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/basic-auth-parser_0.0.2-1_1634835704690_0.19283906913616589"},"_hasShrinkwrap":false,"publish_time":1634835704824,"_cnpm_publish_time":1634835704824},"0.0.2":{"name":"basic-auth-parser","description":"Parse Basic Auth `Authorization` HTTP headers","author":{"name":"Maciej Małecki","email":"me@mmalecki.com"},"version":"0.0.2","main":"./lib/basic-auth-parser.js","devDependencies":{"vows":"0.6.x"},"scripts":{"test":"vows --spec"},"_id":"basic-auth-parser@0.0.2","dist":{"shasum":"ce9e71a77f23c1279eecd2659b2a46244c156e41","tarball":"http://registry-npm.ywwl.com/basic-auth-parser/download/basic-auth-parser-0.0.2.tgz","integrity":"sha512-Y7OBvWn+JnW45JWHLY6ybYub2k9cXCMrtCyO1Hds2s6eqClqWhPnOQpgXUPjAiMHj+A8TEPIQQ1dYENnJoBOHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+0nKLYD+H2/m0VfBJL+REu+aZr93FYqBSsBBvth95/gIgXcWi5usNEnBk4u61BF3h9o/HGWTqgpUqz+k/nC0/kwc="}],"size":1895,"noattachment":false,"key":"/basic-auth-parser/-/basic-auth-parser-0.0.2.tgz"},"maintainers":[{"name":"mmalecki","email":"me@mmalecki.com"}],"directories":{},"publish_time":1349806219359,"_cnpm_publish_time":1349806219359},"0.0.1":{"name":"basic-auth-parser","description":"Parse Basic Auth `Authorization` HTTP headers","author":{"name":"Maciej Małecki","email":"me@mmalecki.com"},"version":"0.0.1","main":"./lib/basic-auth-parser.js","devDependencies":{"vows":"0.6.x"},"scripts":{"test":"vows --spec"},"_id":"basic-auth-parser@0.0.1","dist":{"shasum":"20b98aa9a383bac8b02ad9139018164277c99f87","tarball":"http://registry-npm.ywwl.com/basic-auth-parser/download/basic-auth-parser-0.0.1.tgz","integrity":"sha512-uPmZ9fIaUFlDzQOeusNq6pUpnDzJSihCiNrjBLbeLl47BXE2Eqe/bwJDY3p0prqsZ6whF+E+XhdJ1ChlyoYEcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTIRV1nAxhwlqHN+/ZMTNsK6M/FTtly19pQW6RBhEl2AiB2oZwS9I8lP8X+sP5+dAAKtcCnSL3O8nXo/9Fa7Sv+4Q=="}],"size":1869,"noattachment":false,"key":"/basic-auth-parser/-/basic-auth-parser-0.0.1.tgz"},"maintainers":[{"name":"mmalecki","email":"me@mmalecki.com"}],"directories":{},"publish_time":1343082643107,"_cnpm_publish_time":1343082643107},"0.0.0":{"name":"basic-auth-parser","description":"Parse Basic Auth `Authorization` HTTP headers","author":{"name":"Maciej Małecki","email":"me@mmalecki.com"},"version":"0.0.0","main":"./lib/basic-auth-parser.js","devDependencies":{"vows":"0.6.x"},"scripts":{"test":"vows --spec"},"_npmUser":{"name":"mmalecki","email":"me@mmalecki.com"},"_id":"basic-auth-parser@0.0.0","dependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.23","_nodeVersion":"v0.7.9-pre","_defaultsLoaded":true,"dist":{"shasum":"cb6bedb0e19bc9f0e519a6ea1cb629c910e751b8","tarball":"http://registry-npm.ywwl.com/basic-auth-parser/download/basic-auth-parser-0.0.0.tgz","integrity":"sha512-Wju2Hr/xmOA/0bTRoTyl7YOFIqnkvaMZBOF25xERhg9yit3ghybtO2vWiv58k87dSeL9cq8Q0a9uE4kvZN2s7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtKJm/0aLGn8dtnRKSlxXfkOFdVQG0euNR7TYPRcVZsAiEAtdYuX+8nGQwIsqbwjNAxlqAfkndca7qHJBQlBBWGx4E="}],"size":1766,"noattachment":false,"key":"/basic-auth-parser/-/basic-auth-parser-0.0.0.tgz"},"maintainers":[{"name":"mmalecki","email":"me@mmalecki.com"}],"directories":{},"publish_time":1338934358885,"_cnpm_publish_time":1338934358885}},"readme":"# basic-auth-parser [![Build Status](https://secure.travis-ci.org/mmalecki/basic-auth-parser.png)](http://travis-ci.org/mmalecki/basic-auth-parser)\n`basic-auth-parser` parses Basic Auth `Authorization` HTTP headers.\n\n## Installation\n\n    npm install basic-auth-parser\n\n## Usage\n```js\nvar basicAuthParser = require('./');\nconsole.dir(basicAuthParser('Basic YWRtaW46cGFzc3dvcmQ='));\n```\n\nOutput:\n```\n{ scheme: 'Basic', username: 'admin', password: 'password' }\n```\n","_attachments":{},"homepage":"https://github.com/mmalecki/basic-auth-parser#readme","bugs":{"url":"https://github.com/mmalecki/basic-auth-parser/issues"}}