1 00:00:00,120 --> 00:00:02,130 Hello and welcome to this video. 2 00:00:02,550 --> 00:00:09,470 In this video, I'm going to introduce you to modules and packages in no doubt, yes. 3 00:00:09,570 --> 00:00:11,280 What is a module? 4 00:00:11,550 --> 00:00:12,930 He no doubt yes. 5 00:00:13,590 --> 00:00:24,900 Modules are basically like JavaScript libraries, and they contain a set of functions that you can include 6 00:00:25,170 --> 00:00:26,890 in your applications. 7 00:00:26,910 --> 00:00:38,580 Node.js has a set of built in modules that you can use without any further installation in order to 8 00:00:38,580 --> 00:00:39,960 use a module. 9 00:00:40,530 --> 00:00:50,580 You have to use the required function with the name of the module to bring that module into your project. 10 00:00:50,610 --> 00:00:59,490 For example, if you are importing the 8TB module, you use the required function and then pass in the 11 00:00:59,490 --> 00:01:04,470 name of the module that you want to include in your application. 12 00:01:04,500 --> 00:01:11,220 You can also create your own modules and then import them into applications. 13 00:01:11,640 --> 00:01:12,930 What is a package? 14 00:01:13,470 --> 00:01:20,370 A package in Node.js contains all the files you need for a module. 15 00:01:20,820 --> 00:01:27,810 So modules are basically JavaScript libraries that you can include in your project. 16 00:01:28,350 --> 00:01:34,170 In order to download a package, you have to install it using npm. 17 00:01:34,650 --> 00:01:45,320 NPM stands for Node Package Manager, which is the utility that you will need to use to install a node 18 00:01:46,140 --> 00:01:46,830 package. 19 00:01:47,220 --> 00:01:52,250 NPM is automatically installed when you also install node. 20 00:01:52,260 --> 00:01:53,250 Thought this?