Skip to content

quick and dirty synchoronous wrapper of http.request

Notifications You must be signed in to change notification settings

day1co/http-request-sync

Repository files navigation

http-request-sync

quick and dirty "synchronous" wrapper of http.request

version

Getting Started

const { httpRequestSync } require('@day1co/http-request-sync');
const res = httpRequestSync('https://some-host.com/get');
console.log(res.statusCode);
console.log(res.statusMessage);
console.log(res.headers);
console.log(res.data);

may the SOURCE be with you...

About

quick and dirty synchoronous wrapper of http.request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages