An open API service indexing awesome lists of open source software.

https://github.com/eclipse-biscuit/biscuit-component-wasm

NPM package distributing biscuit in WebAssembly for web components
https://github.com/eclipse-biscuit/biscuit-component-wasm

Last synced: about 1 year ago
JSON representation

NPM package distributing biscuit in WebAssembly for web components

Awesome Lists containing this project

README

          

# 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
```