yamlfile
v1.0.1
Published
simple api to read and write yaml files
Downloads
15
Readme
yamlfile
simple api to read and write yaml files
Install
npm install yamlfile
Using
Reading a yaml file
var yamlfile = require('yamlfile')
var data = yamlfile.readFileSync('somefile.yaml')
Writing a yaml file
var yamlfile = require('yamlfile')
var data = {a: 3, b: 5}
yamlfile.writeFileSync('somefile.yaml', data)
Author
License
MIT