# questor

> Promise based HTTP client inspired by clj-http

Latest version **1.0.1** (published 2015-06-23) · MIT license · 0 weekly downloads

## Install

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

## 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-06-23 |
| First published | 2013-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Stephan Seidt |
| Maintainers | evilhackerdude |

## Links

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

## Dependencies (4)

- [bl](https://npm.io/package/bl.md) ~0.7.0
- [bluebird](https://npm.io/package/bluebird.md) ^2.2.0
- [lodash.assign](https://npm.io/package/lodash.assign.md) ~2.4.1
- [lodash.defaults](https://npm.io/package/lodash.defaults.md) ~2.4.1

## Recent versions

- 1.0.1 (latest) — 2015-06-23
- 1.0.0 — 2014-10-06
- 1.0.0-alpha.3 — 2014-03-11
- 1.0.0-alpha.2 — 2014-01-09
- 1.0.0-alpha.1 — 2014-01-09
- 1.0.0-alpha — 2013-10-22
- 0.0.3 — 2013-09-30
- 0.0.2 — 2013-06-25
- 0.0.1 — 2013-06-17

## README

# questor

Promise based HTTP client inspired by clj-http

## Usage

```javascript
var questor = require('questor');

questor('https://github.com').then(function (res) {
  // Request was successful
  
  console.log(res.body); // Contains the response body
  console.log(res.headers); // Contains the response headers
  console.log(res.status); // Contains the response status code
}, function (err) {
  // Request failed
  console.log(err);
});
```

## TODO

- Small resulting browserify bundle
- Streaming request and response bodies
- Types for requests, responses and errors

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