As we known, the commonJS module\'s exports is a JS Object commonly. We can access the specific method easily like const { methodA } = require(\'module\').
exports
const { methodA } = require(\'module\').