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 writing formatted YAML files from JSON.
Install
npm
npm i write-yaml --saveAPI
sync
Convert JSON to YAML and Write a YAML file to disk asynchronously.
Example:
var yaml = require('write-yaml');
yaml('config.yml', {foo: {bar: {baz: 'quux'}}});Results in config.yml with the following contents:
foo:
bar:
baz: quuxfilepath{String}:return{Object}
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.