Logo of cookie-es

cookie-es

ESM cookie serializer and deserializer

ESM build of cookie with bundled types.

Usage

Install:

# npm
npm i cookie-es

# yarn
yarn add cookie-es

Import:

// ESM
import { parse, serialize } from 'cookie-es'

// CommonJS
const { parse, serialize } = require('cookie-es')

License

MIT