use module import and export in nodejs code example Example: how to export module in node js module.exports ={ //functions }