faraway
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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).

Introduction

Motivation

Installation

/faraway/

    Package Sidebar

    Install

    npm i faraway

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • chabrof