{"name":"write-yaml","description":"Basic node.js utility for converting JSON to YAML and writing formatting YAML files to disk.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/write-yaml","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/write-yaml.git"},"bugs":{"url":"https://github.com/jonschlinkert/write-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/write-yaml/blob/master/LICENSE-MIT"}],"keywords":["yaml","json","read","write","format","data"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","read-yaml":"^0.2.0","should":"^4.0.4","verb":"~0.2.6","verb-tag-jscomments":"^0.1.2"},"dependencies":{"js-yaml":"^3.0.2","write":"^0.1.1","xtend":"^3.0.0"},"_id":"write-yaml@0.1.1","_shasum":"d36b60e3c19e8c777200af609610a558650ae752","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d36b60e3c19e8c777200af609610a558650ae752","tarball":"http://registry-npm.ywwl.com/write-yaml/download/write-yaml-0.1.1.tgz","integrity":"sha512-ha00XJCwyD/ek2uY6ZWdcm7KZtw1M8BRmjMz64SR8+5Ei+OB7tM9t+iKeLs7IRgH8hD9H7VlgkI3LwHvu6czeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY3t51LgVFAJwkzOv3RJDfWIo2y3zNE3d+JUPYotexVwIhANyGeCidRdhaGW2hMNdglwDqH15k4pEP1jLguk8ln260"}],"size":3468,"noattachment":false,"key":"/write-yaml/-/write-yaml-0.1.1.tgz"},"directories":{},"readme":"# write-yaml [![NPM version](https://img.shields.io/npm/v/write-yaml.svg?style=flat)](https://www.npmjs.com/package/write-yaml) [![NPM monthly downloads](https://img.shields.io/npm/dm/write-yaml.svg?style=flat)](https://npmjs.org/package/write-yaml) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/write-yaml.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/write-yaml)\n\n> Write YAML. Converts JSON to YAML writes it to the specified file.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save write-yaml\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add write-yaml\n```\n\n## Usage\n\nAdd to your javascript/node.js application with the following line of code:\n\n```js\nvar yaml = require('write-yaml');\n```\n\n### async\n\n```js\nvar data = {language: 'node_js', node_js: ['0.10', '0.11']};\n\nyaml('.travis.yml', data, function(err) {\n  // do stuff with err\n});\n```\n\nWould write `.travis.yml` to disk with the following contents:\n\n```yaml\nlanguage: node_js\nnode_js:\n  - \"0.10\"\n  - \"0.11\"\n```\n\n### sync\n\n```js\nyaml.sync('.travis.yml', data);\n```\n\nWould write `.travis.yml` to disk with the following contents:\n\n```yaml\nlanguage: node_js\nnode_js:\n  - \"0.10\"\n  - \"0.11\"\n```\n\n## About\n\n### Related projects\n\n* [read-data](https://www.npmjs.com/package/read-data): Read JSON or YAML files. | [homepage](https://github.com/jonschlinkert/read-data \"Read JSON or YAML files.\")\n* [read-yaml](https://www.npmjs.com/package/read-yaml): Very thin wrapper around js-yaml for directly reading in YAML files. | [homepage](https://github.com/jonschlinkert/read-yaml \"Very thin wrapper around js-yaml for directly reading in YAML files.\")\n* [write-data](https://www.npmjs.com/package/write-data): Write a YAML or JSON file to disk. Automatically detects the format to write based… [more](https://github.com/jonschlinkert/write-data) | [homepage](https://github.com/jonschlinkert/write-data \"Write a YAML or JSON file to disk. Automatically detects the format to write based on extension. Or pass `ext` on the options.\")\n* [write-json](https://www.npmjs.com/package/write-json): Write a JSON file to disk, also creates intermediate directories in the destination path if… [more](https://github.com/jonschlinkert/write-json) | [homepage](https://github.com/jonschlinkert/write-json \"Write a JSON file to disk, also creates intermediate directories in the destination path if they don't already exist.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 12 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [shinnn](https://github.com/shinnn) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 12, 2017._","publish_time":1405737173584,"_cnpm_publish_time":1405737173584,"dist-tags":{"latest":"1.0.0"}}