mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Begin work on documentation
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 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).
|
||||
Reference in New Issue
Block a user