mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
31 lines
620 B
Markdown
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). |