arunacore-api
v1.0.0-BETA.7
Published
ArunaCore is an open source websocket server made with nodejs for intercomunication between applications.
Maintainers
Readme
ArunaCore - JavaScript API
Introduction
ArunaCore is a framework that helps developers to build their own applications.
with it is ease to create and manange a new application created from scratch or to use on top of existing application.
It uses websocket to communicate with your application and it is easy to use.
The API
Installing:
To install, just use npm install arunacore-apior yarn add arunacore-api.
Creating a client:
import { ArunaClient } from 'arunacore-api';
const client = new ArunaClient('localhost', 3000, '<clientName>');
client.connect();Receiving a message:
The message is received as a JSON object with parsed informations.
client.on('message', (message) => {
console.log(message);
});The full documentation:
Because it is still in beta, we do not have formal and complete documentation. Although it can already be used in production, we recommend waiting until version 1.0.0 is released.
