# js-cookie/js-cookie

> Small JavaScript API for reading and writing browser cookies, with no dependencies

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/js-cookie/js-cookie
- HTML: https://awesomeopensource.dev/project/js-cookie-js-cookie
- License: MIT
- Language: JavaScript
- stars: 22564
- Topics: cookie, javascript
- Activity score: 4.3/5 (Active)
- Last commit (any branch): 2026-11-09
- Last release: v3.0.8 2026-05-29

## Description

js-cookie is a client-side JavaScript library for creating, reading and deleting cookies with a minimal API that accepts any character and works across old and new browsers. It handles expiry, paths, domains and the SameSite and secure attributes, and allows custom encoding and decoding. The library has no dependencies, ships ES and UMD builds and weighs under 800 bytes gzipped.

## Maintenance activity

- Recency: 97% (weight 40%) — last commit: 4 days ago
- Commit volume: 100% (weight 25%)
- Releases: 54% (weight 25%) — last release: 168 days ago
- Bug fixes: 54% (weight 10%)
- Commits: 17 / 90d, 148 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
