How did it all start?
A year later, in 2010 he came up with a package manager, called npm, that makes it easier for programmers to publish and share source code of Node.js libraries. It was designed to simplify the installation, uninstallation and the update of libraries.
Being sponsored by Joyent, Dahl released a version for Windows together with Microsoft in June of 2011. The first Node.js build supporting Windows was released a month later. Since then it has beenused extensively by companies and developers around the world.
What Can Node.js Do?
- Node.js can generate dynamic page content
- Node.js can create, open, read, write, delete, and close files on the server
- Node.js can collect form data
- Node.js can add, delete, modify data in your database
Node can also eliminate the waiting when the file system has opened and read the file. The node server returns the content to the client and simply continues with the next request. Php and ASP, on the other hand perform differently. They send the task to the computer’s file system, they wait while the file system opens and reads the file and only after the content is returned to the client they are ready to handle the next request.
Who Uses Node.js?
The fact that Node is used by a multitude of large companies should be a statement in itself. Companies like eBay, GoDaddy, Microsoft, PayPal, IBM, Uber, Netflix, PayPal, Yahoo!, Walmart, CIsco and General Electric believe in node’s power and efficiency.
The open-source community has developed server frameworks like: Connect, Express.js, Socket.IO, Koa.js, Hapi.js, Sails.js, Meteor, Derby, and many others, to accelerate the development of applications.
In conclusion, if it’s speed that you want, you should definitely choose Node.js for your web server. You can create applications that maintain a persistent connection from the browser to the server, like a browser-chat application that takes almost no system resources.