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