3.0.2 • Published 7 years ago

sb-downloader v3.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Downloader

Downloader is an efficient, multi-connection downloader written in Node.js. By downloading the same file over multiple connections, it can double or triple the speed for high latency users.

Installation

npm install --global sb-downloader

Usage

$ download https://www.my-storage-website.com/installer.deb

API

type Downloader$Job = {
  url: string,
  target: {
    directory: string,
    file?: ?string
  },
  connections: number
}
export function download(options: Downloader$Job): Download
export class Download {
  activate(): Promise
  onDidError(callback: Function)
  onDidProgress(callback: Function)
  onDidEstablishConnection(callback: Function)
  onDidComplete(callback: Function)
  dispose()
}

License

This module is licensed under the terms of MIT License. Check the LICENSE file for more info.

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago