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

htpasswd-auth

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htpasswd-auth

authenticate with htpasswd files

latest
Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
23
4.55%
Maintainers
1
Weekly downloads
 
Created
Source

htpasswd-auth Circle CI

read/write htpasswd files

Setup

npm install --save htpasswd-auth

Checking if a password is valid

var htpasswd = require('htpasswd-auth');
var file     = fs.readFileSync('./path-to-htpasswd', 'utf-8');

htpasswd.authenticate('dickeyxxx', 'pass', file)
.then(function (auth) {
  // auth is true if the password is valid
});

Keywords

htpasswd

FAQs

Package last updated on 22 Apr 2018

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