Skip to content
JS
Package

dirty-json

A permissive parser for dirty JSON data that does its best

v0.9.2, 28 Aug 2020AGPL-3.0CommonJSTypes: NoneParsers and serialisers
$ npm install dirty-json

Key numbers

As of 25 Sept 2026
Weekly downloads
58.1k
-30% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
6 years ago
v0.9.2
GitHub stars
334
30 forks
Open issues / PRs
14 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 93.2k (28 Jul 2026)Low 46.3k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

58,136 downloads last week, 244,297 in the last month. The 12-month change of -30% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.9.2, 28 Aug 20206 years ago
First published
-
Last push to GitHub
1 Jun 2024845 days before the snapshot
Repository archived
No
Open issues
14
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
72

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6.0.0
Runtimes
-
Unpacked size (npm)
129 kB
Dependencies (3)
lexutf8unescape-js
npm install dirty-json
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dirty-json@0.9.2/
  • unpkghttps://unpkg.com/dirty-json@0.9.2/
  • esm.shhttps://esm.sh/dirty-json@0.9.2
PackageWeekly downloadsGzipLast releaseModuleComparison
tiny-jsonc352.2k-1 year agoESM only-
read-json-sync20.3k-7 years ago--
js2xmlparser3m-4 years agoCommonJS-
truncate-json745.1k-1 year agoESM only-
serialize-javascript40.3m-1 day agoCommonJS-
jsonminify44.3k-4 years agoCommonJS-
jsonc-eslint-parser5m-1 month agoESM only-
@stoplight/json2.9m-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.