title: NodeJs: How to export all the modules and variables in a Javascript file?
body: <p>How can I export all the modules and variables present in a Javascript file using NodeJS. Suppose i have a .js file with 20 functions and 20 variables and i need to export all of the functions and variables at once and not one by one. How can i achieve this?</p>