You might want to look into BERT [0], I think there is a JavaScript library. We used it a few years ago to call Ruby from Erlang, it wasn&#x27;t fast at the time, but it did what we needed it to do.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;blog&#x2F;531-introducing-bert-and-bert-rpc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;blog&#x2F;531-introducing-bert-and-bert-rpc</a>