MCPcopy Index your code
hub / github.com/antfu/vite-dev-rpc

github.com/antfu/vite-dev-rpc @v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.0 ↗ · + Follow
10 symbols 24 edges 7 files 0 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

vite-dev-rpc

NPM version

Remote procedure call for client-server communication in Vite plugins.

Requires Vite ^2.9.0-beta.9

Based on

Sponsors

Sponsors

License

MIT License © 2021 Anthony Fu

Extension points exported contracts — how you extend this code

ServerFunctions (Interface)
(no doc)
playground/src/rpc.d.ts
ClientFunctions (Interface)
(no doc)
playground/src/rpc.d.ts

Core symbols most depended-on inside this repo

createRPCServer
called by 1
src/index.ts
createRPCClient
called by 1
src/index.ts
DemoPlugin
called by 1
playground/vite.config.ts
update
called by 1
playground/src/main.ts
handler
called by 0
src/index.ts
configureServer
called by 0
playground/vite.config.ts
add
called by 0
playground/vite.config.ts
alert
called by 0
playground/src/main.ts

Shape

Function 8
Interface 2

Languages

TypeScript100%

Modules by API surface

src/index.ts3 symbols
playground/vite.config.ts3 symbols
playground/src/rpc.d.ts2 symbols
playground/src/main.ts2 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add vite-dev-rpc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact