3. Installing and using NPM packages #

Created Sunday 19 July 2020

  1. Locally - installed only in the current directory
    • npm install package_name
    • Creates a node_modules folder inside the current directory.
  2. Global - available from anywhere in the computer
    • npm install -g package_name
    • no new folder is created, except in the node default directory