upload-js
Version:
File Upload Library — Upload.js gives developers AJAX multipart file uploading via XHR 🚀 Comes with Cloud Storage 🌐
14 lines (13 loc) • 455 B
TypeScript
import { UploadConfig } from "./UploadConfig";
import { UploadInterface } from "./UploadInterface";
/**
* You should instantiate one instance of this class in your web app.
*
* Try using:
*
* Upload({apiKey: "free"})
*
* If multiple instances exist, then all '*AuthSession' calls will be forwarded to the first instance that had an
* '*AuthSession' call invoked on it.
*/
export declare function Upload(config: UploadConfig): UploadInterface;