NPM Playbook - p-patel/software-engineer-knowledge-base GitHub Wiki

https://app.pluralsight.com/library/courses/npm-playbook/

NPM Basics

What Is a Package?

  • module - a single javascript file, package - a directory with one or more js file and a package.json file containing metadata about the package

Typical NPM Usage

  • clone a repo
  • npm install in the clone repo to install dependencies
  • npm start to start program (if configured in packages.json file)
  • npm test to run tests (if configured in packages.json file)

NPM Help