# @tinyhttp/res

> response extensions for tinyhttp

Latest version **2.2.15** (published 2026-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tinyhttp/res
pnpm add @tinyhttp/res
yarn add @tinyhttp/res
bun add @tinyhttp/res
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.2.15 |
| Published | 2026-08-10 |
| First published | 2020-09-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=14.13.1 |
| Dependencies | 8 |
| Unpacked size | 32.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2903 |
| Author | v1rtl |
| Maintainers | dropthebeatbro, v1rtl |
| Keywords | tinyhttp, node.js, web framework, web, backend, res |

## Links

- npm: https://www.npmjs.com/package/@tinyhttp/res
- Repository: https://github.com/tinyhttp/tinyhttp
- Homepage: https://tinyhttp.v1rtl.site
- npm.io page: https://npm.io/package/@tinyhttp/res

## Dependencies (8)

- [mrmime](https://npm.io/package/mrmime.md) ^2.0.1
- [@tinyhttp/req](https://npm.io/package/@tinyhttp/req.md) 2.2.10
- [@tinyhttp/send](https://npm.io/package/@tinyhttp/send.md) 2.2.8
- [@tinyhttp/vary](https://npm.io/package/@tinyhttp/vary.md) ^0.1.3
- [@tinyhttp/cookie](https://npm.io/package/@tinyhttp/cookie.md) 2.1.1
- [@tinyhttp/encode-url](https://npm.io/package/@tinyhttp/encode-url.md) 2.1.1
- [@tinyhttp/cookie-signature](https://npm.io/package/@tinyhttp/cookie-signature.md) 2.1.2
- [@tinyhttp/content-disposition](https://npm.io/package/@tinyhttp/content-disposition.md) 2.2.4

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

- 2.2.15 (latest) — 2026-08-10
- 2.2.14 — 2026-07-22
- 2.2.13 — 2026-07-18
- 2.2.12 — 2026-07-18
- 2.2.11 — 2026-04-15
- 2.2.10 — 2026-02-08
- 2.2.9 — 2026-02-01
- 2.2.8 — 2026-02-01
- 2.2.7 — 2026-01-20
- 2.2.6 — 2025-09-14
- 2.2.5 — 2025-02-21
- 2.2.4 — 2024-09-11
- 2.2.3 — 2024-06-26
- 2.2.2 — 2024-01-06
- 2.2.1 — 2024-01-06
- … 100 more at https://npm.io/package/@tinyhttp/res/versions

## README

# @tinyhttp/res

[![npm (scoped)][npm-badge]](https://npmjs.com/package/@tinyhttp/res) [![npm][dl-badge]](https://npmjs.com/package/@tinyhttp/res) [![][web-badge]](https://tinyhttp.v1rtl.site/mw/res)

Response extensions for tinyhttp collected in one package. This module itself depends on other modules, such as [`@tinyhttp/send`](/packages/send).

## Install

```sh
pnpm i @tinyhttp/res
```

## API

[tinyhttp Response docs](https://tinyhttp.v1rtl.site/docs#response).

[npm-badge]: https://img.shields.io/npm/v/@tinyhttp/res?style=flat-square
[dl-badge]: https://img.shields.io/npm/dt/@tinyhttp/res?style=flat-square
[web-badge]: https://img.shields.io/badge/website-visit-hotpink?style=flat-square

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