Skip to main content

NPMREC: NPM Packages and Similar Projects Recommendation System

  • Conference paper
  • First Online:
Data Analytics and Management

Abstract

Node.js has a default package manager called Node Package Manager (NPM). There exists a command line client, called NPM, and an online database of public and paid-for private packages, known as the NPM registry. The registry is accessed via the user, and the available packages can be browsed and searched through the NPM Web site. Given a new project description, it is crucial to determine the most favorable NPM packages that can be used for the overall success of the project because of the reusable nature of these packages for rapid development. Though the hurdle faced by most of the developers is to select the right one from the vastly present number of NPM packages. Thus, to solve this issue, we propose a method called NPMREC known as NPM package and Similar Projects Recommendation System. It takes a project description as an input and gives a ranked list of NPM packages as the output that can then be used to implement the project with better efficiency. We used custom-built datasets for our approach using libraries.io Web site. The training dataset contains two datasets, firstly, the past project dataset with 589 NPM projects/NPM modules with information about their dependencies/NPM packages; secondly, the NPM package dataset with 759 NPM packages containing the detailed information about the dependencies of these 589 NPM projects/NPM modules. The test dataset contains 105 NPM projects/NPM modules along with information about their dependencies.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Raemaekers S, van Deursen A, Visser J (2012) An analysis of dependence on third-party libraries in open source and proprietary systems. In: Sixth international workshop on software quality and maintainability, SQM, vol 12, pp 64–67

    Google Scholar 

  2. Yu S, Woodard CJ (2008) Innovation in the programmable web: characterizing the mashup ecosystem. In: International conference on service-oriented computing. Springer, Berlin, Heidelberg, pp 136–147

    Google Scholar 

  3. Avazpour I, Pitakrat T, Grunske L, Grundy J (2014) Dimensions and metrics for evaluating recommendation systems. In Recommendation systems in software engineering. Springer, Berlin, Heidelberg, pp 245–273

    Google Scholar 

  4. Thung F, Oentaryo RJ, Lo, D, Tian Y (2017) Webapirec: recommending web apis to software projects via personalized ranking. IEEE Trans Emerg Topics Comput Intell 1(3):145–156

    Google Scholar 

  5. Silva C, Ribeiro B (2003) The importance of stop word removal on recall values in text categorization. In: Proceedings of the international joint conference on neural networks, vol 3. IEEE, pp 1661–1666

    Google Scholar 

  6. Méndez JR, Iglesias EL, Fdez-Riverola F, Díaz F, Corchado JM (2005) Tokenising, stemming and stopword removal on anti-spam filtering domain. In: Conference of the Spanish association for artificial intelligence. Springer, Berlin, Heidelberg, pp 449–458

    Google Scholar 

  7. Porter MF (1997) An algorithm for suffix stripping. Readings in information retrieval

    Google Scholar 

  8. Schütze H, Manning CD, Raghavan P (2008) Introduction to information retrieval, vol 39. Cambridge University Press, Cambridge, pp 1041–4347

    Google Scholar 

  9. Rajaraman A, Ullman JD (2011) Mining of massive datasets. Cambridge University Press

    Google Scholar 

  10. Nguyen HV, Bai L (2010) Cosine similarity metric learning for face verification. In: Asian conference on computer vision. Springer, Berlin, Heidelberg, pp. 709–720

    Google Scholar 

  11. Likas A, Vlassis N, Verbeek JJ (2003) The global k-means clustering algorithm. Pattern Recogn 36(2):451–461

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Deepak Kumar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Beniwal, R., Dahiya, S., Kumar, D., Yadav, D., Pal, D. (2021). NPMREC: NPM Packages and Similar Projects Recommendation System. In: Khanna, A., Gupta, D., Pólkowski, Z., Bhattacharyya, S., Castillo, O. (eds) Data Analytics and Management. Lecture Notes on Data Engineering and Communications Technologies, vol 54. Springer, Singapore. https://doi.org/10.1007/978-981-15-8335-3_54

Download citation

Publish with us

Policies and ethics