Skip to content

EmNudge/svgbob-wasm-port

Repository files navigation

SVGBob WASM

All previous SVGBob WASM builds were out of date.

This is a dead simple, minimal config, SVGBob wasm build.

Usage

import { getRenderer } from '@EmNudge/svgbob-wasm';

getRenderer().then(render => {
  const svgText = render('|hello|');
  document.body.innerHTML = svgText; // do something with SVG text
});

Build

Ensure you have wasm-pack and pnpm installed.

pnpm i
npm run build

Future Plans

Optimally all these packages would be retired in favor of an official build maintained by the current svgbob project owner.

The hope was to showcase a simple-enough port to lower the burden of setting up the build process.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published