# lws-basic-auth

> Password-protect a server using Basic Authentication

Latest version **2.0.0** (published 2020-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install lws-basic-auth
pnpm add lws-basic-auth
yarn add lws-basic-auth
bun add lws-basic-auth
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-02-09 |
| First published | 2017-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Lloyd Brookes |
| Maintainers | 75lb |
| Keywords | lws, lws-middleware, local-web-server, web |

## Links

- npm: https://www.npmjs.com/package/lws-basic-auth
- Repository: https://github.com/lwsjs/basic-auth
- Homepage: https://github.com/lwsjs/basic-auth#readme
- Issues: https://github.com/lwsjs/basic-auth/issues
- npm.io page: https://npm.io/package/lws-basic-auth

## Dependencies (1)

- [basic-auth](https://npm.io/package/basic-auth.md) ^2.0.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2020-02-09
- 1.0.3 — 2019-06-09
- 1.0.2 — 2019-06-03
- 1.0.1 — 2019-05-27
- 1.0.0 — 2019-05-27
- 0.1.1 — 2017-07-12
- 0.1.0 — 2017-07-12

## README

[![view on npm](https://img.shields.io/npm/v/lws-basic-auth.svg)](https://www.npmjs.org/package/lws-basic-auth)
[![npm module downloads](https://img.shields.io/npm/dt/lws-basic-auth.svg)](https://www.npmjs.org/package/lws-basic-auth)
[![Build Status](https://travis-ci.org/lwsjs/basic-auth.svg?branch=master)](https://travis-ci.org/lwsjs/basic-auth)
[![Dependency Status](https://badgen.net/david/dep/lwsjs/basic-auth)](https://david-dm.org/lwsjs/basic-auth)
[![Coverage Status](https://coveralls.io/repos/github/lwsjs/basic-auth/badge.svg)](https://coveralls.io/github/lwsjs/basic-auth)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](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
```

* * *

&copy; 2017-20 Lloyd Brookes \<75pound@gmail.com\>.

---
_Source: https://npm.io/package/lws-basic-auth · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
