All Projects → EFForg → https-everywhere-lib-wasm

EFForg / https-everywhere-lib-wasm

Licence: other
A library for HTTPS Everywhere which compiles to WASM

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
shell
77523 projects

HTTPS Everywhere WASM Library

Build Status Latest Version Rust Documentation

Preparing for the build

git submodule update --init --recursive

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].