1.3.3 • Published 7 months ago

dorian-chunked-file-uploader-ts v1.3.3

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Dorian Chunked File Uploader TS

Javascript multi engine chunked uploader

Implemented engine

  • Google Cloud Storage: DONE
  • Amazon Aws S3: TODO
  • Miniio: TODO
  • Dryrun: TODO

Usage

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);

Init, compile & local install

yarn install
yarn test
yarn build

# Install to local npm repo
yarn link

Import from local to your project

yarn link dorian-chunked-file-uploader-ts

Use latest version

yarn add dorian-chunked-file-uploader-ts
1.3.3

7 months ago

1.3.2

7 months ago

1.3.1

7 months ago

1.2.1

7 months ago

1.2.0

7 months ago

1.1.0

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago