1.4.0 • Published 9 months ago

@zfile/upload v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

license qq

介绍

zfile集成了大文件上传和下载,前端只需要引入相关库包,后端遵循相应地接口规范,即可实现快速集成。

特性

  • 无框架依赖💧:纯粹的JavaScript逻辑核心实现,不和任何前端框架耦合
  • 请求优化😊:大文件上传和下载请求时限制最大并发数,请求失败时再次重试
  • 任务调度🔥:可以随时暂停、恢复、取消大文件的上传和下载
  • 多线程 🚀:利用WebWorker优化大文件的hash计算

文档和预览

文档部署在github pages,点击这里查看.

安装和使用

  • 项目中使用
npm i @zfile/upload 
  • 获取代码
git clone https://github.com/zerotower69/zfile.git
  • 安装依赖

请注意:本项目的包管理工具为pnpm,版本>=8.10.0,node版本>=18.12.0

cd zfile

pnpm install -w
  • 运行命令
pnpm server:start #开启后端

pnpm docs:dev #启动文档

pnpm demo:dev #启动示例

浏览器支持

The Chrome 80+ browser is recommended for local development

Support modern browsers, doesn't include IE

IEEdgeFirefoxChromeSafari
not supportlast 2 versionslast 2 versionslast 2 versionslast 2 versions

提交Bug

请通过issues向我提交,并尽量给出复现步骤,搭配的后端请使用本项目提供的后端服务(node.js 搭建)。

License

MIT © zfile-2024

1.0.2

9 months ago

1.0.2-beta.3

9 months ago

1.0.2-beta.6

9 months ago

1.4.0

9 months ago

1.0.2-beta.4

9 months ago

1.0.3

9 months ago

1.0.2-beta.5

9 months ago

1.0.2-beta.2

11 months ago

1.0.2-beta.0

11 months ago

1.0.2-beta.1

11 months ago

1.1.0

1 year ago

1.0.0

1 year ago

1.0.2-alpha

1 year ago

1.0.1-beta.6

1 year ago

1.0.1-beta.5

1 year ago

1.3.0

1 year ago

1.0.1-beta.4

1 year ago