# http-instance

> http-instance

Latest version **7.1.2** (published 2021-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install http-instance
pnpm add http-instance
yarn add http-instance
bun add http-instance
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 7.1.2 |
| Published | 2021-05-17 |
| First published | 2020-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Grigoriy Baranov |
| Maintainers | watchdg |
| Keywords | http, request, instance |

## Links

- npm: https://www.npmjs.com/package/http-instance
- Repository: https://github.com/WatchDG/node-http-instance
- Homepage: https://github.com/WatchDG/node-http-instance#readme
- Issues: https://github.com/WatchDG/node-http-instance/issues
- npm.io page: https://npm.io/package/http-instance

## Dependencies (2)

- [node-result](https://npm.io/package/node-result.md) ^12.0.1
- [http-instance-request](https://npm.io/package/http-instance-request.md) ^0.7.1

## 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

- 7.1.2 (latest) — 2021-05-17
- 7.1.1 — 2021-04-19
- 7.1.0 — 2021-04-19
- 7.0.4 — 2021-04-08
- 7.0.3 — 2021-03-08
- 7.0.2 — 2021-03-07
- 7.0.1 — 2021-03-07
- 7.0.0 — 2021-03-07
- 6.3.0 — 2021-01-28
- 6.2.0 — 2021-01-16
- 6.1.0 — 2021-01-15
- 6.0.2 — 2021-01-14
- 6.0.1 — 2021-01-14
- 6.0.0 — 2021-01-13
- 5.7.0 — 2021-01-13
- … 13 more at https://npm.io/package/http-instance/versions

## README

# http-instance

http-instance

```ts
import { HttpInstance } from 'http-instance';

(async () => {
  const instance = new HttpInstance({
    baseUrl: 'http://google.com'
  });
  const { status, headers, data } = (await instance.get('/')).unwrap();
})();
```

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