# baha-anime-dl-ext

> This tool is used to download low quality Anime from Bahamut.

Latest version **1.0.0** (published 2025-04-19) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install baha-anime-dl-ext
pnpm add baha-anime-dl-ext
yarn add baha-anime-dl-ext
bun add baha-anime-dl-ext
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2025-04-19 |
| First published | 2023-09-26 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 41 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | JacobLinCool |
| Maintainers | jacoblincool |

## Links

- npm: https://www.npmjs.com/package/baha-anime-dl-ext
- Repository: https://github.com/JacobLinCool/baha-anime-dl
- Homepage: https://jacoblincool.github.io/baha-anime-dl
- Issues: https://github.com/JacobLinCool/baha-anime-dl/issues
- npm.io page: https://npm.io/package/baha-anime-dl-ext

## Dependencies (5)

- [debug](https://npm.io/package/debug.md) ^4.4.0
- [cross-fetch](https://npm.io/package/cross-fetch.md) ^4.1.0
- [fetch-cookie](https://npm.io/package/fetch-cookie.md) ^3.1.0
- [tough-cookie](https://npm.io/package/tough-cookie.md) ^5.1.2
- [fluent-ffmpeg](https://npm.io/package/fluent-ffmpeg.md) ^2.1.3

## Recent versions

- 1.0.0 (latest) — 2025-04-19
- 0.0.5 — 2024-05-13
- 0.0.4 — 2023-10-10
- 0.0.3 — 2023-09-27
- 0.0.2 — 2023-09-26
- 0.0.1 — 2023-09-26

## README

# Bahamut Anime Downloader Extensions

This package contains useful functions for Bahamut Anime Downloader.

## Features

- `build`: unlike the original `build` function, you can craft a new fetch function with your own options, including custom headers, cookies, and cache.
- `merge`: the `merge` function accepts a `Download` object that returned from `Downloader.download` method, it automatically waits and merges the downloaded files into a single mp4 file. (This will not work if `ffmpeg` or file system is not supported)

## Example

```ts
import { Downloader, default_config } from "baha-anime-dl";
import { build, merge } from "baha-anime-dl-ext";
import fs from "node:fs";

main();

async function main() {
    const config = {
        ...default_config(),
        fetcher: build({
            headers: {
                "User-Agent": "Mozilla/5.0 Custom User Agent",
            },
        }),
    };

    const downloader = new Downloader(config);

    const download = downloader.download(34886);
    const merged = await merge(download);
    fs.writeFileSync("output.mp4", Buffer.from(merged));
}
```

---
_Source: https://npm.io/package/baha-anime-dl-ext · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
