node-yaml-file
v0.1.0
Published
Simple YAML Read/Write to Files for NodeJS
Downloads
4
Readme
yaml-file
Simple YAML Read/Write to Files for NodeJS
Installation
npm install node-yaml-file
or
yarn add node-yaml-file
Usage
import yaml from 'node-yaml-file'
const data = await yaml.read('path/to/data.yaml')
console.log(data)
await yaml.write('path/to/hello.yaml', { hello: 'world' })