lkc

[Ok then. LKC is my own type of Object Notification for JS. It loads data line to line, but I think it's faster than JSON.]

Usage no npm install needed!

<script type="module">
  import lkc from 'https://cdn.skypack.dev/lkc';
</script>

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.