# webfxp

> 网页端多线程下载文件

Latest version **1.0.1** (published 2022-06-06) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-06-06 |
| First published | 2022-06-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tianmin |

## Links

- npm: https://www.npmjs.com/package/webfxp
- npm.io page: https://npm.io/package/webfxp

## Recent versions

- 1.0.1 (latest) — 2022-06-06
- 1.0.0 — 2022-06-06

## README

网页查看源码
> https://www.jsdelivr.com/package/npm/webfxp


* 下载且保存
* @param {*} link 下载链接
* @param {*} size 下载大小, 100kb 为 100 * 1024 * 1024
* @param {*} limit 分片次数
* @param {*} getLink 是否只获取链接
* @param {*} name  下载文件名称
* @param {*} mime  下载类型


> 下载且保存文件

downloadSave({
    url,
    chunkSize = 1024*1024,
    poolLimit = 6,
    getLink = false,
    name = '',
    mime = 'text/javascript'
})



> 下载文件
download({
    url,
    chunkSize, 
    poolLimit = 1
}).then((buff) =>{})

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