LFZ JS Flash Cards > node-require > Flashcards
What is the purpose of module.exports in a Node.js module?
To give another module access to the variables or functionality in the node.js module
How do you import functionality into a Node.js module from another Node.js module?
require(‘file-name’)