requesta

0.0.1 • Public • Published

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...

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i requesta

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

12.1 kB

Total Files

9

Last publish

Collaborators

  • emastra