0.1.0 • Published 7 months ago
node-yaml-file v0.1.0
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' })
0.1.0
7 months ago