toon and toon4s

TOON is the specification and primary TypeScript implementation, while toon4s is a JVM language binding that enables the same serialization format to be used in Java/Scala environments—making them ecosystem siblings that extend the same standard to different platforms.

toon
67
Established
toon4s
42
Emerging
Maintenance 13/25
Adoption 15/25
Maturity 22/25
Community 17/25
Maintenance 10/25
Adoption 7/25
Maturity 13/25
Community 12/25
Stars: 23,207
Forks: 1,033
Downloads:
Commits (30d): 1
Language: TypeScript
License: MIT
Stars: 27
Forks: 4
Downloads:
Commits (30d): 0
Language: Scala
License: MIT
No risk flags
No Package No Dependents

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.

LLM-prompting AI-data-preparation token-optimization structured-data natural-language-processing

About toon4s

com-vitthalmirji/toon4s

toon4s: Token-Oriented Object Notation for JVM

This project helps developers working on JVM applications process data more efficiently and cost-effectively, particularly when integrating with Large Language Models (LLMs). It takes standard data (like JSON) and converts it into a highly compact 'Token-Oriented Object Notation' (TOON) format. This results in significantly lower token usage and costs for LLMs, while also providing robust, type-safe data handling for Scala developers.

LLM-integration data-serialization JVM-development cost-optimization Scala-development

Scores updated daily from GitHub, PyPI, and npm data. How scores work