I recently wrote about the manual installation of Node.js. There is also the way via the npm Package manager: First, install all dependencies: Add a new ppa repository: Update all repositories And finally install Node.js Advertisements
Node.js provides two simple methods to read a file in sync and async. Reading a file in sync comes in handy if you’ll read a config file right before the the actual programs should run. Reading a file async: Reading … Continue reading
The argument list of npm shows all locally installed packages and the related version. With the argument -g the command shows all globally installed packages.
The express web server and socket.io are very handy modules for node.js. Either of the modules can listen to the same port, because the modules use different protocols. But how can this be configured? The ‘How to use” section of … Continue reading