This is the API documentation for GH-Node.js dataset and paper The Node.js Dependency Ecosystem in GitHub:Social, Technical, and Documentation Aspects.
Acquired by the largest social coding platform GitHub in 2020, the Node.js Package Manager (i.e., npm) archive repository serves as a critical part of the JavaScript community, and helps support one of the largest developer ecosystems in the world. Like other software artifacts, the ecosystem nowcontains rich information that covers many different aspects of software development. To enable the research community to mine and analyze the diverse data related to Node.js, we built the Node.js dependency ecosystem (i.e., GH-Node.js), an open dataset that contains a curated snapshot of npm packages and their applications. Moreover, we have included related data dumps from GitHub and the npmJS registry. In addition, GH-Node.js provides access to issues, pull requests and related vulnerability data. The dataset can be explored from various aspects, including: (i) Social, since it includes all developer information related to the packages and their applications, (ii) Technical, since it includes source code and maintenance activities such as issues, pull requests and vulnerability information, and (iii) Documentation, since it features README files, code of conduct, and licensing information. Our vision is that researchers will use GH-Node.js to investigate their questions with a validated snapshot of npm packages and their applications.
📁 /
├─ 📁 repositories
├─ 📁 repositories_info
├─ 📁 dependencies_history
├─ 📁 issues
├─ 📁 pull_requests
├─ 📁 contributors
└─ 📁 security_advisories
- repositories: is the folder that contains the git repositories.
- repositories_info: is the folder that contains the basic information of a git repository.
- dependencies_history: is the folder that contains the information related to the dependency changes over time for the package.
- issues: is the folder that contains the issues for the package.
- pull_requests: is the folder that contains all the changes information collected from the GitHub API.
- contributors: is the folder that contains contributor information collected from the GitHub API.
- security_advisories: is the folder that contains security advisories that taken from the GitHub Security Advisory database.
- Download the dataset from: link
- Extract the files.
- Clone this repository into your userhome folder in the system
git clone https://github.com/NAIST-SE/GH-Node.JS.git
- Open
Jupyter Notebook
. - Run the example_query_1.ipynb and example_query_2.ipynb on the dataset.
- Bodin Chinthanet, Nara Institute of Science and Technology (NAIST), Nara, Japan.
- Syful Islam, Nara Institute of Science and Technology (NAIST), Nara, Japan.
- Raula Gaikovina Kula, Nara Institute of Science and Technology (NAIST), Nara, Japan.
- Christoph Treude, University of Adelaide, Adelaide, Australia.
- Takashi Ishio, Nara Institute of Science and Technology (NAIST), Nara, Japan.
- Hideaki Hata, Nara Institute of Science and Technology (NAIST), Nara, Japan.
- Kenichi Matsumoto, Nara Institute of Science and Technology (NAIST), Nara, Japan.