3.1.0 • Published 6 years ago

@manitoulin-transport/server-start v3.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

server-start

Handle asynchronous initialization of a server

Features

  • Any option can be given as a Promise
  • Notifies any parent process with 'ready' event when initialization successfully completes, providing support for graceful start with pm2

Options

NameDescriptionDefault
serverThe server to initialize. Can be an instance of net.Server or any of it's child classes (http.Server, https.Server, etc.)
portThe port to start listening on.
logFnFunction to use for logging messagesInstance of debug with the namespace '@manitoulin-transport/server-start'

TODO

  • Unit tests
3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago