Socket
Book a DemoInstallSign in
Socket

node-basicauth

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-basicauth

Basic Auth Middleware for Express

0.0.9
latest
Source
npmnpm
Version published
Weekly downloads
28
16.67%
Maintainers
1
Weekly downloads
 
Created
Source

Basic Auth Middleware for Express

Download

The source is available for download from GitHub. Alternatively, you can install using Node Package Manager (npm):

npm install node-basicauth

Example

app = express()
basicAuth = require 'node-basicauth'

// you can add as many usernames and passwords as you want
app.use(basicAuth({
	'username1' : 'password1'
	'username2' : 'password2'
}))

Development

Dependencies

This command needs to be ran first if CoffeeScript is not installed on your system

  • run sudo npm install -g coffee-script

Setup

Install all of the dependencies

  • run npm install

The following command will watch and compile Coffeescript

  • run gulp

Keywords

basic

FAQs

Package last updated on 06 Jun 2014

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.