node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

tiny-jsonrpc-postmessage

tiny-jsonrpc-postmessage

JSON-RPC 2.0 client and server that communicate via postMessage