var readYaml = ;// fixture.yaml// - 'foo'// - false;
npm install read-yaml-promise
var readYaml = ;
readYaml(filePath [, options])
When it finish reading and parsing a YAML file, it will be fulfilled with an
Object of the parsed data as its first argument.
When it fails to read or parse a file, it will be rejected with an error as its first argument.
var readYaml = ;var FAILSAFE_SCHEMA = FAILSAFE_SCHEMA; // npm install js-yaml// fixture.yml (foo: true);;
filename option is automatically specified using the first argument.
Copyright (c) 2014 Shinnosuke Watanabe
Licensed under the MIT License.