Example code for Node.js