Given a node js module/package, is there some way I can extract out all functions exported by that module ?
For example - if the module has a js file with following
Here's a quick and easy way:
console.dir(Object.keys(require('foo')));