Read and parse a YAML file
> Read and parse a YAML file

``sh`
`js
const readYamlFile = require('read-yaml-file')
readYamlFile('foo.yml').then(data => {
console.log(data)
//=> {foo: true}
})
``
Returns a promise for the parsed YAML.
Returns the parsed YAML.
- write-yaml-file - Stringify and write YAML to a file atomically
*
This package was forked from load-yaml-file