# @edge-runtime/cookies

> Cookie helpers compatible with Edge Runtime

Latest version **6.0.0** (published 2024-12-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @edge-runtime/cookies
pnpm add @edge-runtime/cookies
yarn add @edge-runtime/cookies
bun add @edge-runtime/cookies
```

## Health

**Score 50/100 (C)** — status: stable.

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

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2024-12-02 |
| First published | 2022-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 41.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 915 |
| Maintainers | kikobeats |
| Keywords | cookie, cookies, edge, edge-runtime, functions, runtime, set-cookie, standard, web |

## Links

- npm: https://www.npmjs.com/package/@edge-runtime/cookies
- Repository: https://github.com/vercel/edge-runtime
- Homepage: https://edge-runtime.vercel.app/packages/cookies
- Issues: https://github.com/vercel/edge-runtime/issues
- npm.io page: https://npm.io/package/@edge-runtime/cookies

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 6.0.0 (latest) — 2024-12-02
- 3.2.0-beta.1 (beta) — 2023-05-25
- 5.0.2 — 2024-11-06
- 5.0.1 — 2024-10-21
- 5.0.0 — 2024-07-07
- 4.1.1 — 2024-03-22
- 4.1.0 — 2024-03-05
- 4.0.3 — 2024-01-23
- 4.0.2 — 2023-10-18
- 4.0.1 — 2023-10-15
- 4.0.0 — 2023-09-11
- 3.4.1 — 2023-09-05
- 3.4.0 — 2023-08-23
- 3.3.0 — 2023-08-16
- 3.2.3 — 2023-08-03
- … 21 more at https://npm.io/package/@edge-runtime/cookies/versions

## README

<div align="center">
  <br>
  <img src="https://user-images.githubusercontent.com/2096101/235130063-e561514e-1f66-4ff6-9034-70dbf7ca3260.png#gh-dark-mode-only">
  <img src="https://user-images.githubusercontent.com/2096101/235127419-ac6fe609-d0cd-4339-a593-c48305a83823.png#gh-light-mode-only">
  <br>
  <br>
  <p align="center"><strong>@edge-runtime/cookies</strong>: An Edge Runtime compatible cookie helpers.</p>
  <p align="center">See <a href="https://edge-runtime.vercel.app/packages/cookies" target='_blank' rel='noopener noreferrer'>@edge-runtime/cookies</a> section in our <a href="https://edge-runtime.vercel.app/" target='_blank' rel='noopener noreferrer'>website</a> for more information.</p>
  <br>
</div>

## Install

Using npm:

```sh
npm install @edge-runtime/cookies --save
```

or using yarn:

```sh
yarn add @edge-runtime/cookies --dev
```

or using pnpm:

```sh
pnpm install @edge-runtime/cookies --save
```

## License

**@edge-runtime/cookies** © [Vercel](https://vercel.com), released under the [MPLv2](https://github.com/vercel/edge-runtime/blob/main/LICENSE.md) License.<br>
Authored and maintained by [Vercel](https://vercel.com) with help from [contributors](https://github.com/vercel/edge-runtime/contributors).

> [vercel.com](https://vercel.com) · GitHub [Vercel](https://github.com/vercel) · Twitter [@vercel](https://twitter.com/vercel)

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