Package Exports
- write-yaml
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (write-yaml) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
write-yaml 
Basic node.js utility for converting JSON to YAML and writing formatting YAML files to disk.
Install
npm
npm i write-yaml --saveAPI
Example:
var yaml = require('write-yaml');
yaml('config.yml', {foo: {bar: {baz: 'quux'}}});Results in config.yml with the following contents:
foo:
bar:
baz: quuxdest{String}: The destination filepathdata{String}: Object of data.options{String}: Options to pass to js-yaml
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors. Released under the MIT license
This file was generated by verb-cli on July 18, 2014.