node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

hedge

hedge

Basic access authentication (basic auth) middleware for Node.js

Usage

Hedge follows the standard (req, res, next) middleware contract so it should work with stack, express, connect, http-proxy, etc.

See https://github.com/gsf/basic-auth-proxy-server for an example.