{"size": 479, "ext": "js", "max_stars_repo_path": "docs/02-2.skywayHelloSender/main.js", "max_stars_repo_name": "Supre-Gatikoi-Ken/test5", "max_stars_repo_stars_event_min_datetime": "2021-02-28T17:45:33.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-28T17:45:33.000Z", "max_issues_repo_path": "docs/02-2.skywayHelloSender/main.js", "max_issues_repo_name": "Supre-Gatikoi-Ken/test5", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/02-2.skywayHelloSender/main.js", "max_forks_repo_name": "Supre-Gatikoi-Ken/test5", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.8260869565, "max_line_length": 65, "alphanum_fraction": 0.6075156576}
var peer = new Peer({
    key: 'bc3035be-047d-4b36-bab7-bd2a8b0c7b33',
    debug: 3,
    turn: false
});

window.onload = function(){
    getMyID();
}

function getMyID() {
    peer.on('open', function(){
        document.getElementById("my-id").innerHTML = peer.id;
    });
}

function callStart(){
    var peer_id = document.getElementById("peer-id-input").value;
    var conn = peer.connect(peer_id);
    conn.on('open', function() {
        conn.send('HelloWorld');
    });
}