1.2.4 • Published 3 years ago

shark-netlib v1.2.4

Weekly downloads
22
License
MIT
Repository
github
Last release
3 years ago

Shark netlib

Install: npm i shark-netlib

Example:

const shnet=require("shark-netlib");
shnet("https://example.com", true).then((data)=>{console.log(data.body);console.log(`SRC (IF REDIRECTION, CONTAIN URL WHERE THIS PROGRAMM GET data.body): ${data.redirectedto})`)}, (err)=>{console.error("an error occured");});//DETECT IF IT IS http or https and use the correct function

(SECOND ARG: FOLLOW REDIRECTS (bool))

1.2.4

3 years ago

1.2.3

3 years ago

1.1.3

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.0.1

3 years ago