MCPcopy Index your code
hub / github.com/distrue/socket.io-nats-adapter

github.com/distrue/socket.io-nats-adapter @v0.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.1 ↗ · + Follow
109 symbols 203 edges 16 files 2 documented · 2% updated 4y agov0.2.1 · 2022-03-19★ 751 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

socket.io-nats

Last release: v0.2.1 - March 19, 2022

Pub/Sub adapter for socket.io using nats.io as pub/sub message queue

  • Implements specification of socket.io adapter
  • at-most-once semantics on adapter methods

Please let us know if you have any comments or features you would like to request.

Milestone

  • v0.3
    • [ ] Authmating test with jest
    • [ ] Performance benchmark tool
    • with docker environment

Setting

Run script for docker setting

$ cd development
$ docker-compose up -d

Install

$ npm install

Run

$ npm start

Test

$ npm test

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 61
Interface 22
Function 14
Class 12

Languages

TypeScript100%

Modules by API surface

lib/adapter.ts32 symbols
lib/adapter.types.ts21 symbols
lib/service/NatsIoClient.ts13 symbols
lib/module/pubSubModule.ts11 symbols
lib/module/msgPackModule.ts8 symbols
lib/module/requestStoreModule.ts6 symbols
lib/builder/responseBuilder.ts5 symbols
lib/builder/requestBuilder.ts5 symbols
lib/service/UniqueId.ts4 symbols
demo/client.js2 symbols
lib/index.ts1 symbols
demo/server.js1 symbols

For agents

$ claude mcp add socket.io-nats-adapter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page