Post content
#typescript Cap'n Web is a lightweight JavaScript RPC system that lets you call functions and pass objects between client and server easily, using familiar JavaScript APIs and JSON for data. It supports bidirectional calls, passing functions and objects by reference, and promise pipelining, which means you can chain calls efficiently in one network round trip. It works in browsers, Node.js, Cloudflare Workers, and supports HTTP, WebSocket, and MessagePort transports. Cap'n Web is small (under 10kB), integrates with TypeScript, and helps build fast, secure, and flexible web APIs with less boilerplate and better performance than many other RPC systems. This makes your web app communication simpler and faster. https://github.com/cloudflare/capnweb