1.2.1 • Published 5 years ago

awesome-yaml-reader v1.2.1

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
5 years ago

Installation

Add the package through your package manager of choice:

npm install awesome-yaml-reader
# yarn add awesome-yaml-reader

Example Usage

const readYaml = require('awesome-yaml-reader');
// supports default import for ES6: import readYaml from 'awesome-yaml-reader'

const actual = readYaml('/path/to/some/yaml/file');
// => JavaScript object with the keys from the yaml

readYaml(filepath, options)

Kind: global function

ParamTypeDescription
filepathstringPath to the yaml file to parse
optionsAwesomeYamlReaderOptionsOptions for the YAML parser and fs file reader

This is the documentation for Awesome YAML Reader. Documentation is generated by JSDoc and jsdoc-to-markdown.

© 2019 Jeroen Claassens (Favna) support@favna.xyz

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago