0.9.3 • Published 7 months ago

kabomu v0.9.3

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
7 months ago

Kabomu Library for NodeJS

This is a port of the Kabomu library originally written in C#.NET to the NodeJS platform.

In a nutshell, Kabomu enables building quasi web applications that can connect endpoints within localhost and even within an OS process, through IPC mechanisms other than TCP.

It is like node-ipc but focuses on localhost, easier transition to http, and ease of porting to other programming languages.

See the repository for the .NET version for more details.

Install

npm install kabomu

Usage

The entry classes of the libary are StandardQuasiHttpClient and StandardQuasiHttpServer.

See Examples folder for sample file serving programs. Each of those programs demonstrates an IPC mechanism as represented by main files named with "-client" or "-server" suffix. E.g. to run the TCP client example, run

node tcp-client.js

The sample programs come in pairs: a client program and corresponding server program. The server program must be started first. By default a client program uploads all files from a logs/client folder in the current directory, to a folder created in a logs/server folder of the server program's current directory.

The .env-example config file indicates how to change the default client and server endpoints (TCP ports or paths), as well as the directories of upload and saving.

0.9.3

7 months ago

0.9.2

7 months ago

0.9.1

7 months ago

0.9.0

8 months ago