@aktriver/types-lib-jitsi-meet

Type definitions for lib-jitsi-meet (incomplete, unstable).

Usage no npm install needed!

<script type="module">
  import aktriverTypesLibJitsiMeet from 'https://cdn.skypack.dev/@aktriver/types-lib-jitsi-meet';
</script>

README

@aktriver/types-lib-jitsi-meet

Type definitions for lib-jitsi-meet, created manually (incomplete, unstable).

I was looking for type definitions package for lib-jitsi-meet, but it wasn't found.
(Same thing is being discussed in original repo's issue.)

So I created it manually for my uses.
This includes some main type definitions picked by API documents and original sources.

This type definitions is incomplete, unstable and may have many mistakes.
Be careful if using this.
Any PR is welcome.

Usage

Install this package.

npm install --save-dev @aktriver/types-lib-jitsi-meet
// yarn add --dev @aktriver/types-lib-jitsi-meet

Import it from any ts file.
e.g. index.ts

// This doesn't load lib-jitsi-meet.min.js.
// Just importing type definitions.
import "@aktriver/types-lib-jitsi-meet";

Then you can find JitsiMeetJS interface in window object.

Of course you need to load lib-jitsi-meet.min.js in official way.