## Usage Add to your javascript/node.js application with the following line of code: ```js var yaml = require('{%= name %}'); ``` ### async ```js var data = {language: 'node_js', node_js: ['0.10', '0.11']}; yaml('.travis.yml', data, function(err) { // do stuff with err }); ``` Would write `.travis.yml` to disk with the following contents: ```yaml language: node_js node_js: - "0.10" - "0.11" ``` ### sync ```js yaml.sync('.travis.yml', data); ``` Would write `.travis.yml` to disk with the following contents: ```yaml language: node_js node_js: - "0.10" - "0.11" ```