Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

Node.js Event Based HTTPS GET Request Library

A library that defines a GET method to do HTTPS requests that emits a Node event

Usage:

constRequest=require("./lib")constrequest=newRequest()// Calling the .GET(url, user) method will launch the 'request emitted' eventrequest.GET('https://dev.to/','drozerah')// The listener is listening the 'request emitted' event emitted by the .GET() methodletcounter=0request.addListener("request emitted",(result)=>{counter++result.reqId=counterconsole.log(result)})// return// { statusCode: 200,// reqErr: false,// url: 'https://dev.to/',// user: 'drozerah',// userPath: 'https://dev.to/drozerah',// reqId: 1 }

Useful links:

Author:

  • Thomas G. aka Drozerah - GitHub

License:

  • ISC © Thomas G. aka Drozerah

About

Node.js Event Based HTTPS GET Request Library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages