# asyncm3u8

> Async m3u8 downloader for NodeJS

Latest version **0.3.0** (published 2020-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install asyncm3u8
pnpm add asyncm3u8
yarn add asyncm3u8
bun add asyncm3u8
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2020-02-09 |
| First published | 2020-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | kingwong8866 |
| Maintainers | kingwong8866 |
| Keywords | m3u8 |

## Links

- npm: https://www.npmjs.com/package/asyncm3u8
- Repository: https://github.com/billwang1990/asyncM3u8
- Homepage: https://github.com/billwang1990/asyncM3u8#readme
- Issues: https://github.com/billwang1990/asyncM3u8/issues
- npm.io page: https://npm.io/package/asyncm3u8

## Dependencies (8)

- [fs](https://npm.io/package/fs.md) ^0.0.1-security
- [md5](https://npm.io/package/md5.md) ^2.2.1
- [url](https://npm.io/package/url.md) ^0.11.0
- [path](https://npm.io/package/path.md) ^0.12.7
- [request](https://npm.io/package/request.md) ^2.88.0
- [bottleneck](https://npm.io/package/bottleneck.md) ^2.19.5
- [cli-progress](https://npm.io/package/cli-progress.md) ^3.6.0
- [child_process](https://npm.io/package/child_process.md) ^1.0.2

## Recent versions

- 0.3.0 (latest) — 2020-02-09
- 0.2.2 — 2020-02-09
- 0.2.1 — 2020-02-08
- 0.1.0 — 2020-02-08

## README

### 
### AsyncM3u8

An async m3u8 downloader for Node.js, based on ffmpeg.



### Usage

First, install the package:

```
yarn add asyncm3u8
```

Or:

```
npm install asyncm3u8
```



Then: 

```
const AsymM3u8 = require('asyncm3u8');

(async function () {
    const options = {
        downloadPath: './download',
        throttleRequestMs: 100 // The limit time for network request, 100 means only allow one request per 100 millisecond
    }
    const asyncM3u8 = new AsymM3u8('http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/3340_vod.m3u8', options);
    await asyncM3u8.start();
})();

```



### Note:

Only support the m3u8 url which contain media playlist.

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