@devolutions/picky
v0.12.0
Published
Portable X.509, PKI, JOSE and HTTP signature implementation.
Readme
Picky WASM
JavaScript bindings to picky using wasm-bindgen.
Build & publish
This should be run in the CI.
Install
wasm-pack.Build the package:
$ npm run buildPublish to npm:
$ npm publish
Testing
Some tests can be in Firefox in headless mode:
$ wasm-pack test --headless --firefoxOther tests are run using nodejs and the ava testing framework.
For these, you need to build the npm package targeting nodejs:
$ wasm-pack build --target nodejs --scope @devolutions --out-name pickyRename @devolutions/picky-wasm to @devolutions/picky in pkg/package.json.
Run the ava tests
cd ava_tests
npm install
npm test