Using the daily-js front-end library
With this library you can:
daily-js, you can load the library in a
<script> tag or bundle with webpack and other tools.
You can use this library from a
<script> tag, as a CommonJS-style module with
require, or as an ES6-style module with
import (including within a
<script type="module"> context).
The easiest way to get started is to load this library from unpkg, and add a couple of lines of code to your web page or app.
Of course, you can also use a bundler like webpack or rollup.
npm install @daily-co/daily-js
Then in your application code: