Install mediasoup-client within you client application:
$ npm install mediasoup-client@3
This makes it work in the browser by properly using browserify, webpack or similar tools, and also in Node.js (which does not yet implement
export) . It's up to the application developer to decide how to integrate mediasoup-client into his client side application.
mediasoup-client does not provide any bundled, minified and/or ES5 transpiled single file. There are tools out there to do that if your application needs it.
import * as mediasoupClient from "mediasoup-client";
const mediasoupClient = require("mediasoup-client");