What's difference between plugin and library in JS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's difference between plugin and library in JS?

By installing some new functionality on the website I realized that some authors called library and others plugin their .js project. I would like to know to differentiate a plugin from a library.

9th Mar 2017, 5:57 PM
Rodrigo Vieira
Rodrigo Vieira - avatar
3 Answers
+ 4
jQuery is a JS library / framework. jQuery functionality can be extended by jQuery plugins. These plugins wouldn't work without jQuery as they use its functionality. I think this is a good example to understand the difference.
9th Mar 2017, 6:00 PM
Tamás Barta
Tamás Barta - avatar
0
On the same line can a .js plugin be considered an application or anything is an application in javascript?
9th Mar 2017, 6:13 PM
Rodrigo Vieira
Rodrigo Vieira - avatar
0
library is to generic uses, plugins is a especific solution
28th Mar 2017, 5:31 AM
Isvaldo Fernandes
Isvaldo Fernandes - avatar