1.0.1 • Published 8 years ago
scriptserver-onload v1.0.1
DEPRECATE
Use https://github.com/garrettjoecox/scriptserver-event instead
Example
server.on("start", function() {
console.log("Callback");
})
scriptserver-onload
Installation
While in root directory of your server run:
npm install scriptserver-onload
And in your server
file:
server.use(require('scriptserver-onload'));
Usage
This module provides the event "onLoad".
server.on("load", function() {
console.log("Callback");
})