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

0.1.0 • Public • Published

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');

Package Sidebar

Install

npm i yaml-register

Weekly Downloads

16

Version

0.1.0

License

MIT

Unpacked Size

1.67 kB

Total Files

7

Last publish

Collaborators

  • natemoo-re