• Node.js: Generate XML sitemap

    How to generate XML sitemap using Node.js Generating XML sitemaps for website can be done manually, through web apps, and by the website itself. If you are the technical kind, probably you want to us...

  • Node.js get IP Address

    How to get IP address in Node.js Getting a user's IP address seems pretty straightforward in Node.js, right? Does it need a special page on this website? Yes it does, we'll find out why in a few seco...

  • Global variables in Node.js

    How to create global variables in Node.js So you are working with a set of Node modules, maybe a framework like Express.js, and suddenly feel the need to make some variables global. How do you make v...

  • Node.js: Exiting from the Node console

    How to exit from the Node.js command line So you loaded the Node REPL console by typing node at the command line, played around with it and want to get back to your OS command line. Press CTRL+c (eve...

  • Node.js: Generating md5, sha1, sha512, sha256 checksum hashes

    How to Generate md5, sha1, sha512, sha256 checksum hashes in Node.js Checksums in Node.js are generated using the crypto library's createHash() method. The usage format is this: crypto.createHash(alg...

  • Node.js: HTTPS SSL Certificate

    How to set up a Node.js HTTPS server Need to use HTTPS for a project? Or just wondering how easy or tough it is to implement HTTPS in Node.js? In this post I'll show you how to set up an HTTPS Node.j...

  • Node.js: Installing on Windows

    How to install Node.js and npm on Windows Installing Node.js and npm on Windows is a very straightforward process. There are two versions of Node.js that can be downloaded: Current - the latest versi...