I may have missed something,
I want my original code to ALWAYS run in node and sometimes in browser. But when i use require(glob) syntax it brakes node API and code will not run in node of course. How is this module to be used in pure node environment ? We need both.