1.0.1 • Published 8 years ago

scriptserver-onload v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

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");
})
1.0.1

8 years ago

1.0.0

8 years ago