Reputation: 125
The title pretty much says it all. I just want to save data and access it anytime I want. JS-Yaml is very good for parsing yaml but the thing is that I also need to know how to make a config and write data to that yaml + get that data. Thanks
Upvotes: 0
Views: 4909
Reputation: 777
If you are using node js, there are plenty of libraries available to read and write yaml file
You can try using: https://www.npmjs.com/package/node-yaml
npm install --save node-yaml
It has functions for open, parse and write yml files. Also I like the documentation
Upvotes: 2