1.0.1 • Published 8 years ago

asreq v1.0.1

Weekly downloads
5
License
GPL-2.0
Repository
github
Last release
8 years ago

asreq

An async/await wrapper for Request

Its use is insanely simple. Really

import asreq from "asreq";

async function whatever() {
	const page = await asreq("https://github.com");
	console.log(page.body); // the homepage of GitHub
}
whatever();

In request, you can pass options in the request(options, callback) syntax. You can pass the options into asreq in the await asreq(options) syntax

1.0.1

8 years ago

1.0.0

9 years ago