2.0.0 • Published 11 months ago

cookie-es v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

🍪 cookie-es

npm version npm downloads bundle size install size codecov

ESM ready Cookie and Set-Cookie parser and serializer based on cookie and set-cookie-parser with built-in types.

Usage

Install:

# ✨ Auto-detect (npm, yarn, pnpm, bun, deno)
npx nypm install cookie-es

Import:

ESM (Node.js, Bun, Deno)

import {
  parse,
  serialize,
  parseSetCookie,
  splitSetCookieString,
} from "cookie-es";

CDN (Deno, Bun and Browsers)

import {
  parse,
  serialize,
  parseSetCookie,
  splitSetCookieString,
} from "https://esm.sh/cookie-es";

License

MIT

Based on jshttp/cookie (Roman Shtylman and hristopher Wilson) and nfriedly/set-cookie-parser (Nathan Friedly).

2.0.0

11 months ago

1.2.2

2 years ago

1.2.0

2 years ago

1.2.1

2 years ago

1.1.0

2 years ago

1.0.0

3 years ago

0.5.0

4 years ago

0.0.0

4 years ago