Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

strip-json-comments

Remove comments from JSON allowing human-readable config files.

UtilitiesNPM

GitHubWebsite

1. License

License from npm.

github.com/sindresorhus/strip-json-comments

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What strip-json-comments does

Remove comments from JSON allowing human-readable config files.

strip-json-comments popularity

48 / 100
Gid Score, #2243 overall
292M
downloads a week, npm
629
GitHub stars
1
agent projects use it
strip-json-comments: downloads per weeknpm, strip-json-comments 292,392,164

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How strip-json-comments is used

  • strip-json-comments joined the catalog on its public numbers (292,392,164 downloads a week on npm and 629 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • Projects that use it most often also use Zod (80.0%), tsx (60.0%), Vitest (60.0%).

Often used with

In 80.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects

More about strip-json-comments

Funding
  • GitHub Sponsors: https://github.com/sindresorhus
  • Open Collective: https://opencollective.com/sindresorhus
  • Buy Me a Coffee: https://buymeacoffee.com/sindresorhus
  • Own page: https://sindresorhus.com/donate
  • 186 GitHub sponsors

See all

More in Utilities

Alternatives

strip-json-comments This page

MITGid 48292M/wk

Compare strip-json-comments with another tool

Get started

Install it.

npm install strip-json-comments

No step-by-step start for strip-json-comments yet: we have not written its hand-checked card.