toon and tooner
The Tooner tool is a complement to the TOON format, as it specifically facilitates the conversion of JSON/YAML/TOML to the token-efficient TOON format, which the `toon-format/toon` project defines and provides an SDK for.
About toon
toon-format/toon
🎒 Token-Oriented Object Notation (TOON) – Compact, human-readable, schema-aware JSON for LLM prompts. Spec, benchmarks, TypeScript SDK.
TOON helps developers working with Large Language Models (LLMs) by providing a more compact and readable way to format structured data inputs. It takes existing JSON data and translates it into a token-efficient format that LLMs can process reliably, reducing both cost and potential errors. This is primarily useful for AI/ML engineers and data scientists preparing data for LLM prompts.
About tooner
dwekat/tooner
🚀 Token-efficient serialization for LLMs - Convert JSON/YAML/TOML to TOON format with 30-60% fewer tokens. Tree-shakable, TypeScript, ESM+CJS.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work