@devolutions/picky
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

Picky WASM

JavaScript bindings to picky using wasm-bindgen.

Build & publish

This should be run in the CI.

  1. Install wasm-pack.

  2. Build the package:

    $ wasm-pack build --target web --scope devolutions --out-name picky
    
  3. Rename @devolutions/picky-wasm to @devolutions/picky in pkg/package.json.

  4. Publish to npm:

    $ wasm-pack publish
    

Testing

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. For these, you need to build the npm package targeting nodejs:

$ 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

Package Sidebar

Install

npm i @devolutions/picky

Weekly Downloads

79

Version

0.7.0

License

MIT OR Apache-2.0

Unpacked Size

1.1 MB

Total Files

6

Last publish

Collaborators

  • devolutionsnetwork
  • pdugre
  • devolutionsinfra