@myriaddreamin/typst.ts
v0.5.0-rc7
Published
Run Typst in JavaScriptWorld.
Downloads
1,533
Readme
Typst.ts
Usage:
import { $typst } from '@myriaddreamin/typst.ts/dist/esm/contrib/snippet.mjs';
console.log(
(
await $typst.svg({
mainContent: 'Hello, typst!',
})
).length,
);
// :-> 7317
See Typst.ts and documentation for details: