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

09/18/2021
by   Syful Islam, et al.
0

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 co-usage in SO. From over 30,000 SO posts, we extracted 2,100 SO posts related to npm and matched them to 217,934 npm library packages. 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.

READ FULL TEXT
research
03/21/2021

An Empirical Study of Developer Discussions on Low-Code Software Development Challenges

Low-code software development (LCSD) is an emerging paradigm that combin...
research
09/07/2022

The art of algorithmic guessing in

The technique of guessing can be very fruitful when dealing with sequenc...
research
11/21/2022

An Empirical Study of Package Management Issues via Stack Overflow

The package manager (PM) is crucial to most technology stacks, acting as...
research
02/25/2020

An Empirical Study of Usages, Updates and Risks of Third-Party Libraries in Java Projects

Third-party libraries are a central building block to develop software s...
research
05/26/2020

Selecting third-party libraries: The practitioners' perspective

The selection of third-party libraries is an essential element of virtua...
research
08/13/2021

Contrasting Third-Party Package Management User Experience

The management of third-party package dependencies is crucial to most te...
research
03/21/2019

Bootstrapping Cookbooks for APIs from Crowd Knowledge on Stack Overflow

Well established libraries typically have API documentation. However, th...

Please sign up or login with your details

Forgot password? Click here to reset