• Home
Name Date Size #Lines LOC

..--

npm-asmjs/03-May-2024-587477

npm-wasm/03-May-2024-588477

perf/03-May-2024-705568

tests/03-May-2024-30,51330,286

.gitignoreD03-May-2024191 88

CHANGELOG.mdD03-May-20241.3 KiB5133

MakefileD03-May-20241.6 KiB4840

README.mdD03-May-2024792 2818

chaining.jsD03-May-20246.2 KiB186133

compile.shD03-May-20243.5 KiB12285

externs.jsD03-May-20244.1 KiB10971

helper.jsD03-May-20243.7 KiB10960

karma.bench.conf.jsD03-May-20242.9 KiB9755

karma.conf.jsD03-May-20243 KiB9957

package-lock.jsonD03-May-202461.4 KiB1,6211,620

package.jsonD03-May-2024503 2322

pathkit_wasm_bindings.cppD03-May-202423.7 KiB637433

README.md

1PathKit WASM API
2================
3
4This library lets you use Skia's feature-rich PathOps API in the browser.
5
6
7Compiling the source
8--------------------
9
10Download the [Enscriptem SDK](https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html).
11
12Set the EMSDK environment variable to the directory you installed it to.
13
14Run `./compile.sh` to compile a production, WASM build to `$SKIA_HOME/out/pathkit`.
15Add "--help" for more options.
16
17Deploying to npm
18----------------
19
20    # Build the release version for both asmjs and WASM
21    # These binaries will be placed in the proper places of npm-*/bin
22    make npm
23
24    # In each npm- subdirectory, run:
25    npm version minor (or patch or major)
26    npm login --registry https://wombat-dressing-room.appspot.com
27    npm publish
28