UNPKG

@chubbyts/chubbyts-http-types

Version:

Http Request/Response types with middleware and handler, PSR-15 inspired.

42 lines (29 loc) 3.29 kB
# chubbyts-http-types [![CI](https://github.com/chubbyts/chubbyts-http-types/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyts/chubbyts-http-types/actions?query=workflow%3ACI) [![Coverage Status](https://coveralls.io/repos/github/chubbyts/chubbyts-http-types/badge.svg?branch=master)](https://coveralls.io/github/chubbyts/chubbyts-http-types?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-types%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyts/chubbyts-http-types/master) [![npm-version](https://img.shields.io/npm/v/@chubbyts/chubbyts-http-types.svg)](https://www.npmjs.com/package/@chubbyts/chubbyts-http-types) [![bugs](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=bugs)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![code_smells](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=code_smells)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![coverage](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=coverage)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![ncloc](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=ncloc)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![sqale_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![alert_status](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=alert_status)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![reliability_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![security_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=security_rating)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![sqale_index](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=sqale_index)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) [![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=chubbyts_chubbyts-http-types&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-http-types) ## Description Http Request/Response types with middleware and handler, [PSR-15][2] inspired. ## Requirements * node: 18 ## Installation Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-http-types][1]. ```ts npm i @chubbyts/chubbyts-http-types@^2.1.0 ``` ## Copyright 2025 Dominik Zogg [1]: https://www.npmjs.com/package/@chubbyts/chubbyts-http-types [2]: https://www.php-fig.org/psr/psr-15