Proful Sadangi on Twitter: "#nodejs module system Every file is treated as module in Nodejs. You can use module.exports to expose functionality Using require you load export modules. https://t.co/ZdrOApmDO9" / Twitter
What is the purpose of module.exports in node.js ? - GeeksforGeeks
Learn the basics of the JavaScript module system and build your own library