SDKs & API reference
ModDef has six implementations that share a conformance suite: they decode the same document to the same values, byte for byte. Each ships API documentation generated by that language's own tool, so you land on the reference your ecosystem expects.
| Language | Package | Focus | API reference |
|---|---|---|---|
| Go | github.com/ModDefOrg/moddef/go | reference implementation, CLI | pkg.go.dev style → |
| TypeScript | @moddef/core | Node + browser | TypeDoc → |
| Rust | moddef-core | no_std, embedded to server | rustdoc → |
| Python | moddef | asyncio, pymodbus | Sphinx → |
| C | moddef-c | embedded, zero-alloc | Doxygen → |
| C++ | moddef-cpp | C++23 wrapper over the C core | Doxygen → |
Every runtime provides the same core surface (parse a document, decode and encode points, resolve measurands, drive a device through a transport), adapted to each language's conventions. The Getting started guide shows the same read in every language.
note
The API reference pages are built by each language's tool and published by CI. Until the first documentation build runs, the links above show a placeholder.