This package has been deprecated

Author message:

Moved to @favware/yamlreader. Please migrate for future updates

awesome-yaml-reader
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

logo

Awesome YAML Reader

Awesome minimal wrapper around js-yaml for directly reading in YAML files

DepfuLicenseNode VersionBuild Status

NPM bundle size (minified)NPM bundle size (minified + gzip)NPM VersionNPM Weekly DownloadsNPM Total Downloads


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

Param Type Description
filepath string

Path to the yaml file to parse

[options] AwesomeYamlReaderOptions

Options 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

Package Sidebar

Install

npm i awesome-yaml-reader

Weekly Downloads

5

Version

1.2.1

License

GPL-3.0

Unpacked Size

42.4 kB

Total Files

7

Last publish

Collaborators

  • favna