Skip to content

About

Simple to use node.js HTTP / HTTPS client for downloading remote files. Supports transparent gzip decoding.

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

121 Commits

Folders and files

Repository files navigation

About still maintained

Simple to use node.js HTTP / HTTPS client for fetching remote resources. Supports transparent gzip decoding via gzbz2.

The client sends GET requests for fetching the remote objects. You may send HEAD requests if you just need to check the availability of a remote resource. The error reporting is implemented with care. The module itself is used in production for background data processing of thousands of remote resources, therefore it is not your average HTTP / HTTPS node.js client. It is in use for both of the transfer modes: buffered responses or streamed to the disk responses. Most of the decisions that made their way into the http-get are based onto the experience of working with a large URL database where a lot of things can go wrong.

Installation

Either manually clone this repository into your node_modules directory, or the recommended method:

npm install http-get

If you need gzip decoding support:

npm install http-get gzbz2

Usage mode

System Requirements

Optional modules

  • gzbz2 v0.1.1+ for gzip decompression. It was reported that gzbz2 might not build successfully for some users, therefore it's now an optional dependency. However, it's still recommended to install gzbz2. This will be handled automatically when npm will eventually support optionalDependencies.

Contributor

  • cmtt - options.timeout

About

Simple to use node.js HTTP / HTTPS client for downloading remote files. Supports transparent gzip decoding.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages