# @hapi/cookie

> Cookie authentication plugin

Latest version **12.0.1** (published 2023-02-11) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @hapi/cookie
pnpm add @hapi/cookie
yarn add @hapi/cookie
bun add @hapi/cookie
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 12.0.1 |
| Published | 2023-02-11 |
| First published | 2019-04-19 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/hapi__cookie) |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 10.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 229 |
| Maintainers | cjihrig, marsup, nlf, devinivy, wyatt, lloydbenson, nargonath |
| Keywords | hapi, plugin, auth, cookie, session |

## Links

- npm: https://www.npmjs.com/package/@hapi/cookie
- Repository: https://github.com/hapijs/cookie
- Homepage: https://github.com/hapijs/cookie#readme
- Issues: https://github.com/hapijs/cookie/issues
- npm.io page: https://npm.io/package/@hapi/cookie

## Dependencies (4)

- [@hapi/boom](https://npm.io/package/@hapi/boom.md) ^10.0.1
- [@hapi/hoek](https://npm.io/package/@hapi/hoek.md) ^11.0.2
- [@hapi/bounce](https://npm.io/package/@hapi/bounce.md) ^3.0.1
- [@hapi/validate](https://npm.io/package/@hapi/validate.md) ^2.0.1

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

- 12.0.1 (latest) — 2023-02-11
- 12.0.0 — 2022-10-17
- 11.0.2 — 2020-09-26
- 11.0.1 — 2020-03-13
- 11.0.0 — 2020-01-10
- 10.1.2 — 2019-09-12
- 10.1.1 — 2019-08-14
- 10.1.0 — 2019-04-19

## README

<a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>

# @hapi/cookie

#### Cookie authentication plugin.

**cookie** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) – they work even better together.

### Visit the [hapi.dev](https://hapi.dev) Developer Portal for tutorials, documentation, and support

## Useful resources

- [Documentation and API](https://hapi.dev/family/cookie/)
- [Versions status](https://hapi.dev/resources/status/#cookie) (builds, dependencies, node versions, licenses, eol)
- [Changelog](https://hapi.dev/family/cookie/changelog/)
- [Project policies](https://hapi.dev/policies/)
- [Free and commercial support options](https://hapi.dev/support/)

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