You can require the file and just map through the object keys, which would return an array of the names of the exported objects.
var myExports = require('./exported-file.js');
console.log(Object.keys(myExports));
You can require the file and just map through the object keys, which would return an array of the names of the exported objects.
var myExports = require('./exported-file.js');
console.log(Object.keys(myExports));