The search functionality is under construction.
The search functionality is under construction.

An Exploration of npm Package Co-Usage Examples from Stack Overflow: A Case Study

Syful ISLAM, Dong WANG, Raula GAIKOVINA KULA, Takashi ISHIO, Kenichi MATSUMOTO

  • Full Text Views

    0

  • Cite this

Summary :

Third-party package usage has become a common practice in contemporary software development. Developers often face different challenges, including choosing the right libraries, installing errors, discrepancies, setting up the environment, and building failures during software development. The risks of maintaining a third-party package are well known, but it is unclear how information from Stack Overflow (SO) can be useful. This paper performed an empirical study to explore npm package co-usage examples from SO. From over 30,000 SO question posts, we extracted 2,100 posts with package usage information and matched them against the 217,934 npm library package. We find that, popular and highly used libraries are not discussed as often in SO. However, we can see that the accepted answers may prove useful, as we believe that the usage examples and executable commands could be reused for tool support.

Publication
IEICE TRANSACTIONS on Information Vol.E105-D No.1 pp.11-18
Publication Date
2022/01/01
Publicized
2021/10/11
Online ISSN
1745-1361
DOI
10.1587/transinf.2021MPP0003
Type of Manuscript
Special Section PAPER (Special Section on Empirical Software Engineering)
Category

Authors

Syful ISLAM
  Nara Institute of Science and Technology
Dong WANG
  Nara Institute of Science and Technology
Raula GAIKOVINA KULA
  Nara Institute of Science and Technology
Takashi ISHIO
  Nara Institute of Science and Technology
Kenichi MATSUMOTO
  Nara Institute of Science and Technology

Keyword