MCPcopy Index your code
hub / github.com/elysiajs/node

github.com/elysiajs/node @1.4.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.4.6 ↗ · + Follow
52 symbols 106 edges 12 files 2 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

@elysiajs/node

Adapter for elysia to use Elysia in Nodejs environment.

Installation

bun add @elysiajs/node

Example

import { Elysia } from 'elysia'
import { node } from '@elysiajs/node'

const app = new Elysia({ adapter: node() })
    .get('/', () => 'Hello Node!')
    .listen(3000)

Extension points exported contracts — how you extend this code

CreateHandlerParameter (Interface)
(no doc)
src/utils.ts
NodeWebSocketContext (Interface)
(no doc)
src/ws.ts
NodeWebSocketPeer (Interface)
(no doc)
src/ws.ts

Core symbols most depended-on inside this repo

handleFile
called by 10
src/utils.ts
errorToResponse
called by 8
src/handle.ts
close
called by 6
src/ws.ts
shutdown
called by 4
test/cluster/cluster.cjs
node
called by 4
src/index.ts
handleElysiaFile
called by 4
src/handle.ts
mapResponse
called by 4
src/handle.ts
error
called by 4
src/ws.ts

Shape

Function 42
Method 7
Interface 3

Languages

TypeScript100%

Modules by API surface

src/ws.ts19 symbols
src/index.ts12 symbols
src/utils.ts7 symbols
src/handle.ts7 symbols
example/demo.ts5 symbols
test/cluster/cluster.cjs2 symbols

For agents

$ claude mcp add node \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact