Serialize / Deserialize minecraft server.properties without losing comments in files. My standard is no test no bug π. Everything is fine.
const input = fs.readFileSync('./server.properties').toString()
serialize(input)
/*
Map {
'key': 'value',
...
}
*/
const input = fs.readFileSync('./server.properties').toString()
serialize(input).toString()
/*
key=value
...
*/