In node, why are some require followed by two () ()

In

node, why are some require followed by two () () parentheses?
the first parenthesis introduces the path of the method, so what does the second parenthesis do? The novice solved the problem, but no corresponding data was found.

Code that appears in the project:

require("../util/x1")(require("../config/crawl/x2").cronLogConfig);
Jul.16,2021

require (".. / util/x1") exports a method. The second parenthesis is the execution of the method.

Menu