Node Modules
Module Export & Required in Node js
In Node.js, module.exports is used to export objects, functions, classes, or other values from a module so they can be imported and used in other files. Below are some common patterns for exporting in Node.js:
Index. js file
var app = require('./app')
console.log(app);
App.js file
module.export=[
module.export=[
9999,8888,
]