InterviewSolution
| 1. |
What Is Local Installation Of Dependencies? |
|
Answer» By default, npm installs any dependency in the local mode. Here local mode REFERS to the package INSTALLATION in node_modules directory LYING in the folder where Node application is PRESENT. Locally deployed packages are accessible VIA require(). To install a Node project locally following is the syntax. By default, npm installs any dependency in the local mode. Here local mode refers to the package installation in node_modules directory lying in the folder where Node application is present. Locally deployed packages are accessible via require(). To install a Node project locally following is the syntax. |
|