cookie-es
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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:

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";

License

MIT

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i cookie-es

    Weekly Downloads

    782,637

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    33.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • pi0