Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

node-kluster

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-kluster

Kluster - library for create cluster solution base on weakly connected nodes.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Info

Kluster - library for create cluster solution base on weakly connected nodes.

Example


var Kluster = require("./index");

var metadata = {
    url: "http://nodejs.com",
    version: "1.3.5.6",
    enable: true,
    entryPoints:  ["http://123.11.23.1:8787", "http://123.11.23.1:8788", "http://123.11.23.1:8789"]
};

var kluster = new Kluster(metadata);
kluster.onNewNodeMetadata(
    function(metadata, info) {
        console.log(metadata);
    }
);
kluster.start();

process.on("exit", function() {
    if (kluster) {
        kluster.stop();
        kluster = null;
    }
});

Keywords

cluster

FAQs

Package last updated on 26 Jul 2013

Did you know?

Socket

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