Sign in Sign up
rubygems

toon-fu

Encodes Ruby hashes, arrays, dates and your own objects into TOON, the token-efficient format for LLM prompts: tables for uniform arrays, quotes only where needed. The only Ruby TOON gem that passes all of the current spec's encode fixtures; its version tracks the spec it implements, and anything it cannot represent raises an error so your data arrives complete.

Activity

Latest release
2w ago
Total releases
8
Cadence
~daily
Last 12 months
8

Reach

Downloads
5.5k

Details

License
MIT
First release
Sep 24, 2026
Releases
Version Released
4.4.0 minor
4.3.0 minor
4.1.4 patch
4.1.3 patch
4.1.2 patch
4.1.1 patch
4.1.0 major
0.0.1 initial