rl2020
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

RevocationList2020

This library provides the implementation for the RevocationList2020 proposal described here.

Demo

The following demo uses the wasm library on a web page.

Demo

To run the demo locally, build the javascript library using:

wasm-pack build --target web --debug

and then launch a local web server, for example using python:

python3 -m http.server 7654

Usage/Examples

The following example shows how to use the library with Rust.

https://github.com/noandrea/rl2020.rs/blob/aa3b2f099c6faa9f2ad45618cc3b0d4ae6bc0f4e/examples/main.rs#L5-L33

To run the example locally use the command:

cargo run --example main

Running Tests

To run tests, run the following command

  cargo test

Installation

Rust

The rust library is published on crates.io

Npm

The wasm library is published on npmjs

Package Sidebar

Install

npm i rl2020

Weekly Downloads

0

Version

0.2.0

License

Apache-2.0

Unpacked Size

182 kB

Total Files

7

Last publish

Collaborators

  • noandrea