![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | dist/ | a year ago | - | |
![]() | LICENSE | a year ago | 1.1K | |
![]() | README.md | a year ago | 1.0K | 595aea1 more query options + view options [كارل مبارك] |
![]() | package.json | a year ago | 1.1K | afd0ccc remove unused [كارل مبارك] |
ESM build of cookie with bundled types.
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:
ESM (Node.js, Bun)
import { parse, serialize } from "cookie-es";
CommonJS (Legacy Node.js)
const { parse, serialize } = require("cookie-es");
CDN (Deno, Bun and Browsers)
import { parse, serialize } from "https://esm.sh/cookie-es";