jsonfile
Easily read/write JSON files.
6.2.1
540M downloads/mo
#264 most downloaded on npm
jprichardson/node-jsonfile
What this package is like to depend on
Last release 4 months ago
20 Apr 2026
Ships unpredictably
gaps range from 2 weeks to 4.8 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
14 years old
27 releases · first in 2012
1 release in the last 12 months
see the full history below
Release timeline
27 releases · Sep 2012 to Apr 2026Releases
latest 27-
6.2.120 Apr 2026Commits, not release notes
This project publishes no release notes. Between
6.2.0and6.2.1there were 2 commits, 1 of them substantive:- Throw descriptive TypeError when obj is not JSON-serializable (#168)
-
6.2.012 Aug 2025Commits, not release notes
This project publishes no release notes. Between
6.1.0and6.2.0there were 5 commits, 4 of them substantive:- Use GitHub Actions for CI (#148)
- Fix build status badge (#151)
- ESM-compatible exports (#162)
- Update CI configs (#163)
-
6.1.031 Oct 2020Commits, not release notes
This project publishes no release notes. Between
6.0.1and6.1.0there were 4 commits, 3 of them substantive:- Add option to override final EOL in file (#137)
- Upgrade devDependencies to remove npm audit warnings (#139)
- Upgrade universalify (#138)
-
6.0.107 Mar 2020Commits, not release notes
This project publishes no release notes. Between
6.0.0and6.0.1there were 3 commits, 2 of them substantive:- Use const for EOL variable (#129)
- Upgrade universalify (#130)
-
6.0.024 Feb 2020Commits, not release notes
This project publishes no release notes. Between
5.0.0and6.0.0there were 4 commits, 3 of them substantive:- Add index to API + slight cleanup (#116)
- Test on Node 12 (#126)
- Major refactor (#128)
-
5.0.008 Sep 2018Commits, not release notes
This project publishes no release notes. Between
4.0.0and5.0.0there were 12 commits, 8 of them substantive:- remove npmignore
- Explicitly note that this can't be used in the browser
- Add promise support using universalify (#109)
- Fix test
- Upgrade mocha & standard
- BREAKING: Drop Node 6 support
- Modernize code
- Cleanup docs examples
-
4.0.012 Sep 2017Commits, not release notes
This project publishes no release notes. Between
3.0.1and4.0.0there were 16 commits, 9 of them substantive:- correct spelling mistake
- add .editorconfig
- allow overriding the EOL string
- still use global options when someone destructures
- Remove global spaces option
- Remove undocumented passParsingErrors option
- Upgrade standard
- Drop support for Node 0.10, 0.12, and io.js
- Add files field to package.json
-
3.0.105 Jul 2017Commits, not release notes
This project publishes no release notes. Between
v3.0.0and3.0.1there were 4 commits, 2 of them substantive:- Remove mock-fs tests
- Don't write if there is a serialisation error & no callback passed
-
3.0.025 Apr 2017Commits, not release notes
This project publishes no release notes. Between
2.4.0andv3.0.0there were 9 commits, 4 of them substantive:- update readme to include append examples
- Add
appveyor.ymlto.npmignore. - Moved readFileSync within the try/catch to prevent filesystem errors when a file was not present. The error when throws is true is the same as before, but when it's false the error is swallowed and the return is null.
- Update docs for throws option
-
2.4.016 Sep 2016Nothing published for this version
-
2.3.113 May 2016Nothing published for this version
-
2.3.017 Apr 2016Nothing published for this version
-
2.2.314 Oct 2015Nothing published for this version
-
2.2.216 Sep 2015Nothing published for this version
-
2.2.125 Jun 2015Nothing published for this version
-
2.2.025 Jun 2015Nothing published for this version
-
2.1.222 Jun 2015Nothing published for this version
-
2.1.119 Jun 2015Nothing published for this version
-
2.1.019 Jun 2015Nothing published for this version
-
2.0.124 May 2015Nothing published for this version
-
2.0.028 Jul 2014Nothing published for this version
-
1.2.029 Jun 2014Nothing published for this version
-
1.1.111 Nov 2013Nothing published for this version
-
1.1.011 Oct 2013Nothing published for this version
-
1.0.106 Sep 2013Nothing published for this version
-
1.0.028 Jun 2013Nothing published for this version
-
0.0.110 Sep 2012Nothing published for this version