# asreq

> Async/Await wrapper for Request

Latest version **1.0.1** (published 2015-11-18) · GPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install asreq
pnpm add asreq
yarn add asreq
bun add asreq
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-11-18 |
| First published | 2015-11-07 |
| Weekly downloads | 0 |
| License | GPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Abhinav Madahar |
| Maintainers | abhinavmadahar |
| Keywords | es7 |

## Links

- npm: https://www.npmjs.com/package/asreq
- Repository: https://github.com/AbhinavMadahar/asreq
- Homepage: https://github.com/AbhinavMadahar/asreq#readme
- Issues: https://github.com/AbhinavMadahar/asreq/issues
- npm.io page: https://npm.io/package/asreq

## Dependencies (2)

- [q](https://npm.io/package/q.md) ^1.4.1
- [request](https://npm.io/package/request.md) ^2.65.0

## Recent versions

- 1.0.1 (latest) — 2015-11-18
- 1.0.0 — 2015-11-07

## README

# asreq
An async/await wrapper for Request

Its use is insanely simple. Really

```javascript
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

---
_Source: https://npm.io/package/asreq · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
