1. cookie-es
<!-- automd:badges bundlejs -->
cookie-es
Package: cookie-es
Created by: unjs
Last modified: Fri, 29 Mar 2024 19:53:44 GMT
Version: 1.1.0
License: MIT
Downloads: 3,796,356
Repository: https://github.com/unjs/cookie-es

Install

npm install cookie-es
yarn add cookie-es

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

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin