scriptserver-onload

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i scriptserver-onload

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kyob1010