I sometimes have trouble using NPM modules in my Meteor projects and I’d like to know more about this topic. I’ve read the docs, but I still have some basic questions.
- Can all NPM modules be used with Meteor?
- If so, should I always be able to use the ES6
importstatement to do so, or do I sometimes have to rely on
requirebased on how the package itself is written?
- Is the syntax always the same for the
import Object from 'package'? If not, how do I know what statement to use?
Thanks for your help!