3 releases
0.1.2 | Sep 6, 2019 |
---|---|
0.1.1 | Jul 20, 2019 |
0.1.0 | Jul 20, 2019 |
#766 in WebAssembly
58KB
777 lines
HTTPS Everywhere WASM Library
Building build environment
docker build -t https-everywhere-lib-wasm .
Running build environment
docker run -it --rm -v $(pwd):/opt https-everywhere-lib-wasm
Building library
Run the aforementioned build environment. In that shell:
wasm-pack build -t no-modules
Testing the library
We need to add a special flag before testing in node. This should change some time in the future.
WBINDGEN_I_PROMISE_JS_SYNTAX_WORKS_IN_NODE=1 wasm-pack test --node
Dependencies
~1–1.7MB
~31K SLoC