hjson-config
A file read/write/watch/setProperty wrapper around hjson.
Uses promises. Persists comments
Install
npm install hjson-config
Usage
constructor
const Config = const serverConfig = './serverconfig.hjson'
get
let servers = await serverConfig
set
serversip = '192.168.0.1'await serverConfig
setProperty
await serverConfig
watch
serverConfig