1.1.0 • Published 2 years ago

@ritani/http-client v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

A Scalable HTTP Client with Retries and Throttle Features

How to install

npm install @ritani/http-client

How to use

const http_client = require('@ritani/http-client');
const node_path =  require('path');

(async () => {

    const url = 'https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png';

    const local_filepath = node_path.join(__dirname, 'google_logo.png');

    const options = {method: 'get', url, local_filepath};

    const response = await http_client(options);
    
    console.log('response status', response.status);
    
})();
1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago