node-yaml-loader
v0.1.0
Published
A YAML loader for Node.js that allows you to import yaml files directly.
Readme
node-yaml-loader
Adds the ability to import yaml files to Node.js.
Usage
node --import=node-yaml-loader myscript.js# file.yaml
description: 'This is a test file.'// myscript.js import someYamlFile from './path/to/file.yaml' with { type: 'yaml' };
console.log(someYamlFile); // Output: { description: "This is a test file." }
