How does nodejs call a js file many times?

  node.js, question

I want to call another js file, bpp.js, many times after starting an app.js.
However, if var bpp = require(‘./bpp’) is used; The code of bpp.js was executed when it was referenced.
How to execute bpp.js in timing program?

You defined var bpp=require(“./bpp.js “) and did not execute it, just passed the exposed interface of bpp.js to bpp, you need to call him to directly use bpp([params]), multiple calls only need multiple calls.