# @hpke/common

> A Hybrid Public Key Encryption (HPKE) internal-use common module for @hpke family modules.

Latest version **1.13.0** (published 2026-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hpke/common
pnpm add @hpke/common
yarn add @hpke/common
bun add @hpke/common
```

## 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 | 1.13.0 |
| Published | 2026-11-07 |
| First published | 2024-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 0 |
| Unpacked size | 557.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 130 |
| Author | Ajitomi Daisuke |
| Maintainers | dajiaji |
| Keywords | hpke, rfc9180, hkdf, dh, security, encryption |

## Links

- npm: https://www.npmjs.com/package/@hpke/common
- Repository: https://github.com/dajiaji/hpke-js
- Homepage: https://github.com/dajiaji/hpke-js/tree/main/common#readme
- Issues: https://github.com/dajiaji/hpke-js/issues
- Funding: https://github.com/sponsors/dajiaji
- npm.io page: https://npm.io/package/@hpke/common

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.13.0 (latest) — 2026-11-07
- 1.12.0 — 2026-11-07
- 1.11.0 — 2026-11-03
- 1.10.1 — 2026-03-12
- 1.10.0 — 2026-03-08
- 1.9.0 — 2026-03-01
- 1.8.1 — 2025-08-14
- 1.8.0 — 2025-08-13
- 1.7.3 — 2025-06-01
- 1.7.2 — 2025-03-09
- 1.7.1 — 2024-11-08
- 1.7.0 — 2024-11-06
- 1.6.1 — 2024-11-05
- 1.6.0 — 2024-11-04
- 1.5.0 — 2024-10-12
- … 9 more at https://npm.io/package/@hpke/common/versions

## README

<h1 align="center">@hpke/common</h1>

<div align="center">
<a href="https://www.npmjs.com/package/@hpke/common"><img src="https://img.shields.io/npm/v/@hpke/common" alt="npm"/></a>
<a href="https://jsr.io/@hpke/common"><img src="https://jsr.io/badges/@hpke/common" alt="JSR"/></a>
</div>

<div align="center">
A TypeScript <a href="https://datatracker.ietf.org/doc/html/rfc9180">Hybrid Public Key Encryption (HPKE)</a> internal-use common module for <a href="https://jsr.io/@hpke">@hpke family modules</a>.
</div>

<div align="center">
</div>

## Installation

Do not install this package directly, it is an internal package used by
[@hpke/core](https://jsr.io/@hpke/core),
[@hpke/chacha20poly1305](https://jsr.io/@hpke/chacha20poly1305) and so on. Use
either of them instead.

## Contributing

We welcome all kind of contributions, filing issues, suggesting new features or
sending PRs.

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