Campagne de collecte 15 septembre 2024 – 1 octobre 2024 C'est quoi, la collecte de fonds?

Node.js: Build Web APIs and Applications With Node.js

Node.js: Build Web APIs and Applications With Node.js

Rufus Stewart
Avez-vous aimé ce livre?
Quelle est la qualité du fichier téléchargé?
Veuillez télécharger le livre pour apprécier sa qualité
Quelle est la qualité des fichiers téléchargés?

There are plenty of definitions to be found online. Let's take a look at a couple of the more popular ones. This is what the project's home page has to say: - Node.js(R) is a JavaScript runtime built on Chrome's V8 JavaScript engine. And this is what Stack Overflow has to offer: - Node.js is an event-based, non-blocking, asynchronous I/O runtime that uses Google's V8 JavaScript engine and libuv library. Hmmm, "event-based", "non-blocking", "asynchronous I/O" - that's quite a lot to digest in one go. So let's approach this from a different angle and begin by focusing on the other detail that both descriptions mention - the V8 JavaScript engine.Node Is Built on Google Chrome's V8 JavaScript EngineThe V8 engine is the open-source JavaScript engine that runs in Google Chrome and other Chromium-based web browsers, including Brave, Opera, and Vivaldi. It was designed with performance in mind and is responsible for compiling JavaScript directly to native machine code that your computer can execute.However, when we say that Node is built on the V8 engine, we don't mean that Node programs are executed in a browser. They aren't. Rather, the creator of Node (Ryan Dahl) took the V8 engine and enhanced it with various features, such as a file system API, an HTTP library, and a number of operating system-related utility methods.This means that Node.js is a program we can use to execute JavaScript on our computers. In other words, it's a JavaScript runtime. How Do I Install Node.js? In this next section, we'll install Node and write a couple of simple programs. We'll also look at npm, a package manager that comes bundled with Node. Node Binaries vs Version Manager Many websites will recommend that you head to the official Node download page and grab the Node binaries for your system. While that works, I would suggest that you use a version manager instead. This is a program that allows you to install multiple versions of Node and switch between them at will. There are various advantages to using a version manager. For example, it negates potential permission issues when using Node with npm and lets you set a Node version on a per-project basis.If you fancy going the version manager route, please consult our quick tip: Install Multiple Versions of Node.js using nvm. Otherwise, grab the correct binaries for your system from the link above and install those.

Année:
2020
Editeur::
Independently published; MEM Lnc
Langue:
english
Fichier:
EPUB, 104 KB
IPFS:
CID , CID Blake2b
english, 2020
Lire en ligne
La conversion en est effectuée
La conversion en a échoué

Mots Clefs