Node.jsoverview of Node.js snippets

In order to have my Node.js scripts in one place, I decided to create a small website. The website represents a simple overview of the scripts and is called Node.js Snippets. There you will every Node.js snippet including its source code, a download link and a link to the corresponding Gist.

Read more


AutoReloadrefresh browser automatically

When developing a web site or application, it’s common to start in a local environment. And usually there will be HTML templates which contain CSS user interfaces. In order to speed up the task of local web development, an automatic browser window reload mechanism can help a lot.

Read more


Windowsopen folder in command prompt

When working with Node.js, you are normally making heavy use of the console or command prompt. The used operating system doesn’t matter. In a production environment, you usually start the command prompt (cmd.exe/Terminal) and then navigate to the desired directory (via cd).

Read more


Node.jsrun scripts from context menu

Node.js developers who work under Windows may use a small trick to execute their Node.js scripts directly from the system’s context menu. This is done by simply adding some entries to the Windows registry.

Read more


Node.jscreate a simple static web server

I’m using the script for a long time already and by now developers should know how to create static web servers using Node.js and modules like connect and serve-static. If you really just want to serve static HTML, JavaScript and CSS files, you don’t need the complex Express.js framework.

Read more