Yapperino

This commit is contained in:
Vanilagy
2025-06-16 20:51:58 +02:00
parent f675966004
commit 28597ea93c
7 changed files with 129 additions and 30 deletions
+33
View File
@@ -0,0 +1,33 @@
# Installation
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
```
:::
Then, simply import it like this:
```ts
import { ... } from 'mediabunny'; // ESM
const { ... } = require('mediabunny'); // or CommonJS
```
ESM is prefered because it gives you tree shaking.
You can also just 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/mediabunny/releases).