npm Flashcards
What is NPM?
is a registry, which is a big database of information about packages that people are sharing. It is a place to reuse code from other developers and way to share code to others.
What is a package?
packages are reusable code. A package is a directory with one or more directories in it. and it has a package.json file
How can you create a package.json with npm?
by using the npm init -yes
What is a dependency and how to you add one to a package?
a dependency the language that the user needs to have the language to read the file
npm install [argument]
What happens when you add a dependency to a package with npm?
it will modify the package.json file and add the ‘language’ that the file needs.