I'm creating web app using node.js and express.js. I want to keep functions, need frequently in separate file/module. What is the best way/practice to organize/create frequently usable functions among several script files/routes?
Thanks in advance.
Take a look at this video Modular web applications with Node.js and Express from tjholowaychuk