README
Hello!
As I can see you probably decided to give it a try... So I'm glad.
How to use it?
Using this module is very simple:
const lkc = require('lkc');
const {readFileSync, writeFileSync } = require('fs');
const stringifized = lkc.stringify({
name: "Moscow",
population: 17200000,
monuments: [
"Ernitage",
"Kremlin"
]
})
console.log(stringifized);
writeFileSync('./file.lkc',stringifized,'utf8');
const parsed = lkc.parse(readFileSync('./file.lkc','utf8'))
console.log(parsed);
Very important info
LKC parser may not work well if it doesn't parse a data from file read using fs.