JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6628
  • Score
    100M100P100Q123834F

Very thin wrapper around js-yaml for directly reading in YAML files.

Package Exports

  • read-yaml

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (read-yaml) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

read-yaml NPM version

Very thin wrapper around js-yaml for directly reading in YAML files.

Install

Install with npm:

npm i read-yaml --save-dev

API

.readYAMLSync ( filepath )

Read YAML file synchronously and parse content as JSON

  • filepath {String}:
  • return {Object}

.readYAML ( filepath )

Read YAML file asynchronously and parse content as JSON

  • filepath {String}:
  • return {Object}

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on June 10, 2014.