//cookie-esbyDamianGlowala

cookie-es

🍪 Cookie Serializer and Deserializer

0
0
0

cookie-es

npm version
npm downloads
bundle size

ESM build of cookie with bundled types.

Usage

Install:

# ✨ Auto-detect
npx nypm install cookie-es

# npm
npm install cookie-es

# yarn
yarn add cookie-es

# pnpm
pnpm install cookie-es

# bun
bun install cookie-es

Import:

undefinedESM (Node.js, Bun)

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

undefinedCommonJS (Legacy Node.js)

const { parse, serialize } = require("cookie-es");

undefinedCDN (Deno, Bun and Browsers)

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

License

MIT

[beta]v0.13.0