Socket
Book a DemoInstallSign in
Socket

cookie-es

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookie-es

<!-- automd:badges bundlejs packagephobia codecov -->

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
3.4M
2.91%
Maintainers
1
Weekly downloads
 
Created
Source

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).

FAQs

Package last updated on 27 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.