Begin work on documentation

This commit is contained in:
David Payr
2025-03-29 11:47:21 +01:00
parent 95cc8beb06
commit 53e8ce5cac
9 changed files with 2704 additions and 4 deletions
+31
View File
@@ -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).