Read 06: Node, Express, and APIs - corey-marchand/data-structures-and-algorithms GitHub Wiki

What is node?

  • Node.js is a javascript runtime built on chromes v8 javascript engine. Node uses event-driven, non-blocking I/O model that makes it lightweight and efficient.

Check to see if you have node by:

  • node -v

Installing a package gloabally:

  • npm install -g jshint

Installing a package locally:

  • npm init -y

--Working with the package.json File--

Want to view the contents of test directory? there will be a folder called node_modules and can be recreated anytime by running this command within the projects root:

  • npm install