server.props.js
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-bΒ β€’Β PublicΒ β€’Β Published

server.props.js

Serialize / Deserialize minecraft server.properties without losing comments in files. My standard is no test no bug 😊. Everything is fine.

Serialize

const input = fs.readFileSync('./server.properties').toString()
serialize(input)
/*
Map {
    'key': 'value',
    ...
}
*/

Derialize

const input = fs.readFileSync('./server.properties').toString()
serialize(input).toString()
/*
key=value
...
*/

Package Sidebar

Install

npm i server.props.js

Weekly Downloads

0

Version

0.0.1-b

License

MIT

Unpacked Size

22.6 kB

Total Files

11

Last publish

Collaborators

  • boon4681