# @stablelib/x25519-session

> libsodium compatible session keys generation based on X25519 key agreement

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

## Install

```sh
npm install @stablelib/x25519-session
pnpm add @stablelib/x25519-session
yarn add @stablelib/x25519-session
bun add @stablelib/x25519-session
```

## Health

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

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

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2025-01-03 |
| First published | 2022-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 34.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 222 |
| Author | Dmitry Chestnykh |
| Maintainers | dchest |

## Links

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

## Dependencies (5)

- [@stablelib/wipe](https://npm.io/package/@stablelib/wipe.md) ^2.0.1
- [@stablelib/random](https://npm.io/package/@stablelib/random.md) ^2.0.1
- [@stablelib/x25519](https://npm.io/package/@stablelib/x25519.md) ^2.0.1
- [@stablelib/blake2b](https://npm.io/package/@stablelib/blake2b.md) ^2.0.1
- [@stablelib/keyagreement](https://npm.io/package/@stablelib/keyagreement.md) ^2.0.1

## Recent versions

- 2.0.1 (latest) — 2025-01-03
- 2.0.0 — 2024-06-29
- 1.0.4 — 2022-08-30

## 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/x25519-session · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
