npm · npm:comment-json
comment-json active
Parse and stringify JSON with comments. It will retain comments even after saved!
The latest stable version of comment-json is 5.0.0, published on 2026-04-12. Verified by Vigia on 2026-11-12.
| Latest stable version | 5.0.0 |
|---|---|
| Published | 2026-04-12 02:36:16 UTC |
| Install | npm install comment-json@latest |
| Requires (engines) | {"node":">= 6"} |
| Peer dependencies | — |
| Dist-tags | latest: 5.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 14:03:03 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 "comment-json", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/comment-json . 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 | slowing down |
|---|---|
| Last stable release | 2026-04-12 02:36:16 UTC · 214 days ago |
| Stable releases in the last 12 months | 6 |
| Published versions | 64 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
5.0.0 | 2026-04-12 02:36:16 UTC |
4.6.2 | 2026-03-03 07:12:41 UTC |
4.6.1 | 2026-03-02 07:23:21 UTC |
4.6.0 | 2026-03-02 06:29:18 UTC |
4.5.1 | 2025-12-26 03:16:55 UTC |
4.5.0 | 2025-12-11 05:59:06 UTC |
4.4.1 | 2025-10-03 01:28:57 UTC |
4.4.0 | 2025-10-02 13:58:34 UTC |
4.3.0 | 2025-09-29 03:02:32 UTC |
4.2.5 | 2024-08-11 13:01:44 UTC |
4.2.4 | 2024-07-04 04:25:34 UTC |
4.2.3 | 2022-08-17 04:25:37 UTC |
4.2.2 | 2022-02-03 16:06:31 UTC |
4.2.1 | 2022-02-03 15:37:46 UTC |
4.2.0 | 2022-02-03 15:32:46 UTC |
4.1.1 | 2021-07-27 04:11:54 UTC |
4.1.0 | 2020-10-02 11:57:51 UTC |
4.0.6 | 2020-09-08 14:18:23 UTC |
4.0.5 | 2020-09-08 12:21:17 UTC |
4.0.4 | 2020-09-02 13:14:16 UTC |
Showing the 20 most recent of 64 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 | 5.0.0 |
node 18 | 5.0.0 |
node 20 | 5.0.0 |
node 22 | 5.0.0 |
node 24 | 5.0.0 |
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 comment-json?
The latest stable version of comment-json is 5.0.0, published on 2026-04-12. Verified by Vigia on 2026-11-12.
How do I install the latest version of comment-json?
Run npm install comment-json@latest. The latest stable version is 5.0.0 (verified 2026-11-12).
Is comment-json deprecated?
No. comment-json is not marked as deprecated in the registry.
Which Node.js version does comment-json require?
comment-json 5.0.0 declares this requirement: {"node":">= 6"}.
Does comment-json 5.0.0 have known vulnerabilities?
No known advisories affect comment-json 5.0.0 according to the data Vigia checks.
Is comment-json still maintained?
comment-json published 6 stable releases in the last 12 months; the most recent was 214 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @opentelemetry/exporter-metrics-otlp-grpc
- @types/d3
- pkg-up
- yup
- chart.js
- shiki
- @shikijs/core
- unist-util-remove-position
- address
- @prisma/get-platform
- ext
- puppeteer-core
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/comment-json) [](https://vigia.coredls.cloud/npm/comment-json) [](https://vigia.coredls.cloud/npm/comment-json)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/comment-json
GET https://vigia.coredls.cloud/v1/packages/npm/comment-json/versions/{version}