Should I user meteor packages or copy js files?

62 views Asked by At

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

1

There are 1 answers

2
Jordi Castilla On

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.