npm.io
1.0.4 • Published 9 years agoCLI

js-connection-recommender

Licence
MIT
Version
1.0.4
Deps
0
Vulns
0
Weekly
0
Stars
1

js-connection-recommender

Javascript package that recommend common friend that help to make connection to new friends

Build Status Coverage Status

install

npm install js-connection-recommender

Usage

var jscrec = require("js-connection-recommender");
var adj = {};
adj["Alice"] = [ "Bob", "Carole" ]; // Alice knows Bob and Carole
adj["Bob"] = ["Dave", "Jack", "Alice"]; // Bob knowns Dave, Jack and Alice
var result = jscrec.fitAndTransform(adj);
console.log(result);

Keywords