0.9.3-2 • Published 5 years ago
app3-net v0.9.3-2
app3-net
This is a sub package of app3.js
This is the net package to be used in other app3.js packages. Please read the documentation for more.
Installation
Node.js
npm install app3-net
In the Browser
Build running the following in the app3.js repository:
npm run-script build-all
Then include dist/app3-net.js
in your html file.
This will expose the App3Net
object on the window object.
Usage
// in node.js
var App3Net = require('app3-net');
var net = new App3Net('ws://localhost:8546');