FarAway gives to browsers a very simple way to communicate with a NodeJs server.
With FarAway, you can easily make NodeJs server calls.
You use simple local functions directly nested with foreign objects.
The foreign aspect (asynchronism) is managed with Promises.
It's a kind of RPC for JS/TS functions/objects using WebSockets (or, later, HTTP standard calls).
FarAway is not intended to replace a REST API, it can, but this is not its primary goal (see What about a REST API ? for details).