jsonc-parser
Parser for JSON with comments and trailing commas support.
Scraping, browsers and parsing npm MIT
Used in agent projects
31
0.2% of 12,697 public repos built with AI coding agents
Rank in scraping, browsers and parsing
#11 of 16
by use in those projects
Downloads
72.3M
npm, last 7 days, jsonc-parser
GitHub stars
767
last push Oct 3, 2026
How jsonc-parser is used
jsonc-parser is a dependency in 31 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #11 of 16 in scraping, browsers and parsing. The most used alternative there is Beautiful Soup. Projects that use it most often also use Zod (67.7%), Biome (54.8%), tsx (54.8%). It is more common in projects set up for Kiro (5.5%) than for GitHub Copilot (0.5%).
Often used with jsonc-parser
| Zod | 67.7% of jsonc-parser projects · 4.0× more than average |
|---|---|
| Biome | 54.8% of jsonc-parser projects · 15.6× more than average |
| tsx | 54.8% of jsonc-parser projects · 5.5× more than average |
| Vitest | 51.6% of jsonc-parser projects · 4.2× more than average |
| Fuse.js | 48.4% of jsonc-parser projects · 74.0× more than average |
| lru-cache | 45.2% of jsonc-parser projects · 89.6× more than average |
| undici | 45.2% of jsonc-parser projects · 73.5× more than average |
| Anthropic SDK | 41.9% of jsonc-parser projects · 25.2× more than average |
By coding agent
| Claude Code | 0.6% of projects set up for it |
|---|---|
| GitHub Copilot | 0.5% of projects set up for it |
| Cursor | 0.5% of projects set up for it |
| Kiro | 5.5% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
| OpenCode | 1.6% of projects set up for it |
Share of public repos configured for each agent that list jsonc-parser as a dependency.
Install
| Package | npm install jsonc-parser |
|---|---|
| Main stacks | TypeScript / JavaScript (29), Python (2) |
| Example projects | godotlauncher/launcher, lirantal/ls-mcp, yearningss/gamemaker-mcp, Silin144/claude-code, nilupulk/claude-code-free |
Alternatives to jsonc-parser
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Beautiful Soup pypi Python HTML/XML parsing and screen-scraping library for web data extraction. |
160 (1.3%) | 69M | — | MIT License |
| Puppeteer npm Headless Chrome/Chromium automation for scraping, testing and screenshot generation. |
115 (0.9%) | 11.4M | 95.7K | Apache-2.0 |
| lxml pypi High-performance XML and HTML processing library combining libxml2/libxslt with Python. |
98 (0.8%) | 88.4M | 3,065 | BSD-3-Clause |
| Cheerio npm jQuery-like syntax for parsing and manipulating HTML/XML with server-side speed. |
94 (0.7%) | 26.6M | 30.5K | MIT |
| Playwright (Python) pypi High-level Python API for automating browser testing and web scraping. |
68 (0.5%) | 26M | 15K | — |
| fast-xml-parser npm High-performance XML parser and builder without native dependencies. |
58 (0.5%) | 83.3M | 3,139 | MIT |
| csv-parse npm Parse CSV files using Node.js streaming Transform API for memory-efficient processing. |
51 (0.4%) | 20.6M | 4,280 | MIT |
| Playwright Core npm Headless browser automation library for cross-browser testing and web scraping. |
49 (0.4%) | 122M | 97.4K | Apache-2.0 |