# @stablelib/chacha20poly1305

> ChaCha20-Poly1305 AEAD (RFC 7539)

Latest version **2.0.1** (published 2025-01-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @stablelib/chacha20poly1305
pnpm add @stablelib/chacha20poly1305
yarn add @stablelib/chacha20poly1305
bun add @stablelib/chacha20poly1305
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2025-01-03 |
| First published | 2017-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 100.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 220 |
| Author | Dmitry Chestnykh |
| Maintainers | dchest |

## Links

- npm: https://www.npmjs.com/package/@stablelib/chacha20poly1305
- Repository: https://github.com/StableLib/stablelib
- Homepage: https://github.com/StableLib/stablelib/tree/master/packages/chacha20poly1305
- npm.io page: https://npm.io/package/@stablelib/chacha20poly1305

## Dependencies (6)

- [@stablelib/aead](https://npm.io/package/@stablelib/aead.md) ^2.0.0
- [@stablelib/wipe](https://npm.io/package/@stablelib/wipe.md) ^2.0.1
- [@stablelib/binary](https://npm.io/package/@stablelib/binary.md) ^2.0.1
- [@stablelib/chacha](https://npm.io/package/@stablelib/chacha.md) ^2.0.1
- [@stablelib/poly1305](https://npm.io/package/@stablelib/poly1305.md) ^2.0.1
- [@stablelib/constant-time](https://npm.io/package/@stablelib/constant-time.md) ^2.0.1

## Recent versions

- 2.0.1 (latest) — 2025-01-03
- 2.0.0 — 2024-06-29
- 1.0.1 — 2021-05-21
- 1.0.0 — 2020-01-13
- 0.10.3 — 2019-10-24
- 0.10.2 — 2017-10-27
- 0.7.2 — 2017-05-27
- 0.5.0 — 2017-05-07
- 0.2.5 — 2017-04-29
- 0.1.2 — 2017-04-23
- 0.0.2 — 2017-04-16
- 0.0.1 — 2017-04-16

## README

StableLib
=========

A stable library of useful TypeScript/JavaScript code.


Principles
----------

* Correctness first, performance later.
* Clear code is better than short.
* Better usability means fewer bugs.
* Typing is good, but not too much.


Documentation
-------------

See https://www.stablelib.com


Usage
-----

Install packages via npm from `@stablelib` namespace, for example:

```
npm install @stablelib/base64
```

[See all packages](https://www.npmjs.com/search?q=%40stablelib).


Support
-------

* Paid support for proprietary projects: write to Dmitry Chestnykh <dmitry@codingrobots.com>.
* Free support for open source projects and bug reports for everyone: [issue tracker](https://github.com/stablelib/stablelib/issues).

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