{"library":"es-cookie","type":"library","category":null,"description":"es-cookie is a lightweight, dependency-free JavaScript module designed for managing browser cookies, adhering to RFC 6265 specifications. It provides a simple, type-safe API for setting, getting, removing, and parsing cookies. The library is written in TypeScript and ships with native ES module definitions, making it well-suited for modern web development. The current stable version is 1.5.0, with recent updates including support for experimental `partitioned` cookies and fixes for cookie expiration handling. While originally inspired by `js-cookie`, es-cookie differentiates itself through its TypeScript rewrite, lean API, and explicit focus on ES module distribution, ensuring a modern, tree-shakable approach to cookie management without relying on external packages.","language":"javascript","status":"active","version":"1.5.0","tags":["javascript","cookies","typescript","module"],"last_verified":"Wed May 27","install":[{"cmd":"npm install es-cookie","imports":["import * as Cookies from 'es-cookie';","import { set, get, remove } from 'es-cookie';","import type { CookieAttributes } from 'es-cookie';"]},{"cmd":"yarn add es-cookie","imports":[]},{"cmd":"pnpm add es-cookie","imports":[]}],"homepage":null,"github":"https://github.com/theodorejb/es-cookie","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/es-cookie","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/es-cookie/compatibility"}}