![[Web dev for beginners] Node.js](https://2ality.com/img/exploring-ts.jpg)
"That gives us the following useful features: We can start a JavaScript console from a shell. We can run files with JavaScript code from a shell. That is useful for automatically testing if our code is correct - a topic that we'll explore in a future chapter. We can write web servers in Node.js - which is another topic that we'll explore in the future. Node.js lets us install shell commands that help with web development."
"For beginners, it's probably easiest to use an installer application. You can download it on the official download page, a bit further down: "Or get a prebuilt Node.js". The Node.js REPL # You should now be able to start Node.js by typing the following command in a shell: If we start Node.js like this (without any shell arguments) then we are in a Node.js console that works much like a browser console - e.g. this is one interaction with it (try it out yourself!):"
Node.js is a program that uses a JavaScript engine to run code from local files on the computer file system. It provides a shell-based REPL and the ability to run JavaScript files from a shell for automated testing. Node.js enables writing web servers and installing command-line tools, often written in JavaScript, to aid web development. Beginners are advised to download Node.js from the official website and use an installer application. Starting Node.js in a shell launches a console that behaves similarly to a browser console.
Read at 2ality
Unable to calculate read time
Collection
[
|
...
]