yaml-register
v0.1.0
Published
A require hook to load YAML files
Downloads
73
Readme
yaml-register
yaml-register
hooks into Node's require
function to load .yaml
and .yml
files.
const { register } = require('yaml-register');
register();
const data = require('/path/to/my-file.yaml');