Nodejs – How to export * from “module”

How to do an export * from "module" in a NodeJS environment that doesn’t use ES6 imports?

Do I have to do:

const {a, b, c, d, e, f, g, ..., z} = require("module");
module.exports = {a, b, c, d, ..., z};

or is there any other faster way?

Thank you.

Answer

module.exports = require("module");