@brief-jetzt/wasm-typst
v0.13.1
Published
[](https://github.com/brief-jetzt/wasm-typst/actions/workflows/CI.yml) [](https://github.
Downloads
568
Readme
wasm bindings for typst
This package allows you to use the typst library in the browser.
Usage
TODO
Developing
Running tests:
wasm-pack test --chrome --firefox --headlessBuilding the package:
wasm-pack buildYou can then install the package in another npm project:
cd <your-npm-project>
npm install <path-to-this-repo>/pkgIf you are installing it in a project that already has @brief-jetzt/wasm-typst installed, you may want to
modify it's package.json: Make sure that the local dependency has the prefix @brief-jetzt set, so that
your import statements keep working:
[…]
"dependencies": {
"@brief-jetzt/wasm-typst": "file:../../wasm-typst/pkg",
[…]Run npm i.
Note: The wasm bindings are based on this tutorial
