3.0.2 • Published 9 years ago

sb-downloader v3.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 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

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.7

9 years ago

2.0.6

9 years ago

2.0.5

10 years ago

2.0.4

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago