npm · npm:js-cookie
js-cookie active
A simple, lightweight JavaScript API for handling cookies
The latest stable version of js-cookie is 3.0.8, published on 2026-05-29. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.0.8 |
|---|---|
| Published | 2026-05-29 10:51:39 UTC |
| Install | npm install js-cookie@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | rc: 3.0.0-rc.4 beta: 3.0.0-beta.4 latest: 3.0.8 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:51:45 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "js-cookie", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/js-cookie . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-05-29 10:51:39 UTC · 167 days ago |
| Stable releases in the last 12 months | 3 |
| Published versions | 35 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.0.8 | 2026-05-29 10:51:39 UTC |
3.0.7 | 2026-05-16 05:25:57 UTC |
3.0.6 withdrawn | 2026-05-15 13:49:43 UTC |
3.0.5 | 2023-04-24 09:23:51 UTC |
3.0.4 | 2023-04-21 18:36:22 UTC |
3.0.3 withdrawn | 2023-04-21 18:15:57 UTC |
3.0.2 withdrawn | 2023-04-21 17:15:56 UTC |
3.0.1 | 2021-09-01 10:42:30 UTC |
3.0.0 | 2021-07-26 17:02:52 UTC |
2.2.1 | 2019-08-06 13:49:13 UTC |
2.2.0 | 2017-10-28 06:04:48 UTC |
2.1.4 | 2017-04-03 11:38:34 UTC |
2.1.3 | 2016-09-02 04:42:19 UTC |
2.1.2 | 2016-05-29 06:09:00 UTC |
2.1.1 | 2016-04-16 09:31:41 UTC |
2.1.0 | 2015-12-31 11:45:26 UTC |
2.0.4 | 2015-10-17 18:15:53 UTC |
2.0.3 | 2015-07-20 01:43:17 UTC |
2.0.2 | 2015-06-27 16:49:29 UTC |
2.0.1 | 2015-06-22 15:07:22 UTC |
Showing the 20 most recent of 23 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.0.8 |
node 18 | 3.0.8 |
node 20 | 3.0.8 |
node 22 | 3.0.8 |
node 24 | 3.0.8 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of js-cookie?
The latest stable version of js-cookie is 3.0.8, published on 2026-05-29. Verified by Vigia on 2026-11-12.
How do I install the latest version of js-cookie?
Run npm install js-cookie@latest. The latest stable version is 3.0.8 (verified 2026-11-12).
Is js-cookie deprecated?
No. js-cookie is not marked as deprecated in the registry.
Which Node.js version does js-cookie require?
js-cookie 3.0.8 does not declare a Node.js version requirement.
Does js-cookie 3.0.8 have known vulnerabilities?
No known advisories affect js-cookie 3.0.8 according to the data Vigia checks.
Is js-cookie still maintained?
js-cookie published 3 stable releases in the last 12 months; the most recent was 167 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- unique-string
- @types/use-sync-external-store
- uc.micro
- detect-node
- defu
- @js-sdsl/ordered-map
- @octokit/plugin-rest-endpoint-methods
- @inquirer/prompts
- tailwindcss-animate
- boxen
- file-uri-to-path
- react-router
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/js-cookie) [](https://vigia.coredls.cloud/npm/js-cookie) [](https://vigia.coredls.cloud/npm/js-cookie)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/js-cookie
GET https://vigia.coredls.cloud/v1/packages/npm/js-cookie/versions/{version}