Skip to content
JS
Package

cjson

cjson - Commented JavaScript Object Notation. It is a json loader, which parses only valid json files, but with comments enabled. Useful for loading configs.

v0.5.0, 7 Jan 2017MIT-Types: None
$ npm install cjson

Key numbers

As of 25 Sept 2026
Weekly downloads
2m
+166% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
9 years ago
v0.5.0
GitHub stars
61
14 forks
Open issues / PRs
3 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.8m (25 Aug 2026)Low 514.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,009,040 downloads last week, 9,242,411 in the last month. The 12-month change of +166% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
015 in total
Latest version
0.5.0, 7 Jan 20179 years ago
First published
21 Mar 2011
Last push to GitHub
22 Dec 20202,102 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
150

Major versions

  1. v0 first release 0.0.1, 21 Mar 2011

Recent releases

VersionPublished
0.5.07 Jan 2017
0.4.021 Mar 2016
0.3.313 Jan 2016
0.3.228 Sept 2015
0.3.122 Apr 2015
0.3.012 Jan 2014
0.2.121 Sept 2012
0.2.020 Sept 2012
0.1.020 Sept 2012
0.0.614 Nov 2011
0.0.510 Oct 2011
0.0.431 Aug 2011
0.0.325 Mar 2011
0.0.222 Mar 2011
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
>= 0.3.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (1)
json-parse-helpfulerror
npm install cjson
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cjson@0.5.0/
  • unpkghttps://unpkg.com/cjson@0.5.0/
  • esm.shhttps://esm.sh/cjson@0.5.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.