Class Six Notes (301)
Node.js intro
Introduction
- Node.js is an event-based, non-blocking, asynchronous I/O runtime that uses Google’s V8 JavaScript engine and libuv library.
- Chrome’s V8 JavaScript Engine is a tool that complies JS directly to computer machine code, which means the program is NOT executed in a browser.
- Node is a JS runtume means JS can be executed on the computers directly.
- NPM is the javascript package manager, which stands for node package manager.
- My current npm version is 9.2.0
- My current node version is 19.4.0
- To install jshint, type command
npm install -g jshint
(global)
- Node runs JavaScript on the server.
Pair Programming
- Reasons for pair programming: greater efficiency, collaboration, learn from peers, improve social skills, prep for job interviews and work environment.
- Preparing for job interviews and work environment are the most beneficial.
- One student dictates how to code, while the other student codes.
Back to main page
References