I wanted to know, what are the advantages (if there are) of calling functions from modules using modules.exports as opposed adding all the functions to the main app JS file.
I am looking for a simple comparison or pro's and con's for points apart from that it gives logical modularity and readability.
Thanks a ton!