# socket.io-adapter

> default socket.io in-memory adapter

Latest version **2.5.8** (published 2026-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install socket.io-adapter
pnpm add socket.io-adapter
yarn add socket.io-adapter
bun add socket.io-adapter
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.5.8 |
| Published | 2026-06-16 |
| First published | 2014-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 56.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 63204 |
| Maintainers | rauchg, darrachequesne |

## Links

- npm: https://www.npmjs.com/package/socket.io-adapter
- Repository: https://github.com/socketio/socket.io
- Homepage: https://github.com/socketio/socket.io/tree/main/packages/socket.io-adapter#readme
- Issues: https://github.com/socketio/socket.io/issues
- npm.io page: https://npm.io/package/socket.io-adapter

## Dependencies (2)

- [ws](https://npm.io/package/ws.md) ~8.21.0
- [debug](https://npm.io/package/debug.md) ~4.4.1

## Recent versions

- 2.5.8 (latest) — 2026-06-16
- 2.0.3-rc2 (beta) — 2020-10-20
- 2.5.7 — 2026-05-20
- 2.5.6 — 2025-12-23
- 2.5.5 — 2024-06-18
- 2.5.4 — 2024-02-22
- 2.5.3 — 2024-02-21
- 2.5.2 — 2023-01-12
- 2.5.1 — 2023-01-06
- 2.5.0 — 2023-01-06
- 2.4.0 — 2022-03-30
- 2.3.3 — 2021-11-16
- 2.3.2 — 2021-08-28
- 2.3.1 — 2021-05-19
- 2.3.0 — 2021-05-10
- … 17 more at https://npm.io/package/socket.io-adapter/versions

## README

# socket.io

[![Latest NPM version](https://img.shields.io/npm/v/socket.io.svg)](https://www.npmjs.com/package/socket.io)
[![Build status](https://github.com/socketio/socket.io/actions/workflows/ci-socket.io.yml/badge.svg?branch=main)](https://github.com/socketio/socket.io/actions/workflows/ci-socket.io.yml)
[![Downloads per month](https://img.shields.io/npm/dm/socket.io.svg)](https://www.npmjs.com/package/socket.io)

## Getting Started

Please check our documentation [here](https://socket.io).

## Questions

Our [issues list](https://github.com/socketio/socket.io/issues) is exclusively reserved for bug reports and feature requests. For usage questions, please use the following resources:

- read our [documentation](https://socket.io/docs/v4/)
- check our [troubleshooting guide](https://socket.io/docs/v4/troubleshooting-connection-issues/)
- look for/ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/socket.io)
- create a new [discussion](https://github.com/socketio/socket.io/discussions/new?category=q-a)

## Security

If you think that you have found a security vulnerability in our project, please do not create an issue in this GitHub repository, but rather refer to our [Security Policy](./SECURITY.md).

## Issues and contribution

Please make sure to read our [Contributing Guide](./CONTRIBUTING.md) before creating an issue or making a pull request.

Thanks to everyone who has already contributed to Socket.IO!

<a href="https://github.com/socketio/socket.io/graphs/contributors"><img src="https://opencollective.com/socketio/contributors.svg?width=890" /></a>

## License

[MIT](https://opensource.org/licenses/MIT)

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