0.1.0 • Published 2 years ago
node-yaml-file v0.1.0
yaml-file
Simple YAML Read/Write to Files for NodeJS
Installation
npm install node-yaml-fileor
yarn add node-yaml-fileUsage
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
2 years ago