What is node.js?
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user’s web browser. Consequently, Node.js represents a “JavaScript everywhere” paradigm,[6] unifying web-application development around a single programming language, rather than different languages for server-side and client-side scripts.
** what is Chrome’s V8 JavaScript Engine?**
8 is the name of the JavaScript engine that powers Google Chrome. It’s the thing that takes our JavaScript and executes it while browsing with Chrome. V8 provides the runtime environment in which JavaScript executes. The DOM, and the other Web Platform APIs are
npm :
” npm is the world’s largest software registry. Open source developers from every continent use npm to share and borrow packages, and many organizations use … “
What version of node are you running on your machine?
v12.22.1
What version of npm are you running on your machine?
7.18.1
What command would you type to install a library/package called ‘jshint’?
npm install -g jshint
What is node used for?
Node. js is primarily used for non-blocking, event-driven servers, due to its single-threaded nature. It’s used for traditional web sites and back-end API services, but was designed with real-time, push-based architectures in mind.