Files
mediabunny/docs/guide/introduction.md
T

31 lines
620 B
Markdown

# Introduction
Install Mediakit using your favorite package manager:
::: code-group
```bash [npm]
npm install mediakit
```
```bash [yarn]
yarn add mediakit
```
```bash [pnpm]
pnpm add mediakit
```
```bash [bun]
bun add mediakit
```
:::
Both ESM and CommonJS are supported:
```ts
import * as Mediakit from 'mediakit';
const Mediakit = require('mediakit');
```
Alternativly, you can simply include the library using a script tag in your HTML:
```html
<script src="path/to/mediakit.js"></script>
```
You can download the built distribution file from the [releases page](https://github.com/Vanilagy/mp4-muxer/releases).