WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.

airnet/airnet-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airnet-node

node.js / npm client for airnet

Usage

Install: npm install airnet

Import: airnet = require('airnet')

Example:

//Create the seed node
seed = new airnet(3000);
seed.start();

peer1 = new airnet(3001,
    {
      usefile: true,
      file: "Save.airnet"
    }
);

peer1.start();
//Connect to the seed node
peer1.connect('localhost:3000');

About

node.js / npm client for airnet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published