# @hapi/yar

> Cookie jar plugin for hapi

Latest version **11.0.3** (published 2025-03-22) · BSD-3-Clause license · 0 weekly downloads

## Install

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

## Health

**Score 35/100 (D)** — status: maintenance-mode.

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

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 11.0.3 |
| Published | 2025-03-22 |
| First published | 2019-04-20 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 19 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 132 |
| Maintainers | nlf, devinivy, wyatt, lloydbenson, nargonath, cjihrig, marsup |
| Keywords | hapi, plugin, cookies, jar, session |

## Links

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

## Dependencies (2)

- [@hapi/hoek](https://npm.io/package/@hapi/hoek.md) ^11.0.2
- [@hapi/statehood](https://npm.io/package/@hapi/statehood.md) ^8.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

- 11.0.3 (latest) — 2025-03-22
- 11.0.2 — 2024-03-19
- 11.0.1 — 2023-02-11
- 11.0.0 — 2022-08-29
- 10.1.1 — 2020-09-10
- 10.1.0 — 2020-03-19
- 10.0.0 — 2020-01-13
- 9.2.1 — 2019-08-15
- 9.2.0 — 2019-04-20

## README

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

# @hapi/yar

#### A hapi session manager.

**yar** 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/yar/)
- [Version status](https://hapi.dev/resources/status/#yar) (builds, dependencies, node versions, licenses, eol)
- [Changelog](https://hapi.dev/family/yar/changelog/)
- [Project policies](https://hapi.dev/policies/)
- [Free and commercial support options](https://hapi.dev/support/)

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