Read and parse a YAML file
<npm|yarn|pnpm> add read-yaml-fileconst 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