While trying to pull this part with module.exports, I can't pull it. The socket in function is blocking it. What can I do! as a solution?
I tried using return in socket io function with module.exports but it doesn't work, I could write the output from db.name() if it was