InterviewSolution
Saved Bookmarks
| 1. |
How do you manage packages in your node.js project? |
|
Answer» It can be managed by a number of package installers and their configuration file accordingly. Out of them mostly use npm or yarn. Both PROVIDE almost all libraries of javascript with extended FEATURES of controlling environment-specific configurations. To maintain versions of libs being INSTALLED in a project we use package.json and package-lock.json so that there is no issue in PORTING that APP to a different environment. |
|