Getting started

This page will help you install kbyte. If you already have kbyte installed, you can skip ahead to the tutorial.

kbyte was designed to work both in the browser and in Node.js.


npm install kbyte


<script src=""></script>


var kbyte = require('kbyte');

// Init WebSocket client
var client = new kbyte.Client('wss://');

// Get peers
client.request('get_peers', null, function(err, result) {
  console.log(err, result);

Last updated