DEV Community

loading...

Modules in Node.js | Understanding require function & exports object [video]

thenerdydev profile image The Nerdy Dev ・1 min read

In this video, we will learn about Modules in Node.js. We will first understand what a Module actually is, then we will understand the types of modules that we have in Node.js. We will also see understand the CommonJS provided require function which is used to import the functionality that we wrap in the module.exports object


Follow me on:
👉 Twitter: https://twitter.com/The_Nerdy_Dev
👉 Instagram: https://instagram.com/thenerdydev
👉 YouTube: https://youtube.com/thenerdydev

PS - Make sure to subscribe to my YouTube Channel for FREE content on Web Development and loads of other technologies.

Discussion (0)

Forem Open with the Forem app