2

There are many js libraries built by enthusiasts that are incredible. And some of them have found a place in atmospherejs (some of them migrated not by their autor). Should I use the original ones (js files) or add the meteor packages that are the meteor version of these libraries? For example:

Sweet alert:

Meteor version by someone else

Original version by ther author

Moro Silverio
  • 87
  • 2
  • 7

1 Answers1

1

You can do both, if you take a look in usage you will find first one (meteor one) you need meteor to install it:

Usage

meteor add kevohagan:sweetalert

And second one you have a working plugin installable via bower or npm

Usage

Method 1: Install through bower:

$ bower install sweetalert

Method 2: Install through NPM:

$ npm install sweetalert

So, if it is not last option, you dont need to get manually any files.

Community
  • 1
  • 1
Jordi Castilla
  • 26,609
  • 8
  • 70
  • 109
  • is there a advantage, disadvantage over using one instead of another? like memory, speed, etc – Moro Silverio Aug 17 '17 at 18:01
  • My advice will be, work with the tool you feel more comfortable. I didn't work with `meteor` but seems similar to `npm` and `bower`, they will give you not only repository handling, but also many other options, I prefer `npm`, but is just a matter of taste and own experience. – Jordi Castilla Aug 18 '17 at 08:37