lws-basic-auth
Version:
Password-protect a server using Basic Authentication
22 lines (15 loc) • 1.04 kB
Markdown
[](https://www.npmjs.org/package/lws-basic-auth)
[](https://www.npmjs.org/package/lws-basic-auth)
[](https://travis-ci.org/lwsjs/basic-auth)
[](https://david-dm.org/lwsjs/basic-auth)
[](https://coveralls.io/github/lwsjs/basic-auth)
[](https://github.com/feross/standard)
# lws-basic-auth
A lws middleware plugin to password-protect a server using Basic Authentication.
Adds the following options to lws.
```
--auth.user string Basic authentication username
--auth.pass string Basic authentication password
```
* * *
© 2017-20 Lloyd Brookes \<75pound@gmail.com\>.