# httprequest

> XMLHttpRequest wrapper

Latest version **0.3.0** (published 2018-09-29) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2018-09-29 |
| First published | 2015-07-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Christopher Brown |
| Maintainers | chbrown |
| Keywords | xhr, http, https, browser, client |

## Links

- npm: https://www.npmjs.com/package/httprequest
- Repository: git:chbrown/httprequest
- Homepage: https://github.com/chbrown/httprequest
- npm.io page: https://npm.io/package/httprequest

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2018-09-29
- 0.2.0 — 2018-03-04
- 0.1.5 — 2015-10-24
- 0.1.4 — 2015-10-24
- 0.1.3 — 2015-07-24
- 0.1.2 — 2015-07-10
- 0.1.1 — 2015-07-08
- 0.1.0 — 2015-07-08

## README

# httprequest

[![latest version published to npm](https://badge.fury.io/js/httprequest.svg)](https://www.npmjs.com/package/httprequest)

[XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/) wrapper.

```sh
npm install httprequest
```


### Example

```javascript
import {Request} from 'httprequest'

new Request('POST', '/api/reservations')
.sendData({venue_id: 100}, (err, response) => {
  if (err) throw err
  console.log('got response', res)
})
```


## License

Copyright 2015–2018 Christopher Brown.
[MIT Licensed](https://chbrown.github.io/licenses/MIT/#2015-2018).

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