What is the correct way to import meteor modules from an npm package for use in meteor projects?
For example, if I create an npm package, how can I import Meteor’s psuedo-globals without using the actual global.
To be more specific, how do I:
var Meteor = require('meteor/meteor').Meteor
when npm does not know how to resolve ‘meteor/meteor’.
Currently I have to rely on
Meteor being a global variable, accessible from my npm module.