MCPcopy Index your code
hub / github.com/enisdenjo/graphql-sse

github.com/enisdenjo/graphql-sse @v2.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.6.0 ↗ · + Follow
136 symbols 273 edges 36 files 11 documented · 8% 8 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

graphql-sse

Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client.

graphql-sse

Use WebSockets instead? Check out graphql-ws!

Get started

Swiftly start with the get started guide on the website.

Recipes

Short and concise code snippets for starting with common use-cases. Available on the website.

Documentation

Auto-generated by TypeDoc and then rendered on the website.

How does it work?

Read about the exact transport intricacies used by the library in the GraphQL over Server-Sent Events Protocol document.

Want to help?

File a bug, contribute with code, or improve documentation? Read up on our guidelines for contributing and drive development with yarn test --watch away!

Extension points exported contracts — how you extend this code

RequestParams (Interface)
(no doc)
src/common.ts
EventListeners (Interface)
(no doc)
src/client.ts
RequestHeaders (Interface)
(no doc)
src/handler.ts
RequestContext (Interface)
(no doc)
src/use/http.ts
THandler (Interface)
(no doc)
tests/utils/thandler.ts
StreamMessage (Interface)
(no doc)
src/common.ts
ClientOptions (Interface)
(no doc)
src/client.ts
Request (Interface)
(no doc)
src/handler.ts

Core symbols most depended-on inside this repo

next
called by 59
src/common.ts
createClient
called by 39
src/client.ts
createTFetch
called by 36
tests/utils/tfetch.ts
waitForRequest
called by 31
tests/utils/tfetch.ts
tsubscribe
called by 26
tests/utils/tsubscribe.ts
createTHandler
called by 19
tests/utils/thandler.ts
dispose
called by 17
tests/utils/tfetch.ts
assertAsyncGenerator
called by 16
tests/utils/thandler.ts

Shape

Function 94
Interface 25
Method 14
Class 2
Enum 1

Languages

TypeScript100%

Modules by API surface

src/client.ts26 symbols
src/handler.ts19 symbols
src/common.ts13 symbols
tests/utils/thandler.ts8 symbols
tests/utils/testkit.ts8 symbols
tests/utils/tfetch.ts7 symbols
tests/utils/tsubscribe.ts6 symbols
website/src/index.tsx5 symbols
tests/use.test.ts5 symbols
tests/fixtures/simple.ts5 symbols
tests/handler.test.ts4 symbols
src/use/fetch.ts4 symbols

For agents

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

⬇ download graph artifact