I am working on an app that needs to know what the Meteor “core modules” are. By “core module”, I believe I mean those modules that are available to be "import"ed or "require"d regardless of what is in .meteor/packages or package.json.
In a Node environment, the “core modules” are built-in and visible in node/lib. I’m presuming that that list is still accurate for npm packages built with Meteor and that Meteor does not in some way add to it. Can anyone state definitively that that is true?
In a Meteor server environment, the Node core modules are available plus some Meteor ones. Is there a comprehensive list somewhere?
In a browser client, some of the Node core modules appear to be available to Meteor modules (console.log() for example) through browserify and other stubs. Again, there are also Meteor modules that are available and they differ a bit from the server side. Is there a comprehensive list somewhere of exactly what modules are available in the browser?
The same question would apply for cordova too I’d guess. I’ve not targeted an app environment yet, but the application I’m working with will have to support that.
And, BTW, is there an application that can analyze an npm package and determine whether it has a chance of running in the browser when built with Meteor? I’ve encountered some hard to find incompatibilities that didn’t surface until late in the game.