hedge

Basic access authentication (basic auth) middleware

hedge

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

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.