1.0.1 • Published 9 years ago

yamlfile v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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

Geza Kovacs

License

MIT