GitShow/sindresorhus/write-json-file
sindresorhus

write-json-file

Stringify and write JSON to a file atomically

by sindresorhus
Star on GitHubForknpm

JavaScript

225 stars41 forks10 contributorsQuiet · 11mo agoSince 2015v7.0.0MIT

Meet the team

See all 10 on GitHub →
sindresorhus
sindresorhus53 contributions
kevva
kevva3 contributions
coreyfarrell
coreyfarrell2 contributions
DenisCarriere
DenisCarriere2 contributions
LinusU
LinusU2 contributions
SamVerschueren
SamVerschueren2 contributions
BendingBender
BendingBender1 contribution
paulhayes
paulhayes1 contribution

Languages

View on GitHub →
JavaScript75.4%
TypeScript24.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
ghiscoding
`write-file-atomic` should be updated to latest major v6ClosedIssue

I use multiple write-* packages in Lerna-Lite and while updating to all latest major versions, I noticed that not all of these packages use latest versions (i.e. here) which mean that we end up downloading multiple versions of the same package for example uses but in here, we're using an older version uses https://github.com/sindresorhus/write-json-file/blob/301b0780592893953a6b6566e3ec92bca342def1/package.json#L47 So it would be great if this package could be updated to latest version to avoid downloading multiple versions of the same package. I did not check other package of yours, but it might be a nice idea to revisit them. Thanks

ghiscoding · 11mo ago
sayhicoelho
EPERM: operation not permitted, renameClosedIssue

If you overwrite the same file using multiple instances simultaneously, an error occurs. Reproduce Open 3 instances of NodeJS and run the code simultaneously. Result !skWOjfw23 Versions NodeJS: v16.17.0 write-json-file: v4.3.0

sayhicoelho · 11mo ago
raymond10
HookWebpackError: ENOENT: no such file or directory, scandir - at Object.readdirSync (node:fs:1390:3)ClosedIssue

Hi, I want to use for library in my angular v13 app, but I'm facing a compilation issue : Here is a detail of the exception : Thanks for your help

raymond10 · 1y ago
Structured data for AI agents

Repository: sindresorhus/write-json-file. Description: Stringify and write JSON to a file atomically Stars: 225, Forks: 41. Primary language: JavaScript. Languages: JavaScript (75.4%), TypeScript (24.6%). License: MIT. Latest release: v7.0.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, kevva, coreyfarrell, DenisCarriere, LinusU, SamVerschueren, BendingBender, paulhayes, Richienb, privatenumber.

·@ofershap

Replace github.com with gitshow.dev