Socket
Socket
Sign inDemoInstall

basic-auth-parser

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    basic-auth-parser

Parse Basic Auth `Authorization` HTTP headers


Version published
Weekly downloads
84K
increased by12.31%
Maintainers
1
Install size
3.82 kB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 21 Oct 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc