I\'m trying to understand how to turn a standalone script into a function that I can then use inside another piece of code (it wil be an express route to be exact) and I bel