sbsaga/toon
TOON — Laravel AI package for compact, human-readable, token-efficient data format with JSON ⇄ TOON conversion for ChatGPT, OpenAI, and other LLM prompts.
Provides bidirectional conversion with token estimation and diff utilities, enabling developers to measure compression gains and validate round-trip conversions. Built as a Laravel package with facade, helpers, and collection macros while maintaining backward compatibility through configurable modes—supports both legacy and strict parsing for production workflows. Demonstrates 43% character savings on typical paginated data through a table-like syntax that collapses repeated object structures into compact column-and-row notation.
Stars
57
Forks
8
Language
PHP
License
MIT
Category
Last pushed
Jan 03, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/sbsaga/toon"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
connectaman/LoPace
LoPace is a bi-directional encoding framework designed to reduce the storage footprint of...
roli-lpci/lintlang
Static linter for AI agent tool descriptions, system prompts, and configs. Catches vague...
LakshmiN5/promptqc
ESLint for your system prompts — catch contradictions, anti-patterns, injection vulnerabilities,...
nooscraft/tokuin
CLI tool – estimates LLM tokens/costs and runs provider-aware load tests for OpenAI, Anthropic,...
thesupermegabuff/megabuff-cli
🤖 CLI for Better prompts, transparent costs, & zero vendor lock-in. Optimize AI prompts across...