Reference
Register the table
import { … } from "@johnmorrisdotca/tenka/element/define";
84.9 kB minified and gzipped, with everything it imports (measured with esbuild)
Define the default table when imported; no effect on a server.
Exports
| Name | Kind | What it is |
|---|---|---|
defineTable | function | Register a default or custom-tag table; server-safe and idempotent. |
TENKA_EMBED_OPTION_KEYS | constant | Native options, checked by shared builder coverage. |
TenkaElementOptions | type | Full native host options, including names and custom card/dice drawings. |
TenkaTable | class | A reflected native Tenka table, safe to import without a browser. |