# @signumjs/http

> SignumJS Generic Http Module

Latest version **3.3.7** (published 2026-10-17) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @signumjs/http
pnpm add @signumjs/http
yarn add @signumjs/http
bun add @signumjs/http
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.3.7 |
| Published | 2026-10-17 |
| First published | 2021-06-02 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 75.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 17 |
| Maintainers | ohager |
| Keywords | signum, signum-network, blockchain, smartcontracts, http, signumjs |

## Links

- npm: https://www.npmjs.com/package/@signumjs/http
- Repository: https://github.com/signum-network/signumjs
- Homepage: https://github.com/signum-network/signumjs#readme
- Issues: https://github.com/signum-network/signumjs/issues
- npm.io page: https://npm.io/package/@signumjs/http

## Recent versions

- 3.3.7 (latest) — 2026-10-17
- 3.3.6 — 2026-10-17
- 3.3.5 — 2026-10-16
- 3.3.4 — 2026-08-02
- 3.3.3 — 2026-08-01
- 3.3.2 — 2026-07-31
- 3.3.1 — 2026-07-31
- 3.3.0 — 2026-07-25
- 3.2.2 — 2026-07-24
- 3.2.1 — 2026-07-24
- 3.2.0 — 2026-07-24
- 3.1.0 — 2026-04-16
- 3.0.10 — 2026-04-05
- 3.0.9 — 2026-03-31
- 3.0.7 — 2026-03-22
- … 91 more at https://npm.io/package/@signumjs/http/versions

## README

# @signumjs/http

Generic HTTP client that is used as a network provider for @signumjs/core.

## Installation

`@signumjs/http` can be used with NodeJS or Web. Two formats are available

### Using with NodeJS and/or modern web frameworks

Install using [npm](https://www.npmjs.org/):

```
npm install @signumjs/http
```

or using [yarn](https://yarnpkg.com/):

``` yarn
yarn add @signumjs/http
```

#### Example

```js
import {HttpImpl} from '@signumjs/http'

async function getTodos() {
    try{
        const client = new HttpClientFactory.createHttpClient('https://jsonplaceholder.typicode.com/');
        const result = await client.get('/todos/1')
        console.log(result)
    }
    catch(httpError){
        console.error(httpError.message)
    }
}
```

### Using in classic `<script>`

Each package is available as bundled standalone library using UMD.
This way _signumJS_ can be used also within `<script>`-Tags.
This might be useful for Wordpress and/or other PHP applications.

Just import the package using the HTML `<script>` tag.

`<script src='https://cdn.jsdelivr.net/npm/@signumjs/http/dist/signumjs.http.min.js'></script>`

#### Example

```js
const {HttpClientFactory} = sig$http
const client = new HttpClientFactory.createHttpClient('https://jsonplaceholder.typicode.com/');
client.get('/todos/1').then(console.log)
```

See more here:

[@signumjs/http Online Documentation](https://signum-network.github.io/signumjs/modules/http.html)

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