Code snippets, tech howto’s and scripts

Before exit scripts in Node.js

Ever wonder how to do something just before a Node.js process ends? Safely close connections, clean up caches, or log your app’s status somewhere? With this script you can do it.

Looping busy indicator

Javascript code snippet for node.js to display a looping busy indicator on the console output