Npm-Intro Flashcards
What is NPM?
an online registry that allows software developers to share and borrow each others code in packages.
What is a package?
A directory with one or more files in it that can be reused by other software developers or clients
How can you create a package.json with npm?
Navigate to the root directory of your package and then run the command line npm init –yes
What is a dependency and how to you add one to a package?
dependencies are packages that your application uses. To add a dependency to a package to use the npm install command
What happens when you add a dependency to a package with npm?
When you add a dependency to a package the package will now have access to the dependent files