biscuit-auth / biscuit-component-wasm

NPM package distributing biscuit in WebAssembly for web components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backend for biscuit-web-components

Biscuit-web-components can't use biscuit-wasm directly since it only exposes helpers dedicated to biscuit creation and verification.

This library exposes helpers for biscuit inspection, inline error reporting, etc.

wasm-pack build --scope biscuit-auth --target web --out-dir static --out-name biscuit

Generate the npm package:

wasm-pack build --scope biscuit-auth --target web --out-dir web --out-name biscuit
cd web
npm pack
// edit package.json to add "snippets" to the "files" array

About

NPM package distributing biscuit in WebAssembly for web components

License:Apache License 2.0


Languages

Language:Rust 99.7%Language:Nix 0.3%