Installation
The JavaScript SDK v2 is easy to use and only takes a few minutes to set up and get running.
You can either import it from a CDN or install it with npm.
CDN
If you want to use the CDN, import the script in your html:
<script src="https://unpkg.com/@signalwire/[email protected]^1"></script>
Then, you can use the global Relay
variable in your application.
NPM
If you want to install the library locally, use npm:
npm i @signalwire/[email protected]^1
Then, import Relay
into your application:
import { Relay } from '@signalwire/js'
Updated 10 months ago
Did this page help you?