{"_id":"write-json-safe","_rev":"8-ef21b5d76241a10cf236c3e6aaf337c6","name":"write-json-safe","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"write-json-safe","version":"1.0.0","description":"Write formatted JSON to a file, and create parent directories if necessary.","main":"./build/index.js","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"author":{"name":"Connor White"},"license":"MIT","keywords":["write","file","safe"],"scripts":{"build":"babel ./src --out-dir ./build --config-file ./babel.config.json --extensions .ts --delete-dir-on-start && tsc --project ./tsconfig.json","prepublishOnly":"yarn build"},"dependencies":{"stringify-json-object":"^1.0.1","write-file-safe":"^1.0.2"},"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.4","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/preset-typescript":"^7.10.4","@types/node":"^14.6.1","typescript":"^4.0.2"},"_id":"write-json-safe@1.0.0","dist":{"shasum":"f5cb003b59fe3ef31f86b8eea39a68f06dbe096d","integrity":"sha512-EnHGSKh7JgsVYT8+7JsOiAJxqx+s2xexcMQ6q//oBjdI4uZUzRV5tN2HjxMQauYHpUvUAyRb4EU5mB/bzZ9AIg==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-1.0.0.tgz","fileCount":6,"unpackedSize":3438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSHq1CRA9TVsSAnZWagAAoBgP/29jVhq9Pvz1LQbioItX\n+FA7gYviRY18sQEH2M8ruywpg6vJWOQ8U6VsIkSp3PBrxvz+6KN/KQp+cUnT\nMsnWUK+0J9xpDB3uxm+l6YA0lRTsTUu41oLFp8/b7C4qE153nFrWzxNS9O3c\noS7c8bw94TT1b6pCXai7h7F5IxwUw87oPZYLyjb3cdHOfDNQQBFMjoJoU91P\nZ7WfbRY1YbPbf++54ncN9R/DXEnOK2vxeCHwpVdzoaB7VMzMfh7WRATP4rTg\nIQYADKNiRnOdeyrTMfbv5+2Gp7i4J2vSQwphrITh/XVO9OeE93WZXCwysUMO\npxWIRz2sHDNFajsHet34zlM5QlCFhmOENCSEEy3a/3tsvuZ9nwcaALh2l/MK\nt2Obduz3UzIqJSmzGJEfuoutA41Qm65K0h8xezPehny81hSK3SP68ML1YfNg\nDL0Q6g4zI+HrJes3A4AvuIQ/K0ZvpCsfsF0QanmRGCaKlEOU6pOsmJapYolX\nAaWMdi2x7ACpiIYiV8I1l9V1fYpdvo4oX3LnliP6DCYoSMzV3K13Muh0b2pZ\nAyvPor9NXbJQvP+TBN+X5pyzOQpOJO3SLvP3b5sKNviMRl4ikRaTIYXn82oF\nlaPwC3NrBRwBO2xS/FrDfd9LQsDpr6j+ERCgLziOP+9D6LsK9c/JcJKzapif\nPvE/\r\n=Gqgp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBWN1obtc9pr08p0/1GSaHQJnkEAXKrFOBVwIzCiHojAiEA0Sb9JBuDXSSQfODVW2zTTs2Vz0Do1ULVOtf+HeKoSiY="}]},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_1.0.0_1598585524652_0.20224399880224841"},"_hasShrinkwrap":false},"1.0.1":{"name":"write-json-safe","version":"1.0.1","description":"Write formatted JSON to a file, and create parent directories if necessary.","main":"./build/index.js","homepage":"https://connorwhite.org/github/write-json-safe","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"author":{"name":"Connor White"},"license":"MIT","keywords":["write","file","json","safe"],"scripts":{"build":"bob build","prepublishOnly":"yarn build","postversion":"git push"},"dependencies":{"stringify-json-object":"^1.0.4","write-file-safe":"^1.0.3"},"devDependencies":{"@bconnorwhite/bob":"^1.9.7","@types/node":"^14.6.1"},"_id":"write-json-safe@1.0.1","dist":{"shasum":"9d381de54133383f6fd01319e77fc407f58bfd6e","integrity":"sha512-WSF+FGDYxXPxp2yJuenUO9OW1kdpeFHz3+BBWkzKsAZxIKNT4A3V33y5xyNHnneo4rozE6MBFV5NtwPGo4Nx3g==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-1.0.1.tgz","fileCount":6,"unpackedSize":4140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUFPPCRA9TVsSAnZWagAApTcP/Atza8goOjK31gpT6PrG\nvwsOf36cK9Rt9r3F331oMbn9Bf4LZZVfVAtvImOOl5ZdsarXuF3Xdu6q5Xgr\n7zyfJ2kuehxZbAl2ibPIV6KVzkeoVnJ+3wfQcclo0GuSssSsDbkWyec/1t32\nUblKAIEozdg7aY3VimGZYikXd6cGp2oQ/iI3fTdVpoSfGwVk3I1qzpyy1L+i\njONB+S0xLqyayDCYBDrNs3CA7Nu1jAZkBWZF9ikisRV3OcsSTfcnKmgaVZrM\nfvLbVJ+wZ9RhPX1fOODOs5IcH8+Yw1P9gFLUHl7i4OerqByf3/d46eWQDwJ0\npM3YLNTWGdw5OthBY9GHanty0hWLnBELkuqec0gvuTUecH8ONjqlygDyM1bo\np0gRmJwzNjxyQ3L9P+3zPlcNZS4JnlhPx40HTfO395Z2iw/ObgIGH98OcMxu\nSlGst4v3murQDaRwm+dzqzRMvALyPPZsiC4JA/yO1jB0xM2b3dpewpGR//fd\nrNxbk78r9Kl5DO2OwgOQNWtbanmxF7Dm8/4cjTSg9ohNFwaDIi426Rv5o3gi\n/leedRWvjMb7vHMMJjgVy9B735+tS/m+6BGj8217BtL+lHsxUSBJaeZw14RA\n+D9KkaAEqxaThap5EXVPYIC5OB5fr7YzsVZtQpAhuwBRvJlyUHmhWACmsasO\nRcRN\r\n=ktH+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFez+aCJu7kIYEVNR6Tn5u1ploC9nn8fP5c3GMYtaNvWAiEA15/2uX/abPCOmqdgoBK6pEf7Tg0Vs8HWfJsV53hplgA="}]},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_1.0.1_1599099855214_0.8675401869691166"},"_hasShrinkwrap":false},"2.0.0":{"name":"write-json-safe","version":"2.0.0","description":"Write formatted JSON to a file","license":"MIT","author":{"name":"Connor White"},"homepage":"https://connorwhite.org/github/write-json-safe","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"keywords":["write","file","json","safe","pretty","formatted","format","output","recursive","parent","newline"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"stringify-json-object":"^1.0.6","write-file-safe":"^1.2.1"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2","@types/mock-fs":"^4.10.0","mock-fs":"^4.13.0","read-file-safe":"^1.0.8"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"write-json-safe@2.0.0","dist":{"shasum":"caef4be65274d7147dda810bdeb34d6e08eab250","integrity":"sha512-kpWb+4/CHykuNB+N0pm+9x33pt2Nntd5QBnqX4sLWF9zDvbQ577sc4uHTKCYWnii48QNVD1hUKDA4XQIqzfmtA==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-2.0.0.tgz","fileCount":7,"unpackedSize":7530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeeiSCRA9TVsSAnZWagAAcLQP/iTGVkpT5XaudKw2/crU\nkvZ4laAELgHNQ7rcKAPXPev5j1WsioCJ3mkJx4ehA49PQWdgA5Z/M5resNh2\nlz6AwZzb4aahyoo4dxpbsYYUiwiCaVbBL/prQYOBqc7X0+jnUlI0CbQ0xZY7\nAk+bBaF0F7cE90P1tZk8cxZj9OlgIwaaoGZGO1JIx+GAobAUFJXEi1CgQMNT\n96/t7OO1KUb7nDIyBMW+gYNCBn8pqGwRTpLEBV/mfKFiDis8/iY1NtR6++yi\nT4lYtGKA5Wj4U3dvuBzNBQe+Nl3xvXoEjWiM31aZeNufl4ynbizCCwgvL+z3\n6B9jWSt+xGuVNr1xyS7NZmmvAM8HzS2Vs7GXUK4B4ilvB2+1K++aolDap71l\noQHHqNpxCqwXQ4Rs3HsRW6CDqGOBgbnMCydVIJLYg/dnU0lpQ5gDqH47m3Ev\n89Kdk/GevssCJxAfetuCuk7/k0GQH5IxEJb9oeUUmgXJNam8hq+juZI1UTvk\nr105Aezi6s2rC/0h3O72qURor7DJIIeElK/5x0BqgSl+gOACC0FUtpJmPMZh\nTDREiC05WN6mE9pNIFCKV3sxUs9X6OpEOC/aXozc3YksEEYXooKva8pHGLW3\nUDyxaaykXZRN09jzHA5atL2OePBIGnVbl9tBFGoqDC1PfSNOiEtBw74LWhVc\nQSc0\r\n=crkD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDMCqW2TYaxGgUxUPdWjhrwege6GEdMTH4OeSPkFN+7AiEA8sYa6nq8oEUHBPaaI05Q8a9kT/KB85CRVAzanPTXTUc="}]},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_2.0.0_1601824914149_0.08712839752028056"},"_hasShrinkwrap":false},"2.0.1":{"name":"write-json-safe","version":"2.0.1","description":"Write formatted JSON to a file","license":"MIT","author":{"name":"Connor White"},"homepage":"https://connorwhite.org/github/write-json-safe","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"keywords":["write","file","json","safe","pretty","formatted","format","output","recursive","parent","newline"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"stringify-json-object":"^1.0.6","write-file-safe":"^1.2.1"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2","@types/mock-fs":"^4.10.0","mock-fs":"^4.13.0","read-file-safe":"^1.0.8"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"write-json-safe@2.0.1","dist":{"shasum":"5a42aa36666f2bcaf6a520e6dfd57a9619c059ba","integrity":"sha512-hZSQgTb/IXmFSN2b7to1rEXwEP1HJ7DyEgcOOeIwfWIyLSFgrH95PEVEBvhVfVKS98yAJkaimogZUFoqV4CbAA==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-2.0.1.tgz","fileCount":7,"unpackedSize":7981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeg27CRA9TVsSAnZWagAAk9sP/iBKrRUYF03zTtsM7lpc\nOPKssOzaUj+YZhNdA9bUAF0Yfkh7rEDU8iKZyUqPmg93oUv+hDJmXYOR59dp\nQteISNJ89+mAuyfZbmXLCgoeWBAePqSDRucTHe3m4jt/sXYWpX6L5XVUEfMp\nSjheSMPyfSBlZUe82lSkDmyfQ+uRBpNrDyIOL7OOWQgWG29jBY4X/bMbMRrd\nRIBv8MA5jvutBUWaNHu+/qlxc3/Fg/OCwTNDDXcxOJ+1V3jIU/doGRn5h+nz\n4I26SGt2ERMnu/kO1pnRid6rhKPqRynGfpYvtBHKRfC9Y+8t99iaJ8kJN0kw\nqvylI9VNRBWjGaznJ4IJO0Kd8rBdAjj08xTQEWTnho1dnITxVbgd9zTzcX+g\nthNQhbjo8o81CrMrKrh8GVcZyrBQXFxyQa8YkhCTktZ6byIFs2xIX4QTAPov\nyvBA9Q/2JUhr2BGsHJENU/Pb6h1JeBEE9/TGpV3KkGZGuLWgU6dKD03IREei\nqYlJZGH70y27DU0CLn0BUGIc1g/0/NCmWI7e8a1RFWurpJ5B1hCFdJIQs90b\ntTzmd4ngKSWbgZPPPE1oWBlbuw2r2eqGQbuQazH5odu/BAKdjMuJLXjwe2/a\n6IUsxo21DMxbzcFe19YbctFhrjYcCzzxoN+lQ32zlOYZ4PEfV2yCoc6g+82y\nEzJI\r\n=i8BB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFv8Zp7DwVLAt2XuhREoqRRMI4t0sgrwq+DNKTj7Mb0/AiACefSHtnXrUSuuFatKdzCgS2i2GyzB1xAk35T52arU4g=="}]},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_2.0.1_1601834427104_0.09188571382242738"},"_hasShrinkwrap":false},"2.0.2":{"name":"write-json-safe","version":"2.0.2","description":"Write formatted JSON to a file","license":"MIT","author":{"name":"Connor White"},"homepage":"https://connorwhite.org/github/write-json-safe","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"keywords":["write","file","json","safe","pretty","formatted","format","output","recursive","parent","newline"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"stringify-json-object":"^1.0.7","write-file-safe":"^1.2.3"},"devDependencies":{"@bconnorwhite/bob":"^2.9.4","@types/mock-fs":"^4.13.0","mock-fs":"^4.13.0","read-file-safe":"^1.0.10"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"write-json-safe@2.0.2","dist":{"shasum":"ae3c18a4734726b6cb2dca7717c360fd83564756","integrity":"sha512-XLt3Pyrqk8PnSn/MfwGY9pEu9lRRFIgCdv/B/E0iRvE4GhgJVf4oJgKwyJJ+oqk7hKrJO9fNJbBeZ+JDWXX4bg==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-2.0.2.tgz","fileCount":7,"unpackedSize":8265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJga9NXCRA9TVsSAnZWagAAwFsP/AoaiW1GoqN1iVmp+O9J\ntK7i/Lt+/hQ9FGCUqTSA/BRI8+/YOSNfupsxphXokBwKaxTzhEqIhXWFpYGo\nT4gzFW3/BDylohUz309eSRX2mlTUW3vqccxEUDbrEhuAcuAAPz0qe0X6qzNN\nJx8mmHSWx+0/mpmwr7S6xE4vUuo8l19+YNr+TWFeQsfsZ45uZZFZnOuS1ZbJ\nI6TNspNmVUAjRxkAEoeK6DBuxopx83jdlifiS/4qlVMz+NNtMQ6x7pKuvHRj\nJS+h7fAMeaZ6H+a2NcGnDYajWN+3WCVvOW24I7SmZSoexIQ5zUpR7f0Ardx2\nlJ3qyIhgBQKb/b+nZ1zqQ6bAO/Z/aIHezucvByDbuLPRUqvAFhzcCeKgwvac\n2glqTZQVXfV5eHBKV7/p0QCuMeGGbbIQELB9ns0JL7Mp2sAff2k3Pi0sFpFZ\n4doejcbdb1lUHKlft32HXhND6rDZsse9FRtnCNJi6nmt684QlxEEKX4tjAJW\n/IjQ+pvfjY4+qESKw8VXlVJIJW/AE0ns5j5JyHTt1CDK0QxaZ1TRacDUufH5\nuRNoVuFhNiyxRbcM9Fso1fbTtnN1+0MoJqfoBm28Dt7fTFs4300SYhIA/aaG\nbSl2lle1GDczdELkl54VUb/Lh5zH06VclnOAQd4jkXVEgAmbGEuNlHOWyTNE\nywk1\r\n=XnBX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQNX/k3z88T4twfHZZ9/6oFqlpMz7FxrLQ7T/+txJNxAIgDu9Gs5xGK3ETPVD0u+ZCAGWAwKqlHwtL/QSFj7n5stc="}]},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_2.0.2_1617679190646_0.6340553249218801"},"_hasShrinkwrap":false},"2.1.0":{"name":"write-json-safe","version":"2.1.0","description":"Write formatted JSON to a file","license":"MIT","author":{"name":"Connor White"},"homepage":"https://connorwhite.org/github/write-json-safe","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"keywords":["write","file","json","safe","pretty","formatted","format","output","recursive","parent","newline"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"stringify-json-object":"^1.0.7","write-file-safe":"^1.3.1"},"devDependencies":{"@bconnorwhite/bob":"^2.9.4","@types/mock-fs":"^4.13.0","mock-fs":"^4.13.0","read-file-safe":"^1.0.10"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"write-json-safe@2.1.0","dist":{"shasum":"b79f27f30e3c408a5d7d1b09c3237d6b4a0607d0","integrity":"sha512-YORxvFx9nGlVcyhIHhUoApjeaf3Dom5KmnfQVOvDclfiS6yYhXhFXEmycksyhDlzzjKaLIwRUZDYyTg0jYlaRQ==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-2.1.0.tgz","fileCount":7,"unpackedSize":8603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdSIcCRA9TVsSAnZWagAAjeAP/1Ef8FQhhjH7UMUl+WfC\nyVGKBDll/Eyo5/kPMcoUBaOfkxUTIbMMUk2/JdWMkA159dPR6+W+Qj5H/ZGc\nlgL3vw2VKQZhC9CYeGh6XPepnGoTW/6y10qtRBlVK2vtqpQwK6KT5pnv+gA6\nHruRq7NFJYmh+vljdOxR0HqB52SchGidILJPUlluKqswxkY556R2EFUHxcp4\nGsWlqMcn/6G/Epnu+s5D2WxWiTqb9xqtQLfaO3NySMI/bwx1S5/+q764ukvu\nu+wZwQtNDjCwln7rN++/vC/lLpmJ7uJF71BEBi9fbKQffGZwuNESKX60ffzB\nDBsLbzNaZS5qVo020OL31d5OKGC+Q/+VFrkprMc1Sg06vGJGBPT1/t3q+TTL\nAQQC/pctVtIjlVf6XsIEcaRfqOnkQTrzr2C94OcspslYeCPL7oHd8ZvgbEj4\nQuwLv8ZHsgZ3/azkKQLNVRiJe8B80mnb88HF4ZtbVoIILwSohkIhhqRn200K\nnvCvKk3eYm5iIJ4P0JvGgfdlfW9JOq6OYIASMyeea50g09jJTRgvdcl4JHSZ\nNUUR9ktUsRNXmzRJfk7al1qqLD1Q8LRjuDXasosV0ZyQWCVBLetY4upzSZmD\nwnQ71iCSMB//bV3a9QvyqRu7FX6ROF1j8/ZXyW2OisCUMsoGM6uqls9zPpG3\nvX2s\r\n=XFq7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHze3lMvyVVk34XrKFFv5JCtzkcKIn1ztauY1Cy/1DNAiBBoimjXed3Deki70QsZWhWj4UKzrrcdQD1yOXLk/jWRw=="}]},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_2.1.0_1618289180336_0.06426344455785182"},"_hasShrinkwrap":false},"3.0.0":{"name":"write-json-safe","version":"3.0.0","description":"Write formatted JSON to a file","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://connorwhite.dev/github/write-json-safe","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"bugs":{"url":"https://github.com/bconnorwhite/write-json-safe/issues"},"keywords":["write","file","json","safe","pretty","formatted","format","output","recursive","parent","newline"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"stringify-json-object":"^2.0.0","write-file-safe":"^2.0.1"},"devDependencies":{"@types/mock-fs":"^4.13.1","autorepo":"^0.1.9","mock-fs":"^5.2.0","read-file-safe":"^2.1.0"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"write-json-safe@3.0.0","dist":{"shasum":"4dbd085ca435d3dfc8c0e056880fae30b8945aae","integrity":"sha512-NbrnpScuql9q4N/Q1lnW7VnjHrG6jwl++Jf1V/mKlSykAtUKOJT1/5gUspozHVeDJEsQ25Tpb4dEVFZ3mwxPEw==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-3.0.0.tgz","fileCount":8,"unpackedSize":7972,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+6I9733JnvrXLJ8UihuWOUZ+a7U/1uxPulQIoW4efwAiEA6AhNwZzBO7ogR6qShvsLdBH6wOgkW3fdqj3wsoM33W8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxzlDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiMA//dOEYjjyMl2nQQN8aUUrLSWqcKiZHQ9d96FAWElhjqBglj1T+\r\nu/u99nzevW8DuU2Tperyq5rbDzC/+aCv8Vd7w66V9UndXuD97Bg9hHBaw+D7\r\naoWr/uqj5GwcL3jRWVO0x6+xArGXkSERZPykekT8VLx/LYVfkBu3droz4iSU\r\nVOu0XTiTy//9habmVk7+EdrIXsZhZ+hE81RyElws8BUyoDb8rITJWymQgD79\r\np8iyguDsh5KN9KmtbaTT8todyPonDmgc4yXbm7VAohhUQmjGiJPLTSw32eWK\r\nC7uxwE1u0bvM5FjNvsBNpim7cGsT1HdBlPSBv+UeUc2LwITFfed2iyYyy7ih\r\nwgq/xBo8ngA399lhlMD4B8UgDJqySt1FP3ihOaFanh6GqEqQqbbYzAcHBjaf\r\nnnXUYVlWhcsfpiD6DpXVWESSydjxIel7blHUrsGCDKPfyMz0bbCYN4FWUFCU\r\nEAZeSxsxMs3eT5WNH9sl5yCiK5gXtY/ntP34s7Zwa2XAblojE+LvzVn/Tb/e\r\n1gdugOtUV9W2hpr7Xi9bU6ZYdzxCL0gl/ZhC/bAAbspPYpFH32Zy3OmexFNN\r\nHO/20CyTkfDJ4Q8ZADzXJkXc+j9OLHq3nSts5molDYLCqWK7S+9oeboTOxvB\r\nNq07rMIRtlj+KnqBT1H5fMEtsiBo8/UD4uU=\r\n=1FLj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_3.0.0_1674000707715_0.579854408480333"},"_hasShrinkwrap":false},"4.0.0":{"name":"write-json-safe","version":"4.0.0","description":"Write formatted JSON to a file","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://connorwhite.dev/github/write-json-safe","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"bugs":{"url":"https://github.com/bconnorwhite/write-json-safe/issues"},"keywords":["write","file","json","safe","pretty","formatted","format","output","recursive","parent","newline"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"stringify-json-object":"^3.0.0","write-file-safe":"^2.0.1"},"devDependencies":{"@types/mock-fs":"^4.13.1","autorepo":"^0.1.9","mock-fs":"^5.2.0","read-file-safe":"^2.1.0"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"write-json-safe@4.0.0","dist":{"shasum":"8b6fd1e96afdce958d3e15c7bded105bd190b547","integrity":"sha512-ZeXUbIp4SW32hRj50Pvuv1TJWTIvF/7GTF+fjuUKhjxk+ARg5reg5372lIrm8ppyrlcX5JeBQg65Grj4vueRQA==","tarball":"https://registry.npmjs.org/write-json-safe/-/write-json-safe-4.0.0.tgz","fileCount":8,"unpackedSize":8208,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeVVJqnK1JW4vMrCzBVc/AZxyIxaIUZMp1zZZBGUTGywIgM5OCHEGDbnTQ7VpqD4yAYJsUtQMt4V/SPT+2H32TN70="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0CitACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEohAAnY2OgSSAJoyBp/zJZGsDnryX8IsjslGBj6uRezXyq4uX92S+\r\nVSnI9pKJIaMZksV9JbeRssOpFobw+zklWwDu+p56GeyXKrEj0Xpe48obxJvO\r\nrE/x79o7Aw9EokZSJNUmWI/ziJERzLBCWNF4OHBNDNekStqZQOXB8LKW+4k8\r\n12QOIQtVYH8m4QH0PC4U35lIbLnFQCLbHQy0axnztGiLV0XnmFGGtHdqKerC\r\n8c6vkg1ovmmuNu4EAs7jeCLVYWcX5A1JVBEZlI93s82TNllzJqJvymfK8tjG\r\no4EmCvHri/6ngoe6Jv+HZDv/9i/SpzPM8CtHKLltcvoobP0IeeYaAV3hN1OE\r\nzfmE1nuwI48oSRiRbyzRvcW2rLnkHqP84tpz+zpelhsXI3c9l+QvApimTYVC\r\nMPUGj/lKEkhfVjYzgV8N+PwhWz9IGUuZxZMUfISioWSQS5MvqDmrMcHEJB8C\r\n/bzNDIK8E5AL00xYn63RNPS33B1DPrWnSJE0GMxFMW2HpY+RS0Pnuwh/vv62\r\nNNAitJ2fIJYVgBBRGN/YVIsO5FqgEOE/75gn/1rRna1KOB4pRpbLS6mIl+L0\r\nKkjxh88cpH76cugwDCdeOW+PdvAXBIwvSoOxwHB5tvwzJ5Bf1X2eSJmPIJTx\r\nQgbz5rc4YdALcNsfahW7qJd+yvRt1OJEh6E=\r\n=ncKU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-json-safe_4.0.0_1674586284842_0.16202527510288123"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-28T03:32:04.652Z","1.0.0":"2020-08-28T03:32:04.753Z","modified":"2023-01-24T18:51:25.115Z","1.0.1":"2020-09-03T02:24:15.405Z","2.0.0":"2020-10-04T15:21:54.320Z","2.0.1":"2020-10-04T18:00:27.226Z","2.0.2":"2021-04-06T03:19:50.869Z","2.1.0":"2021-04-13T04:46:20.468Z","3.0.0":"2023-01-18T00:11:47.905Z","4.0.0":"2023-01-24T18:51:25.000Z"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"description":"Write formatted JSON to a file","keywords":["write","file","json","safe","pretty","formatted","format","output","recursive","parent","newline"],"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/write-json-safe.git"},"author":{"name":"Connor White"},"license":"MIT","readme":"<!--BEGIN HEADER-->\n<div id=\"top\" align=\"center\">\n  <h1>write-json-safe</h1>\n  <a href=\"https://npmjs.com/package/write-json-safe\">\n    <img alt=\"NPM\" src=\"https://img.shields.io/npm/v/write-json-safe.svg\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/write-json-safe\">\n    <img alt=\"TypeScript\" src=\"https://img.shields.io/github/languages/top/bconnorwhite/write-json-safe.svg\">\n  </a>\n  <a href=\"https://coveralls.io/github/bconnorwhite/write-json-safe?branch=master\">\n    <img alt=\"Coverage Status\" src=\"https://img.shields.io/coveralls/github/bconnorwhite/write-json-safe.svg?branch=master\">\n  </a>\n</div>\n\n<br />\n\n<blockquote align=\"center\">Write formatted JSON to a file.</blockquote>\n\n<br />\n\n_If I should maintain this repo, please ⭐️_\n<a href=\"https://github.com/bconnorwhite/write-json-safe\">\n  <img align=\"right\" alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/bconnorwhite/write-json-safe?label=%E2%AD%90%EF%B8%8F&style=social\">\n</a>\n\n_DM me on [Twitter](https://twitter.com/bconnorwhite) if you have questions or suggestions._\n<a href=\"https://twitter.com/bconnorwhite\">\n  <img align=\"right\" alt=\"Twitter\" src=\"https://img.shields.io/twitter/url?label=%40bconnorwhite&style=social&url=https%3A%2F%2Ftwitter.com%2Fbconnorwhite\">\n</a>\n\n---\n<!--END HEADER-->\n\n## Installation\n\n```sh\nyarn add write-json-safe\n```\n\n```sh\nnpm install write-json-safe\n```\n\n```sh\npnpm add write-json-safe\n```\n\n## Usage\n\n```ts\nimport { writeJSON, writeJSONSync, Options, OptionalJSONValue } from \"write-json-safe\";\n\nfunction writeJSON(path: string, content?: OptionalJSONValue, options?: Options): Promise<boolean>;\n\nfunction writeJSONSync(path: string, content?: OptionalJSONValue, options?: Options): boolean;\n\ntype Options = {\n  /**\n   * Output formatted JSON. Default: `true`\n   */\n  pretty?: boolean;\n  /**\n   * Recursively create parent directories if needed. Default: `true`\n   */\n  recursive?: boolean;\n  /**\n   * Ensure file ends with a newline. Default: `true`\n   */\n  appendNewline?: boolean;\n  /**\n   * Write even if file already exists. Default: `true`\n   */\n  overwrite?: boolean;\n};\n```\n\n<!--BEGIN FOOTER-->\n\n<br />\n\n<h2 id=\"dependencies\">Dependencies<a href=\"https://www.npmjs.com/package/write-json-safe?activeTab=dependencies\"><img align=\"right\" alt=\"dependencies\" src=\"https://img.shields.io/librariesio/release/npm/write-json-safe.svg\"></a></h2>\n\n- [stringify-json-object](https://www.npmjs.com/package/stringify-json-object): Stringify and format a JSON object\n- [write-file-safe](https://www.npmjs.com/package/write-file-safe): Write files atomically, and create parent directories if necessary\n\n<br />\n\n<h3>Dev Dependencies</h3>\n\n- [@types/mock-fs](https://www.npmjs.com/package/@types/mock-fs): TypeScript definitions for mock-fs\n- [autorepo](https://www.npmjs.com/package/autorepo): Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.\n- [mock-fs](https://www.npmjs.com/package/mock-fs): A configurable mock file system.  You know, for testing.\n- [read-file-safe](https://www.npmjs.com/package/read-file-safe): Read files without try catch\n\n\n<br />\n\n<h2 id=\"license\">License <a href=\"https://opensource.org/licenses/MIT\"><img align=\"right\" alt=\"license\" src=\"https://img.shields.io/npm/l/write-json-safe.svg\"></a></h2>\n\n[MIT](https://opensource.org/licenses/MIT)\n<!--END FOOTER-->\n\n<br />\n\n## Related Packages\n\n- [types-json](https://www.npmjs.com/package/types-json): Type checking for JSON values\n- [fs-safe](https://www.npmjs.com/package/fs-safe): A simple fs wrapper that doesn't throw\n- [read-json-safe](https://www.npmjs.com/package/read-json-safe): Read JSON files without try catch\n- [write-file-safe](https://www.npmjs.com/package/write-file-safe): Write files, and create parent directories if necessary\n- [write-md-safe](https://www.npmjs.com/package/write-md-safe): Write markdown files from a [Marked](https://www.npmjs.com/package/marked) token list or string\n","readmeFilename":"README.md","homepage":"https://connorwhite.dev/github/write-json-safe","contributors":[{"name":"Connor White"}],"bugs":{"url":"https://github.com/bconnorwhite/write-json-safe/issues"}}