I know how to write Meteor packages but I can\'t seem to figure out how to have all exports land in my app\'s namespace, as described in this presentation.
This particul
In your package, you should define all methods and symbols in the namespace you want them to have, and then export that namespace. So, if in your package you've got:
MyApp = {
myMethod: ...
};
Then you export it with api.export('MyApp')
.
Unfortunately, there's no method similar to the one in Node you've mentioned, as all packages are loaded globally on startup.