[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/2024-10-02 08:35 -  
[   ]LICENSE2024-10-02 08:35 1.1K 
[TXT]README.md2024-10-02 08:35 1.0K 
[   ]package.json2024-10-02 08:35 1.1K 

# cookie-es

<!-- automd:badges bundlejs -->

[![npm version](https://img.shields.io/npm/v/cookie-es)](https://npmjs.com/package/cookie-es)
[![npm downloads](https://img.shields.io/npm/dm/cookie-es)](https://npmjs.com/package/cookie-es)
[![bundle size](https://img.shields.io/bundlejs/size/cookie-es)](https://bundlejs.com/?q=cookie-es)

<!-- /automd -->

ESM build of [cookie](https://www.npmjs.com/package/cookie) with bundled types.

## Usage

Install:

<!-- automd:pm-install -->

```sh
# ✨ 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
```

<!-- /automd-->

Import:


<!-- automd:jsimport cdn cjs src=./src/index.ts -->

**ESM** (Node.js, Bun)

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

**CommonJS** (Legacy Node.js)

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

**CDN** (Deno, Bun and Browsers)

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

<!-- /automd -->


## License

[MIT](./LICENSE)