chase-moskal / crosscall

cross-origin postmessage rpc

Home Page:https://chasemoskal.com/crosscall/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crosscall

postmessage rpc and events across origins

npm install crosscall

  • remote procedure calls and events between webpages
    even if they are on different origins

  • crosscall client opens the host page in an iframe or a popup
    the host can expose async functionality to the client
    crosscall mediates the client and host via postmessage

  • live demo

  • crosscall shares a similar interface with renraku

  • i'm currently using crosscall a lot in my authoritarian project

see example code until i write a real readme

About

cross-origin postmessage rpc

https://chasemoskal.com/crosscall/

License:ISC License


Languages

Language:TypeScript 95.7%Language:HTML 4.3%