New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@zfile/upload

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zfile/upload

latest
Source
npmnpm
Version
1.4.0
Version published
Maintainers
1
Created
Source
zfile

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

 Edge
IE
 Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
not supportlast 2 versionslast 2 versionslast 2 versionslast 2 versions

提交Bug

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

License

MIT © zfile-2024

FAQs

Package last updated on 07 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts