@brief-jetzt/wasm-typst
TypeScript icon, indicating that this package has built-in type declarations

0.13.1 • Public • Published

CI CD version downloads License

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 --headless

Building the package:

wasm-pack build

You can then install the package in another npm project:

cd <your-npm-project>
npm install <path-to-this-repo>/pkg

If 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

Readme

Keywords

none

Package Sidebar

Install

npm i @brief-jetzt/wasm-typst

Weekly Downloads

0

Version

0.13.1

License

none

Unpacked Size

17.5 MB

Total Files

6

Last publish

Collaborators

  • soerface