Week 7 Reading Review Flashcards
Review key points of week 7 reading
Node is built on the __________________
Chrome JavaScript V8 engine
Applications are designed as a set of small focused ___________
modules
Method to load a module
require()
Object used to export pieces of code from a modules
module.exports
In node a folder containing an application is called a ____________
package
File used to describe what is in a package
package.json
Format of node package versioning
major.minor.patch
Node’s package manager
npm
Node’s package runner
npx
Command to install all dependencies in the package.json file
npm install
command to update all packages in the package.json file
npm update
Installed packages defined as dependencies are stored in the _______________ subfolder.
node_modules/
What is the parameter passed in the require() function
the module you want to load
If you want to allow patch level changes in your requires modules in the package.json file you use a ___ before the version number
~
If you want to allow everything but major version changes in your requires modules in the package.json file you use a ___ before the version number