Comparative analysis of JavaScript package managers - yarn and npm
Abstract
In this article, two leading solutions for managing packages in projects which are using JavaScript technology (yarn and npm) were subjected to a comparative analysis. As part of the implementation, two configuration files were created, one of which represents an empty application created on the basis of an application template based on the Angular framework in version 8. The second file reflects an extensive web application based on the same framework, but with the addiction of over 100 dependencies. The research was focused on the time efficiency of both solutions.
Keywords:
NPM, yarn, package manager, performance testingReferences
MSR '16: Proceedings of the 13th International Conference on Mining Software Repositories https://dl.acm.org/doi/abs/10.1145/2901739.2901743, [24.01.2021].
Google Scholar
Charakterystyka NPM https://www.freecodecamp.org/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/, [03.01.2021].
Google Scholar
Działanie menadżerów pakietów JavaScript https://www.freecodecamp.org/news/javascript-package-managers-101-9afd926add0a/, [03.01.2021].
Google Scholar
Charakterystyka yarn https://engineering.fb.com/2016/10/11/web/yarn-a-new-package-manager-for-javascript/, [11.02.2021].
Google Scholar
E. Wittern, P. Suter, S, Rajagopalan, A look at the dynamics of the JavaScript package ecosystem, MSR’16: Proceedings of the 13 Conference of Mining Software Repositories, (2016) 351-361, https://dl.acm.org/doi/10.1145/2901739.2901743.
DOI: https://doi.org/10.1145/2901739.2901743
Google Scholar
A. Jacobs, Comparsion of Javascript Package Managersm 2019, https://www.theseus.fi/handle/10024/227945, [24.01.2021].
Google Scholar
Wykres popularności obu rozwiązań https://www.npmtrends.com/npm-vs-yarn, [24.01.2021].
Google Scholar
Statistics
Abstract views: 568PDF downloads: 483
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.