一个现代的 ESM 版本的 Potrace 库,可在浏览器中使用。
A modern ESM build of the Potrace library for use in the browser.
npm install --save esm-potrace-wasm…Modify src/potrace/ and run npm run build to update the ESM build in dist/.
The emscripten build file is located at ./build.sh (or build.ps1 for Win32) respectively. A simple demo
that imports dist/index.js is available in demo/ and can be started by running npm start.
This library is used in SVGcode.
⚠️ GPL-v2.0, due to the original Potrace license.
Based on @nturley's fork of @IguteChung's initial potrace-wasm. Unfortunately, the original author did not react on my Pull Request, so I forked.
暂无开放 Issues,或尚未同步最近议题。