http-curl
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Installation

$ npm install http-curl

Usage

const { HttpClient } = require('http-curl');

(async function(proxy) {
  const client = new HttpClient();
  const response = await client.get('https://www.google.com/', { proxy });
  console.log(response.statusCode); // 200
})('socks5://localhost:9050');

Readme

Keywords

none

Package Sidebar

Install

npm i http-curl

Weekly Downloads

0

Version

0.2.0

License

ISC

Unpacked Size

48 kB

Total Files

14

Last publish

Collaborators

  • wdfang