# @types/http-rx

> TypeScript definitions for http-rx

Latest version **2.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/http-rx
pnpm add @types/http-rx
yarn add @types/http-rx
bun add @types/http-rx
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2023-11-07 |
| First published | 2018-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/http-rx
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-rx
- npm.io page: https://npm.io/package/@types/http-rx

## Dependencies (2)

- [rxjs](https://npm.io/package/rxjs.md) ^6.2.0
- [@types/request](https://npm.io/package/@types/request.md) *

## Recent versions

- 2.0.4 (latest) — 2023-11-07
- 2.0.1 (ts3.5) — 2021-04-30
- 2.0.0 (ts2.3) — 2019-01-14
- 2.0.3 — 2023-10-18
- 2.0.2 — 2023-09-16
- 1.1.0 — 2018-06-22

## README

# Installation
> `npm install --save @types/http-rx`

# Summary
This package contains type definitions for http-rx (https://github.com/JasonRammoray/HttpRx).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-rx.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-rx/index.d.ts)
````ts
import { Observable } from "rxjs";
import request = require("request");

interface ResponseWrapper {
    response: request.Response;
    body: any;
}

interface HttpRx {
    get(url: string, options?: request.CoreOptions): Observable<ResponseWrapper>;

    head(url: string, options?: request.CoreOptions): Observable<ResponseWrapper>;

    patch(url: string, options?: request.CoreOptions): Observable<ResponseWrapper>;

    post(url: string, options?: request.CoreOptions): Observable<ResponseWrapper>;

    put(url: string, options?: request.CoreOptions): Observable<ResponseWrapper>;

    delete(url: string, options?: request.CoreOptions): Observable<ResponseWrapper>;
}

declare const httpRx: HttpRx;
export = httpRx;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/request](https://npmjs.com/package/@types/request), [rxjs](https://npmjs.com/package/rxjs)

# Credits
These definitions were written by [L2jLiga](https://github.com/L2jLiga).

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