NPM is a package manager for JavaScript programming language. It is used to install packages that provide additional functionality. When a package is installed using NPM, it and its dependencies are downloaded and managed. Key commands include npm install to install packages and npm publish to share your own packages.
NPM is a package manager for JavaScript programming language. It is used to install packages that provide additional functionality. When a package is installed using NPM, it and its dependencies are downloaded and managed. Key commands include npm install to install packages and npm publish to share your own packages.
NPM is a package manager for JavaScript programming language. It is used to install packages that provide additional functionality. When a package is installed using NPM, it and its dependencies are downloaded and managed. Key commands include npm install to install packages and npm publish to share your own packages.
1. Which of the following is not a package manager?
gulp 2. Run "npm install lodash" in your terminal. What do you notice? Only Lodash is installed 3. Which of the following is not an npm command? auth 4. A package.json must have _________. Both 5. NPM is a package manager for ____________. Javascript programming language 6. Installing a package in npm will ___________. All the options 7. "npm config get prefix" command returns the path where __________ global packages are installed 8. Which of the following commands can be used to install a package as a devDependency? npm install --save-dev 9. Which of the following commands can be used to install package "lodash" with a specific minor version? npm install lodash@3.1 --save 10. A_______ is a file or directory that is described by a package.json. Package 11. Which of the following commands can be used to check if the project has all latest versions of the packages? npm outdated 12. Installing a package globally will download the package into node_modules directory and creates a command in the bin directory linking it to the package. true 13. Which of the following commands can be used to install package "lodash" with a specific minor version? npm install lodash@3.1 --save 14. Which of the following commands can be used to create a scoped package? npm init --scope= 15. Which of the following commands can be used to create user with access to npm registry? npm adduser 16. On trying to publish a package with name matching an existing package, npm will increment the major version and override the existing package in registry. false 17. Which of the following commands can be used to publish a public package? npm publish --access=public 18. By default scoped packages are published as __________. private 19. Documentation related to the package is usually available in __________. README.md 20. Arguments in the npm run command refers to __________ in package.json? property configured in script object 21. Which command helps to reduce duplication? Dedupe 22. Package Management Tool used by Facebook and Google is __________. Yarn 23. Package names in npm registry do not have to be unique. false 24. Which of the following search commands returns all packages with name starting with Aj~? npm search re~ 25. npm is __________. Both 26. npm by default installs packages in which scope? local 27. Semantic Versioning (SemVer) is versioning convention composed of three numbers which are ____________. major.minor.patch 28. Packages which are required only for development and testing are configured in__________. devdependencies 29. The below command can be used to set the username as scope. npm config set scope 30. Which of the command is a quicker way to generate a package.json file? npm init -y 31. Which command allows users to lock down the versions of installed packages? shrinkwrap 32. A package.json file _________. All the options