# hawk

> HTTP Hawk Authentication Scheme

Latest version **9.0.2** (published 2024-04-02) · BSD-3-Clause license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 9.0.2 |
| Published | 2024-04-02 |
| First published | 2012-11-24 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/hawk) |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 38.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1938 |
| Maintainers | jwhitlock, bsieber, pmoore, taskcluster-bot, nargonath, devinivy, marsup, nlf |
| Keywords | http, authentication, scheme, hawk |

## Links

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

## Dependencies (4)

- [@hapi/b64](https://npm.io/package/@hapi/b64.md) 5.x.x
- [@hapi/boom](https://npm.io/package/@hapi/boom.md) 9.x.x
- [@hapi/hoek](https://npm.io/package/@hapi/hoek.md) 9.x.x
- [@hapi/cryptiles](https://npm.io/package/@hapi/cryptiles.md) 5.x.x

## 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

- 9.0.2 (latest) — 2024-04-02
- 3.1.2 (node10) — 2015-11-19
- 9.0.1 — 2022-05-03
- 9.0.0 — 2020-12-11
- 8.0.1 — 2020-10-22
- 8.0.0 — 2020-10-22
- 7.1.2 — 2020-10-22
- 7.1.1 — 2020-10-22
- 7.1.0 — 2020-10-22
- 7.0.10 — 2018-11-03
- 7.0.9 — 2018-11-03
- 7.0.7 — 2018-02-08
- 7.0.6 — 2018-01-07
- 7.0.5 — 2017-11-03
- 7.0.4 — 2017-11-03
- … 70 more at https://npm.io/package/hawk/versions

## README

# hawk

#### HTTP Holder-Of-Key Authentication Scheme.

Documentation of the protocol, and the JS API, is in https://github.com/mozilla/hawk/blob/main/API.md.

## Ownership Changes

This was once `hueniverse/hawk` and relased as `hawk`.
Then, after the 7.0.10 release, it was moved to the `hapijs/hawk` repository and released as `@hapi/hawk`.
Hapi later de-supported the library, after releasing version 8.0.0.
It has since been moved to `mozilla/hawk` and is again released as `hawk`.
All of the intermediate versions are also relased as `hawk`.

Changes are represented in GitHub releases on this repository.

Mozilla maintains several Hawk implementations in different langauages, so it is likely to stay at Mozilla for some time.

This library is in "maintenance mode" -- no features will be added, and only security-related bugfixes will be applied.

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