jsbattle-server
v3.7.1
Published
This is an internal package of **JsBattle**. See `jsbattle` package for more info.
Downloads
17
Readme
JsBattle - Internal package
This is an internal package of JsBattle. See jsbattle
package for more info.
Documentation
Full documentation of JsBattle is available here.
Usage
let jsbattle = require('./jsbattle-server.js');
let gateway = new jsbattle.Gateway();
gateway.init({
data: './',
webroot: './',
host: 'localhost',
port: '8181',
loglevel: 'info'
})
.then(() => gateway.start())
.catch(console.error);