bot/src/assets.ts
openaliro/openaliro
Module

assets.ts

@file Decodes the generated base64 assets into bytes, once per Worker…

bot/src/assets.ts

Overview

@file Decodes the generated base64 assets into bytes, once per Worker isolate. atob is a Web platform global available in both Node's test runner and the Workers runtime, so this needs no environment branching.

depends on assets.generated.ts  ·  used by render.ts

Undocumented (4)

decodeBase64, interRegularFont, interBoldFont, resvgWasmBytes