Modules in node js

What is a node module ?

  • When we perform npm install, node_modules folder is created.
  • node_modules has a subfolder of the module you have installed example (lodash)
  • inside that lodash folder all the .js files will be stored after lodash installation

Example :

Leave a Comment