Tools
Utilities for working with Twilic outside of application code.
Developer tools
| Tool | Description |
|---|---|
| Twilic CLI | Encode, decode, and benchmark from the terminal |
| Playground | Compare encoded sizes in the browser |
| Examples | Runnable projects — HTTP, WebSocket, telemetry, logs, cache |
| Benchmark | Throughput and size measurements |
Documentation
| Resource | Description |
|---|---|
| API Reference | SDK function signatures and types |
| Integrations | Hono, Express, Fastify, Fetch, Axios |
| Troubleshooting | Common errors and fixes |
| Glossary | Term definitions |
CLI quick reference
bash
# Encode JSON → Twilic
echo '{"a":1}' | twilic encode
# Decode Twilic → JSON
cat data.twilic | twilic decode --pretty
# Benchmark vs MessagePack, CBOR, BSON, JSON
twilic bench --backend napiFull CLI documentation: Twilic CLI.
Current tools use @twilic/core, which targets the v3 wire line. For the current specification, see v3 Reference Profile.