Introduction to packages
In the previous chapters, we have used packages and I hope you remember them. We have used packages such as iron-router
, momentjs
, reactive-var
, and so on. We have used the meteor add <package name>
command to add packages. When we run this command, MeteorJS searches for the interested package in https://packages.meteor.com and adds it to the application. If we want to use a specific version of a package because of compatibility reasons, then we have to use meteor add <package name><@version>
. There are MeteorJS applications that are built just with custom-made packages. There are developers who believe that it is good to build their modules and functionalities as custom packages that is evolving as a pattern to build the MeteorJS applications. Take a look at the Stack Overflow answer (http://stackoverflow.com/a/26733023/407342), which will give an explanation about it. This clearly gives us the picture of how important packages are in MeteorJS...