{"_id":"write-yaml-file","_rev":"3287892","name":"write-yaml-file","description":"Stringify and write YAML to a file atomically","dist-tags":{"latest":"5.0.0","next":"4.2.0","pnpm-temp":"4.0.0"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"time":{"modified":"2024-05-23T06:37:21.000Z","created":"2017-02-11T21:43:17.502Z","5.0.0":"2023-04-27T22:24:56.969Z","4.2.0":"2021-02-11T22:54:29.120Z","4.1.3":"2021-01-09T18:09:08.591Z","4.1.2":"2021-01-09T17:56:24.369Z","4.1.1":"2020-11-01T17:25:38.382Z","4.1.0":"2020-04-25T14:03:56.287Z","4.0.0":"2020-03-26T21:24:38.503Z","3.0.1":"2019-05-30T19:25:09.153Z","3.0.0":"2019-05-29T22:26:41.266Z","2.1.0":"2019-05-29T22:23:52.265Z","2.0.0":"2018-10-28T19:34:12.975Z","1.0.1":"2018-03-17T19:54:31.607Z","1.0.0":"2017-02-12T00:26:41.108Z","0.0.0":"2017-02-11T21:43:17.502Z"},"users":{},"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"repository":{"type":"git","url":"git+https://github.com/zkochan/packages.git#main"},"versions":{"5.0.0":{"name":"write-yaml-file","version":"5.0.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=16.14"},"repository":{"type":"git","url":"git+https://github.com/zkochan/packages.git#main"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/main/write-yaml-file#readme","dependencies":{"js-yaml":"^4.1.0","write-file-atomic":"^5.0.1"},"devDependencies":{"standard":"^16.0.4"},"scripts":{"test":"standard"},"bugs":{"url":"https://github.com/zkochan/packages/issues"},"_id":"write-yaml-file@5.0.0","_integrity":"sha512-FdNA4RyH1L43TlvGG8qOMIfcEczwA5ij+zLXUy3Z83CjxhLvcV7/Q/8pk22wnCgYw7PJhtK+7lhO+qqyT4NdvQ==","_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/ff1a698056f599c38fb408e3dbe96160/write-yaml-file-5.0.0.tgz","_from":"file:write-yaml-file-5.0.0.tgz","_nodeVersion":"16.20.0","_npmVersion":"9.6.4","dist":{"shasum":"3764885331139f4dfed415c652eabb97942b91cc","size":2115,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-5.0.0.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_5.0.0_1682634296792_0.4761078187517609"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-27T22:24:56.969Z","publish_time":1682634296969,"_source_registry_name":"default","_cnpm_publish_time":1682634296969},"4.2.0":{"name":"write-yaml-file","version":"4.2.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=10.13"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"js-yaml":"^4.0.0","write-file-atomic":"^3.0.3"},"devDependencies":{"standard":"^16.0.3"},"readmeFilename":"README.md","_id":"write-yaml-file@4.2.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"shasum":"86fca0a297666bf59c40dcd96e16dbdfd17228c2","size":2273,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-4.2.0.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_4.2.0_1613084069023_0.5171380262065339"},"_hasShrinkwrap":false,"publish_time":1613084069120,"_cnpm_publish_time":1613084069120},"4.1.3":{"name":"write-yaml-file","version":"4.1.3","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=10.13"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.2.4","js-yaml":"^4.0.0","write-file-atomic":"^3.0.3"},"devDependencies":{"standard":"^16.0.1"},"_id":"write-yaml-file@4.1.3","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"384b64b952125f2831f90e7164721599c205764a","size":2268,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-4.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-4.1.3.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_4.1.3_1610215748445_0.9014616709056673"},"_hasShrinkwrap":false,"publish_time":1610215748591,"_cnpm_publish_time":1610215748591},"4.1.2":{"name":"write-yaml-file","version":"4.1.2","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=10.13"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.2.4","js-yaml":"^4.0.0","write-file-atomic":"^3.0.3"},"devDependencies":{"standard":"^16.0.1"},"_id":"write-yaml-file@4.1.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"60bcaccee29f0007d84bfcfe5f0a43df76ef8347","size":2246,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-4.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-4.1.2.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_4.1.2_1610214984248_0.30722954877137365"},"_hasShrinkwrap":false,"publish_time":1610214984369,"_cnpm_publish_time":1610214984369},"4.1.1":{"name":"write-yaml-file","version":"4.1.1","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=10.13"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.2.4","js-yaml":"^3.14.0","write-file-atomic":"^3.0.3"},"devDependencies":{"standard":"^16.0.1"},"readmeFilename":"README.md","_id":"write-yaml-file@4.1.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"109d173d66d570aab74d7d99f95ce0f6a4101e22","size":2230,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-4.1.1.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_4.1.1_1604251538220_0.9723123200386177"},"_hasShrinkwrap":false,"publish_time":1604251538382,"_cnpm_publish_time":1604251538382},"4.1.0":{"name":"write-yaml-file","version":"4.1.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=10.13"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.2.3","js-yaml":"^3.13.1","write-file-atomic":"^2.4.3"},"devDependencies":{"standard":"14.3.3"},"readmeFilename":"README.md","_id":"write-yaml-file@4.1.0","_nodeVersion":"12.14.1","_npmVersion":"6.14.4","dist":{"shasum":"8a8af90b608b0e0a91d7b1fc67d1c5f06d8092f0","size":2206,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-4.1.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_4.1.0_1587823436176_0.9748421809584502"},"_hasShrinkwrap":false,"publish_time":1587823436287,"_cnpm_publish_time":1587823436287},"4.0.0":{"name":"write-yaml-file","version":"4.0.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=10.13"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.2.3","js-yaml":"^3.13.1","make-dir":"^3.0.2","pify":"^5.0.0","write-file-atomic":"^2.4.3"},"devDependencies":{"standard":"14.3.3"},"readmeFilename":"README.md","_id":"write-yaml-file@4.0.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.7","dist":{"shasum":"31c90fc0554ca3cea9e8a957e11869f1a3742c14","size":2103,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-4.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_4.0.0_1585257878403_0.6343260952079797"},"_hasShrinkwrap":false,"publish_time":1585257878503,"_cnpm_publish_time":1585257878503},"3.0.1":{"name":"write-yaml-file","version":"3.0.1","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=8.15"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.1.11","js-yaml":"^3.8.1","make-dir":"^3.0.0","pify":"^4.0.0","write-file-atomic":"^2.4.3"},"devDependencies":{"standard":"12.0.1"},"_id":"write-yaml-file@3.0.1","_nodeVersion":"10.12.0","_npmVersion":"6.9.0","dist":{"shasum":"5d8a1dcf50fc28c05498a380677188d08ccbb260","size":2107,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-3.0.1.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_3.0.1_1559244309002_0.8605063750869766"},"_hasShrinkwrap":false,"publish_time":1559244309153,"_cnpm_publish_time":1559244309153},"3.0.0":{"name":"write-yaml-file","version":"3.0.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=8.15"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.1.11","js-yaml":"^3.8.1","make-dir":"^3.0.0","pify":"^4.0.0","write-file-atomic":"^3.0.0"},"devDependencies":{"standard":"12.0.1"},"_id":"write-yaml-file@3.0.0","_nodeVersion":"10.12.0","_npmVersion":"6.9.0","dist":{"shasum":"908d492e0354791c5662a3993584b4ce5692feec","size":2102,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-3.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_3.0.0_1559168801188_0.565010326202875"},"_hasShrinkwrap":false,"publish_time":1559168801266,"_cnpm_publish_time":1559168801266},"2.1.0":{"name":"write-yaml-file","version":"2.1.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=6"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.1.11","js-yaml":"^3.8.1","make-dir":"^3.0.0","pify":"^4.0.0","write-file-atomic":"^3.0.0"},"devDependencies":{"standard":"12.0.1"},"_id":"write-yaml-file@2.1.0","_nodeVersion":"10.12.0","_npmVersion":"6.9.0","dist":{"shasum":"c7eb68ba82e2a272e64a64ad90449cfdd1468dee","size":2100,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-2.1.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_2.1.0_1559168632127_0.6044356319921282"},"_hasShrinkwrap":false,"publish_time":1559168632265,"_cnpm_publish_time":1559168632265},"2.0.0":{"name":"write-yaml-file","version":"2.0.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=6"},"scripts":{"test":"standard"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/write-yaml-file"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.1.11","js-yaml":"^3.8.1","mkdirp":"^0.5.1","pify":"^4.0.0","write-file-atomic":"^2.0.0"},"devDependencies":{"standard":"12.0.1"},"_id":"write-yaml-file@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"shasum":"2ef0148e52397a1e19730d99f76641180c4d03af","size":2089,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-2.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_2.0.0_1540755252808_0.28646471388026806"},"_hasShrinkwrap":false,"publish_time":1540755252975,"_cnpm_publish_time":1540755252975},"1.0.1":{"name":"write-yaml-file","version":"1.0.1","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","engines":{"node":">=4"},"files":["index.js","index.d.ts"],"scripts":{"test":"standard"},"repository":{"type":"git","url":"git+https://github.com/zkochan/write-yaml-file.git"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/write-yaml-file/issues"},"homepage":"https://github.com/zkochan/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.1.11","js-yaml":"^3.8.1","mkdirp":"^0.5.1","pify":"^3.0.0","write-file-atomic":"^2.0.0"},"devDependencies":{"standard":"^11.0.1"},"gitHead":"73cdd5255dfef9ee6227d8d1b7390b95c43c74ea","_id":"write-yaml-file@1.0.1","_shasum":"a1eb1e6babeb89c01034d4ab035c27d4fb77e2a1","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.4","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"shasum":"a1eb1e6babeb89c01034d4ab035c27d4fb77e2a1","size":2194,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-1.0.1.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-yaml-file_1.0.1_1521316471476_0.007788615276082433"},"_hasShrinkwrap":false,"publish_time":1521316471607,"_cnpm_publish_time":1521316471607},"1.0.0":{"name":"write-yaml-file","version":"1.0.0","description":"Stringify and write YAML to a file atomically","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard"},"repository":{"type":"git","url":"git+https://github.com/zkochan/write-yaml-file.git"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/write-yaml-file/issues"},"homepage":"https://github.com/zkochan/write-yaml-file#readme","dependencies":{"graceful-fs":"^4.1.11","js-yaml":"^3.8.1","mkdirp":"^0.5.1","pify":"^2.3.0","write-file-atomic":"^1.3.1"},"devDependencies":{"standard":"^8.6.0"},"_id":"write-yaml-file@1.0.0","gitHead":"abcde922d60646a9a9dc6a7be232149391d03606","_shasum":"7b4bd0df72ca13fbe9d6b0178fd83c077b8ea86b","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"7b4bd0df72ca13fbe9d6b0178fd83c077b8ea86b","size":2204,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-1.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-yaml-file-1.0.0.tgz_1486859199238_0.5570835948456079"},"directories":{},"publish_time":1486859201108,"_cnpm_publish_time":1486859201108,"_hasShrinkwrap":false},"0.0.0":{"name":"write-yaml-file","version":"0.0.0","description":"Stringify and write YAML to a file atomically","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/zkochan/write-yaml-file.git"},"keywords":["write","yaml","stringify","file","fs","graceful","stable","atomic","atomically"],"author":{"name":"Zoltan Kochan"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/write-yaml-file/issues"},"homepage":"https://github.com/zkochan/write-yaml-file#readme","gitHead":"50d56aa4a3cd13d88496d3355a1e48feb7a4b9cd","_id":"write-yaml-file@0.0.0","_shasum":"410259fbe81ce8ce9191f8e697db77c7b3ec39b6","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"410259fbe81ce8ce9191f8e697db77c7b3ec39b6","size":1488,"noattachment":false,"key":"/write-yaml-file/-/write-yaml-file-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/write-yaml-file/download/write-yaml-file-0.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-yaml-file-0.0.0.tgz_1486849395615_0.7547385024372488"},"directories":{},"publish_time":1486849397502,"_cnpm_publish_time":1486849397502,"_hasShrinkwrap":false}},"readme":"# write-yaml-file\n\n> Stringify and write YAML to a file atomically\n\nCreates directories for you as needed.\n\n## Installation\n\n```\n<pnpm|yarn|npm> add write-yaml-file\n```\n\n## Usage\n\n```js\nconst writeYamlFile = require('write-yaml-file')\n\nwriteYamlFile('foo.yaml', {foo: true}).then(() => {\n  console.log('done')\n})\n```\n\n## API\n\n### `writeYamlFile(filepath, data, [options])`\n\nReturns a promise.\n\n### `writeYamlFile.sync(filepath, data, [options])`\n\n#### `options`\n\nSame options that can be passed in to [js-yaml](https://www.npmjs.com/package/js-yaml#safedump-object---options-)\n\n##### mode\n\nType: `number`\nDefault `438` *(0666 in octal)*\n\n[Mode](https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation) used when writing the file.\n\n#### makeDir\n\nType: `boolean`\nDefault: `true`\n\nCreates the directory to which the YAML file is written.\n\n## Related\n\n- [load-yaml-file](https://github.com/LinusU/load-yaml-file) - Read and parse a YAML file\n\n## License\n\n[MIT](LICENSE) © [Zoltan Kochan](https://www.kochan.io)\n","_attachments":{},"homepage":"https://github.com/zkochan/packages/tree/main/write-yaml-file#readme","bugs":{"url":"https://github.com/zkochan/packages/issues"},"license":"MIT"}