Skip to content

Tools

Utilities for working with Twilic outside of application code.

Developer tools

ToolDescription
Twilic CLIEncode, decode, and benchmark from the terminal
PlaygroundCompare encoded sizes in the browser
ExamplesRunnable projects — HTTP, WebSocket, telemetry, logs, cache
BenchmarkThroughput and size measurements

Documentation

ResourceDescription
API ReferenceSDK function signatures and types
IntegrationsHono, Express, Fastify, Fetch, Axios
TroubleshootingCommon errors and fixes
GlossaryTerm 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 napi

Full CLI documentation: Twilic CLI.

Current tools use @twilic/core, which targets the v3 wire line. For the current specification, see v3 Reference Profile.

Released under the CC-BY-4.0 License.