# api-auth

> Use couch-profiles to perform basic auth in express apps

Latest version **1.0.4** (published 2013-03-17) · BSD license · 0 weekly downloads

## Install

```sh
npm install api-auth
pnpm add api-auth
yarn add api-auth
bun add api-auth
```

## Health

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

Positive: no vulnerabilities.

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

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2013-03-17 |
| First published | 2013-03-12 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Noah Isaacson |
| Maintainers | clewfirst |
| Keywords | docparse |

## Links

- npm: https://www.npmjs.com/package/api-auth
- npm.io page: https://npm.io/package/api-auth

## Dependencies (4)

- [should](https://npm.io/package/should.md) ~1.2.2
- [bcrypt-nodejs](https://npm.io/package/bcrypt-nodejs.md) git://github.com/nisaacson/bcrypt-nodejs.git
- [couch-profile](https://npm.io/package/couch-profile.md) ~1.0.16
- [passport-http](https://npm.io/package/passport-http.md) ~0.2.1

## Recent versions

- 1.0.4 (latest) — 2013-03-17
- 1.0.2 — 2013-03-12
- 1.0.0 — 2013-03-12

## README

Use couch-profiles to perform basic auth in express apps

# Tests
First install all the dev dependencies with `npm install` and then execute
```bash
npm test
```
To run the tests you may need to first create the db and needed views. You can easily do this using the couchdb-update-views module. First navigate to the root directory of this module and execute
```bash
[sudo] npm install -g couchdb-update-views
couchdb-update-views --docsDir node_modules/couch-profile/docs --config test/config.json`
```

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