Socket
Socket
Sign inDemoInstall

kabomu

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kabomu

Kabomu library for NodeJS


Version published
Maintainers
1
Install size
120 kB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 19 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc