# marshmallows

> A drop-in Basic Auth middleware for Express

Latest version **1.0.0** (published 2018-11-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install marshmallows
pnpm add marshmallows
yarn add marshmallows
bun add marshmallows
```

## 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 | 1.0.0 |
| Published | 2018-11-29 |
| First published | 2016-09-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sparkbox |
| Maintainers | asimpson, bryanbraun, cromwellryan, dflynn15, kaseybon, myockey, patricksimpson, robtarr, sparkuser |
| Keywords | express, basic, auth |

## Links

- npm: https://www.npmjs.com/package/marshmallows
- Repository: https://github.com/sparkbox/marshmallows
- Homepage: https://github.com/sparkbox/marshmallows#readme
- Issues: https://github.com/sparkbox/marshmallows/issues
- npm.io page: https://npm.io/package/marshmallows

## Dependencies (1)

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

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-11-29
- 0.1.1 — 2016-09-19

## README

# Marshmallows

Easily add basic auth to any express app.

1. Install in your project: `npm i marshmallows --save`.
2. Require into your app. `const auth = require('marshmallows');`
3. Use for _every_ request in your app via. `app.use(auth, express.static('./dist'));`
4. Add `ENV` variables `USER` and `PASS` for credentials.
5. Run your app with `NODE_ENV=production`.

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