req-yaml

reqyaml(filename) lets you load YML/YAMML files

Usage no npm install needed!

<script type="module">
  import reqYaml from 'https://cdn.skypack.dev/req-yaml';
</script>

README

YML/YAML File Loader

const reqyaml = require('req-yaml');
var yaml = reqyaml('./config.yaml');

Changelog

0.2.0

  • Recode in CoffeeScript
  • add resolve(filepath) method