TOON Libraries: Install TOON in 25 Languages

TOON is available in multiple languages. Choose your preferred ecosystem and start integrating TOON into your projects today.

  • TOON for TypeScript / JavaScript

    Official TypeScript/JavaScript implementation · Official · Stable

    npm install @toon-format/toon
  • TOON for Python

    Official Python implementation · Official · Stable

    pip install toon_format
  • TOON for Rust

    Official Rust implementation · Official · Stable

    cargo add toon-format
  • TOON for .NET

    Official .NET implementation · Official · In development

    dotnet add package Toon.Format
  • TOON for Dart

    Official Dart implementation · Official · In development

    dart pub add toon_format
  • TOON for Go

    Official Go implementation · Official · In development

    go get github.com/toon-format/toon-go
  • TOON for Java

    Official Java implementation · Official · Stable

    implementation "io.github.toon-format:toon:1.0.0"
  • TOON for Julia

    Official Julia implementation · Official · Stable

    Pkg.add("ToonFormat")
  • TOON for Apex

    Salesforce Apex implementation · Community · Stable

    sfdx force:source:deploy -p force-app
  • TOON for C++

    C++ implementation · Community · Stable

    #include <toon.hpp>
  • TOON for Clojure

    Clojure implementation · Community · Stable

    {:deps {vadelabs/toon {:mvn/version "..."}}}
  • TOON for Crystal

    Crystal implementation · Community · Stable

    shards install
  • TOON for Elixir

    Elixir implementation · Community · Stable

    {:toon_ex, "~> 0.1"}
  • TOON for Gleam

    Gleam implementation · Community · Stable

    gleam add toon_codec
  • TOON for Go (Community)

    Community Go implementation · Community · Stable

    go get github.com/alpkeskin/gotoon
  • TOON for Scala

    Scala implementation · Community · Stable

    libraryDependencies += "com.github.vim89" %% "toon4s" % "0.1"
  • TOON for Lua / Neovim

    Lua/Neovim implementation · Community · Stable

    use 'thalesgelinger/toon.nvim'
  • TOON for OCaml

    OCaml implementation · Community · Stable

    opam install toon
  • TOON for Perl

    Perl implementation · Community · Stable

    cpanm Data::TOON
  • TOON for PHP

    PHP implementation · Community · Stable

    composer require helgesverre/toon-php
  • TOON for Laravel

    Laravel framework integration · Community · Stable

    composer require jobmetric/laravel-toon
  • TOON for R

    R implementation · Community · Stable

    install_github("laresbernardo/toon")
  • TOON for Ruby

    Ruby implementation · Community · Stable

    gem install toon-ruby
  • TOON for Swift

    Swift implementation · Community · Stable

    .package(url: "https://github.com/mattt/TOONEncoder.git", from: "0.0.1")
  • TOON for Kotlin

    Kotlin implementation · Community · Stable

    implementation 'com.github.vexpera-br:kotlin-toon:1.0.0'