New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

redact-basic-auth

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redact-basic-auth

Redact basic auth details from URLs.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
5.3K
259.83%
Maintainers
1
Weekly downloads
 
Created
Source

Install

yarn add redact-basic-auth
npm install redact-basic-auth

Use

const redact = require('redact-basic-auth');

const url = 'http://username:password@example.com/some/path';

const redactedUrl = redact(url);

FAQs

Package last updated on 05 Nov 2019

Did you know?

Socket

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