The TOON story
For years, I kept toonkit as my secret weapon in Bengaluru's IoT labs – powering 1000s of health trackers with lean telemetry that JSON couldn't touch.
JSON? Bloated repeats of "device_id", "battery" every row – 145 bytes crushed buffers, drained batteries. Normal toon formats? Great theory, but no JS parser, no browser magic.
My toonkit: Schema once (table-style), type codes ( s→string, n→number, b→boolean), then infinite rows. Shrinks to 90 bytes. toon is the format.toonkit is my battle-tested npm lib that parses it to typed JS objects instantly. JSON repeats; we don't.
Now opening it up – from internal hero to open source. Libraries.io even auto-listed it (I never submitted)! Star the revolution: ⭐