Installation

The SignalWire JavaScript SDK transforms your standard browser into a real-time media engine, enabling developers to make audio and video calls directly to other browsers. Using the JavaScript SDK, you can add immersive, scalable communication right in your own web pages and applications.

This SDK is easy to use and only takes a few minutes to set up and get running.
The first step is to 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/js"></script>

Then, you can use the global SignalWire variable in your application.

NPM

If you want to install the library locally, use npm:

npm i @signalwire/js

Then, import it into your application:

import SignalWire from '@signalwire/js'

What’s Next
Did this page help you?