basic-auth-parser

0.0.2-1 • Public • Published

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' }

Readme

Keywords

none

Package Sidebar

Install

npm i basic-auth-parser

Weekly Downloads

51,131

Version

0.0.2-1

License

none

Unpacked Size

2.88 kB

Total Files

6

Last publish

Collaborators

  • mmalecki