1.1.4 • Published 3 months ago
@qworum/qworum-for-web-pages v1.1.4
Qworum for web pages
This is Qworum's official JavaScript library for web frontends.
Using this library, web pages can communicate with the Qworum browser extension for:
- executing Qworum scripts,
- reading session data (such as reading the call arguments for the current service call),
- writing session data.
How to build
rake build
Documentation
The documentation for the latest version of this library is available here.
How to import this library into your frontend code
This library is an ECMAScript module that does not have any dependencies. It can be imported in three ways:
- (Recommended) Import from the ESM CDN. Example:
import { Qworum } from "https://esm.sh/@qworum/qworum-for-web-pages@1.0.11";
. - Import by copying the
qworum-for-web-pages.js
file on GitHub into a local file. For example you can name your local copyqworum-for-web-pages.mjs
and import it thusly:import { Qworum } from "path/to/qworum-for-web-pages.mjs";
. - Use a bundler for importing from NPM. Search for
@qworum/qworum-for-web-pages
on NPM.
Enabling Qworum for your website
By default this library (and the browser extension) will work as intended for local development only.
In order to enable Qworum for your internet or intranet website, consider purchasing a subscription.
License
This software is released under the Apache-2.0 license ∎