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

640 B

Introduction

Install Mediabunny using your favorite package manager:

::: code-group

npm install mediabunny
yarn add mediabunny
pnpm add mediabunny
bun add mediabunny

:::

Both ESM and CommonJS are supported:

import * as Mediabunny from 'mediabunny';
const Mediabunny = require('mediabunny');

Alternativly, you can simply include the library using a script tag in your HTML:

<script src="path/to/mediabunny.js"></script>

You can download the built distribution file from the releases page.