rocket-server-log
v1.0.4
Published
make your server startup messages more 'nasa-ry'...
Downloads
6
Readme
Rocket-Server-Log
Still using console.log('server running on port 8080')
to show your startup port? Why not ~~super~~rocketcharge your server start with this package! Prints a random set of launch messages, then an ASCII rocket & port number. Totally useless.
Applying sellotape to cracks...
Clearing launchpad...
Counting down...
/\
( )
( )
/|/\|\
/_||||_\
VVVVVVVV
Take off on port 8080
destination: Your browsers
npm i rocket-server-log
Then in your app/server/index.js:
Require package
const launcher = require('rocket-server-log') // require package
Print hardcoded value
launcher(port) //prints hardcoded port value
Usage with express.js
app.listen(port, () => launcher(port)) //usage with express.js or native http module