Javascript multi engine chunked uploader
- Google Cloud Storage: DONE
- Amazon Aws S3: TODO
- Miniio: TODO
- Dryrun: TODO
const presignedLink = "https://storage.googleapis.com/mybucket/my-path/myFile.txt"
const callbacks :ProgressCallbacks = {
onStart: (fileName:string,serivceId?:string):void => {};
onProgress: (fileName:string,chunk:Chunk,serivceId?:string):void => {};
onComplete: (fileName:string,serivceId?:string):void => {};
}
const options : UploadCongiguration = {file};
const engine = Factory.create(EngineType.GCS, options,callbacks);
await engine.start(presignedLink);
yarn install
yarn test
yarn build
# Install to local npm repo
yarn link
yarn link dorian-chunked-file-uploader-ts
yarn add dorian-chunked-file-uploader-ts