Portable X.509, PKI, JOSE and HTTP signature implementation.
npm install @devolutions/pickyJavaScript bindings to picky using wasm-bindgen.
This should be run in the CI.
1. Install wasm-pack.
2. Build the package:
```
$ npm run build
3. Publish to npm:
``
$ npm publish
Some tests can be in Firefox in headless mode:
``
$ wasm-pack test --headless --firefox
Other tests are run using nodejs and the ava testing framework.nodejs
For these, you need to build the npm package targeting :
``
$ wasm-pack build --target nodejs --scope @devolutions --out-name picky
Rename @devolutions/picky-wasm to @devolutions/picky in pkg/package.json.
Run the ava tests
```
cd ava_tests
npm install
npm test