Files
mediabunny/docs/guide/introduction.md
T
2025-06-16 15:46:44 +02:00

31 lines
640 B
Markdown

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