Node.js Modules & NPM for Beginners | JavaScript Multiple Imports & Exports with Require
TechSpace Academy
0:00 / 0:00
Node.js Modules & NPM for Beginners | JavaScript Multiple Imports & Exports with Require
9 просмотров · 8 дней назад
TechSpace Academy
5 подписчиков
9 просмотров · 8 дней назад
In this video, we learn how to work with JavaScript modules in Node.js using CommonJS, and how to manage packages with npm.
📌 Topics covered:
1. `require()` and `module.exports`
How to export multiple functions or values
How to import multiple functions or values
How `require()` works in Node.js
Using `module.exports` to share code between JavaScript files
2. NPM Package Management
`npm install` — Install packages
`npm uninstall` — Remove packages
Understanding packages and dependencies in a Node.js project
This video provides practical examples using a Node.js project and is suitable for beginners learning JavaScript and Node.js.
#JavaScript #NodeJS #NPM #JavaScriptTutorial #CommonJS #Require #ModuleExports #WebDevelopment