npm install console.log
require('console.log')
and go about your day
Simple, node will stay alive until there are no callbacks left in the queue. Assuming the application is not forcibly terminated (i.e. ^C, killall -9 node, etc...) it will run until all of the data passed to console.log
has been flushed to the terminal
nodejs/node-v0.x-archive#1312 -- new version to npm with the code that actually exists in node's
console.log