0.0.1 • Published 5 years ago

requesta v0.0.1

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

requesta

A very lightweight HTTP client for Node

GitHub | NPM

Install

npm i requesta

Use requesta!

Require the library.

const r = require('requesta');

Let's make a request in an async function.

(async () => {
	const res = await r('https://hacker-news.firebaseio.com/v0/item/8863.json').send();

	console.log(await res.text());
})();

... more example to come...