basic-auth-parser
Parse Basic Auth `Authorization` HTTP headers
Last updated 14 years ago by mmalecki .
Original npm · Tarball · package.json
$ npm install basic-auth-parser 
SYNC missed versions from official npm registry.

basic-auth-parser Build Status

basic-auth-parser parses Basic Auth Authorization HTTP headers.

Installation

npm install basic-auth-parser

Usage

var basicAuthParser = require('./');
console.dir(basicAuthParser('Basic YWRtaW46cGFzc3dvcmQ='));

Output:

{ scheme: 'Basic', username: 'admin', password: 'password' }

Current Tags

  • 0.0.2-1                                ...           latest (5 years ago)

4 Versions

  • 0.0.2-1                                ...           5 years ago
  • 0.0.2                                ...           14 years ago
  • 0.0.1                                ...           14 years ago
  • 0.0.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 10
Today 0
This Week 0
This Month 10
Last Day 0
Last Week 6
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE