NPM packages with atmosphere dependencies

Hi everybody
I was wondering how we can write an NPM package that uses reactive-var to name an example.
Is it possible?

Meteor hasn’t officially made the move to npm yet (but will be soon), so you won’t be able to add the reactive-var package as a dependency to your npm based code. Some people have already tried to split some of the core Meteor packages out and host them via npm, so you could always try one of them out (e.g. meteor-reactive-var). These aren’t officially MDG sanctioned however so use them at your own risk.

Otherwise you could look into moving the reactive-var source into your project (since it’s open source), but that could prove to be quite challenging due to it’s dependencies (on Tracker and the Meteor core).

I gues you can do something like here (at least for now):

1 Like