# @hapi/subtext

> HTTP payload parsing

Latest version **8.1.3** (published 2026-05-06) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @hapi/subtext
pnpm add @hapi/subtext
yarn add @hapi/subtext
bun add @hapi/subtext
```

## Health

**Score 53/100 (C)** — status: active.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 8.1.3 |
| Published | 2026-05-06 |
| First published | 2019-04-02 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/hapi__subtext) |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 15.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 24 |
| Maintainers | nlf, devinivy, wyatt, lloydbenson, cjihrig, marsup |
| Keywords | http, payload, file, stream, multipart |

## Links

- npm: https://www.npmjs.com/package/@hapi/subtext
- Repository: https://github.com/hapijs/subtext
- Homepage: https://github.com/hapijs/subtext#readme
- Issues: https://github.com/hapijs/subtext/issues
- npm.io page: https://npm.io/package/@hapi/subtext

## Dependencies (7)

- [@hapi/pez](https://npm.io/package/@hapi/pez.md) ^6.1.1
- [@hapi/boom](https://npm.io/package/@hapi/boom.md) ^10.0.1
- [@hapi/file](https://npm.io/package/@hapi/file.md) ^3.0.0
- [@hapi/hoek](https://npm.io/package/@hapi/hoek.md) ^11.0.7
- [@hapi/wreck](https://npm.io/package/@hapi/wreck.md) ^18.1.1
- [@hapi/bourne](https://npm.io/package/@hapi/bourne.md) ^3.0.0
- [@hapi/content](https://npm.io/package/@hapi/content.md) ^6.0.2

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 8.1.3 (latest) — 2026-05-06
- 7.1.0 (v7-latest) — 2023-02-14
- 6.1.3 (lts) — 2020-02-13
- 8.1.2 — 2026-04-02
- 8.1.1 — 2025-08-06
- 8.1.0 — 2023-02-14
- 8.0.1 — 2023-02-11
- 8.0.0 — 2022-06-20
- 7.0.4 — 2022-06-20
- 7.0.3 — 2020-02-13
- 7.0.2 — 2020-02-13
- 7.0.1 — 2020-01-16
- 7.0.0 — 2020-01-09
- 6.1.2 — 2019-09-13
- 6.1.1 — 2019-06-26
- … 1 more at https://npm.io/package/@hapi/subtext/versions

## README

<a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>

# @hapi/subtext

#### HTTP payload parser.

**subtext** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) – they work even better together.

### Visit the [hapi.dev](https://hapi.dev) Developer Portal for tutorials, documentation, and support

## Useful resources

- [Documentation and API](https://hapi.dev/family/subtext/)
- [Versions status](https://hapi.dev/resources/status/#subtext) (builds, dependencies, node versions, licenses, eol)
- [Changelog](https://hapi.dev/family/subtext/changelog/)
- [Project policies](https://hapi.dev/policies/)
- [Free and commercial support options](https://hapi.dev/support/)

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