New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

upload-largest-files

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

upload-largest-files

Upload largest files

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
7
16.67%
Maintainers
1
Weekly downloads
 
Created
Source

upload-largest-files

Build Lint Test

This is a simple lib to upload large files.

Demo

Upload Largest Files - example

https://emirdeliz.github.io/upload-largest-files/

How to use?

const file = <file to upload>
const url = <endpoint>;
const onProgress = <progress callback>
const result = await window.uploadLargestFiles.uploadFile({
  file,
  url,
  onProgress,
});
About the parameters:
ParameterTypeDescription
fileFileThe file to upload.
urlstringThe server url to make upload.
httpMethodPOST,GET,PUT,PATCHThe method to make upload (POST is default).
onProgressstringThe callback to follow the upload progress.

FAQs

Package last updated on 20 Apr 2023

Related posts