node js require all function from another file code example Example: node js require all function from another file const { func1, func2, func3 } = require("./lib");