NPM is a library management tool (package or module) for both client and server in JavaScript projects.NPM is currently the world's largest package management tool with over 350,000 libraries, more than double the second tool - Apache Maven.
NPM contains many useful libraries so many developers use it.Therefore, they import more JavaScript project libraries than other languages, and the number of reusable code is also more.
See also: Microsoft and GitHub cooperated to bring Git virtual file system to macOS and Linux
'Git, the source control system on GitHub is built to encourage' taking '(copying) the project.But many of the code is copied without a grab and copy file and even the entire library. '
This research result is important because 'firstly, maybe GitHub should recapture its real data scale and secondly, more and more research using a huge number of open source projects is available on GitHub. .Copying such code will affect the results of these studies.The raw data for this study can be downloaded here.http://mondego.ics.uci.edu/projects/dejavu/ This is the whole study. http://janvitek.org/pubs/oopsla17b.pdf and https://dl.acm.org/citation.cfm?doid=3152284.3133908