Wondering what’s next for npm?Check out our public roadmap! »

crosscall

0.0.6-dev.22 • Public • Published

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

Install

npm i crosscall

DownloadsWeekly Downloads

5

Version

0.0.6-dev.22

License

ISC

Unpacked Size

99 kB

Total Files

96

Last publish

Collaborators

  • avatar