UNPKG

write-json5-file

Version:

Stringify and write JSON to a file atomically

45 lines 970 B
{ "name": "write-json5-file", "version": "4.0.0", "description": "Stringify and write JSON to a file atomically", "type": "module", "main": "index.js", "exports": "./index.js", "engines": { "node": ">=22.13" }, "files": [ "index.js", "index.d.ts" ], "repository": "https://github.com/zkochan/packages/tree/main/write-json5-file", "keywords": [ "write", "json5", "stringify", "file", "fs", "graceful", "atomic", "atomically" ], "author": { "name": "Zoltan Kochan", "email": "z@kochan.io", "url": "https://www.kochan.io" }, "license": "MIT", "homepage": "https://github.com/zkochan/packages/tree/main/write-json5-file#readme", "dependencies": { "json5": "^2.2.3", "sort-keys": "^6.0.0", "write-file-atomic": "^7.0.1" }, "devDependencies": { "standard": "^17.1.2", "tempfile": "^6.0.1" }, "scripts": { "test": "standard && node --test test.js" } }