@dylan/basicauth

0.1.0 • Public • Published

BasicAuth

Middleware for Dylan which provides a simple basicauth login prompt on requests.

Install

npm install @dylan/basicauth

Usage

const basicauth = require('@dylan/basicauth');

app.use(basicauth({
  user: 'John Calvin',
  password: 'WCF'
}));

Readme

Keywords

Package Sidebar

Install

npm i @dylan/basicauth

Weekly Downloads

41

Version

0.1.0

License

MIT

Unpacked Size

2.1 kB

Total Files

4

Last publish

Collaborators

  • steadymade
  • shanebo