@sctlib/mwc

0.3.0 • Public • Published

Lightweight web-components (and custom javascript API sdk) to communicate with matrix (public) homeservers, rooms, spaces, users, events.

This project is in prototype state, and its APIs are subject to changes. Feel free to discuss features and bugs in git issues or the matrix room(s).

Example usage

In an HTML file, we can use the following code to display a matrix room (here by its alias, and works with its ID too).

<script type="module" src="https://unpkg.com/@sctlib/mwc"></script>
<matrix-room profile-id="#sctlib-mwc:matrix.org"></matrix-room>

Package Sidebar

Install

npm i @sctlib/mwc

Weekly Downloads

5

Version

0.3.0

License

GPL-3.0-or-later

Unpacked Size

494 kB

Total Files

163

Last publish

Collaborators

  • user-09876