CompactData is a compact data serialisation format
JSON
{"data":{"is":["v","e","r","b","o","s","e"]}}
CompactData
data(is[c;o;m;p;a;c;t])

CompactData Example for Node

A very basic Node example importing the npm package and using console.log to show the two methods: parse and stringify in action.

const CompactData = require("@numtechnology/compactdata");

console.log(CompactData.parse("foo=bar"));
//-> { foo: "bar" }
console.log(CompactData.stringify({ foo: "bar" }))
//-> foo=bar