# chubbyts-http

[![CI](https://github.com/chubbyts/chubbyts-http/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyts/chubbyts-http/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/github/chubbyts/chubbyts-http/badge.svg?branch=master)](https://coveralls.io/github/chubbyts/chubbyts-http?branch=master)
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fchubbyts%2Fchubbyts-http%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyts/chubbyts-http/master)
[![npm-version](https://img.shields.io/npm/v/@chubbyts/chubbyts-http.svg)](https://www.npmjs.com/package/@chubbyts/chubbyts-http)

[![bugs](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=bugs)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![code_smells](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=code_smells)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![coverage](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=coverage)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![ncloc](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=ncloc)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![sqale_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![alert_status](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=alert_status)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![reliability_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![security_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=security_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![sqale_index](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=sqale_index)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)
[![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http)

## Description

Http Request/Response with middleware and handler, [PSR-15][2] inspired.

## Requirements

 * node: 18
 * [chubbyts/chubbyts-http-types][3]: ^3.0.0
 * [qs][4]: ^6.14.0

## Installation

Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-http][1].

```ts
npm i @chubbyts/chubbyts-http@^2.0.1
```

## Copyright

2025 Dominik Zogg

[1]: https://www.npmjs.com/package/@chubbyts/chubbyts-http
[2]: https://www.php-fig.org/psr/psr-15
[3]: https://www.npmjs.com/package/@chubbyts/chubbyts-http-types
[4]: https://www.npmjs.com/package/qs
