What Makes Node Great
Node is great at serving requests. Traditional servers maintain a finite pool of threads for processing potential incoming connections. Each request temporarily occupies a thread before releasing it upon delivery of a response. Node avoids this by taking an asynchronous event-driven approach, so the server never waits for an API to return a response. Instead it uses an event notification mechanism to track pending calls, allowing the server to move through tasks quickly.
Setting Up the Basics
Node is available in pre made installer for Mac, Windows and Linux. Additionally you can compile it from the source code, if that’s your thing.
console.log('where no one has gone before');
Now, from the command line, use the node command and specify the path to your file: