Find research datasets worth reusing
Search datasets from major research repositories and use ShareScore to quickly assess how well each record supports discovery, access, and reuse.
47
datasets available to search
ShareScore release 0.9.0
Dataset results
47 results for “npm”
NPM 100k and 300k dependency data
<p>This is the dependency data for the top 100000 and top 300000 packages (in lexicographic order) with the following structure:</p> <pre><code class="language-json">{"pkgs":[{ "name": "react", "versions": { "1.00": { "timestamp": "06-05-2022T10:00:01", "dependencies": { "name": "^1.0.2" } } } }, ... ]}</code></pre> <p> </p>
Dependency networks of PyPI, npm, CRAN and Bioconductor repositories
<p>A set of datasets with a list of dependencies from the software repositories PyPI, npm, CRAN and Bioconductor.</p>
NPM Package READMEs
<p>This JSON file contains README information for 925, 317 NPM packages. Package README information was downloaded by:</p> <ol> <li>Using https://github.com/nice-registry/all-the-package-names to get a list of all package names.</li> <li>For each package, looking at the readme field on https://registry.npmjs.org/<package></li> <li>Where packages were missing a readme field, sometimes the readme is instead in the versions field. We look for the latest version with a readme field.</li> <li>Where the package has no readme field at all, we use the repository field to look for common README file names in the github repo.</li> </ol> <p>For 1106544 packages, 925, 317 have a README file.</p> <p>The JSON file is formatted as follows:</p> <p>{<br> "<name>": "<readme>",<br> "<name>": "<readme>"<br> }</p> <p> </p>
Dataset: What are the characteristics of highly-used packages? A case study on the npm ecosystem
<p>With the popularity of software ecosystems, the number of open source components (a.k.a. “packages”) has been growing rapidly. Identifying high-quality and well-maintained packages from a large pool of packages to depend on is a basic and important problem, as it is beneficial for various applications, such as package recommendation, package search, etc. However, there is no systematic and comprehensive work so far that focuses on addressing this problem except in online discussions or in informal literature and interviews. To fill this gap, in this paper, we conduct a mixed qualitative and quantitative analysis to understand how developers identify and select relevant open source packages. In particular, we start by surveying 118 JavaScript developers from the npm ecosystem to qualitatively understand the factors that make a package to be highly-used within the ecosystem. The survey results show that JavaScript developers believe that highly-used packages are well-documented, receive a high number of stars on GitHub, have a large number of downloads, and do not suffer from vulnerabilities. Then, we conduct an experiment to quantitatively validate the developers' perception of the factors that make a highly-used package. In this analysis, we collect and mine historical data from 2,427 packages divided into highly-used and low-used packages. For each package in the dataset, we collect quantitative data to present the factors studied in the developers' survey. Next, we use regression analysis to quantitatively explain which of the studied factors are the most important. Our regression analysis support developers' believe about highly-used packages. In particular, the results show that highly-used packages tend to be impacted by the number of downloads, stars, and how larger is readme file of the package.</p>
NPM Packages (~1.9M packages)
<p>- input.json.gz contains the raw NPM data dump from the replicate.npmjs.org database (downloaded on June 4th, 2022) in the following format:</p> <pre><code class="language-json">{ "total_rows": 1997865, "offset": 0, "rows": [ { "id": "-", "key": "-", "value": { "rev": "5-92e28c1ea7f24d165faa202aabd92669" }, "doc": { "_id": "-", "_rev": "5-92e28c1ea7f24d165faa202aabd92669", "name": "-", "dist-tags": { "latest": "0.0.1" }, "versions": { "0.0.1": { "name": "-", "version": "0.0.1", "license": "UNLICENSED", "keywords": [], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node --require ts-node/register src", "build": "tsc" }, "devDependencies": { "@types/node": "13.9.0", "ts-node": "8.6.2", "typescript": "3.8.3" }, "description": "...", "_id": "-@0.0.1", "_nodeVersion": "13.3.0", "_npmVersion": "6.14.4", "dist": {...}, "maintainers": [ { "name": "parzhitsky", "email": "parzhitsky@gmail.com" } ], "_npmUser": { "name": "parzhitsky", "email": "parzhitsky@gmail.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/-_0.0.1_1585828132159_0.6185838126718755" }, "_hasShrinkwrap": false } }, "time": { "created": "2020-04-02T11:48:52.159Z", "0.0.1": "2020-04-02T11:48:52.339Z", "modified": "2022-04-04T10:06:01.120Z" }, "maintainers": [ { "email": "support@npmjs.com", "name": "npm-support" } ], "description": "...", "keywords": [], "license": "UNLICENSED", "readme": "...", "readmeFilename": "README.md" } }, ... ] }</code></pre> <p>- streamedout.json.gz contains a processed file that has the following format</p> <pre><code class="language-json">{"pkgs": [ { "name": "react", "versions": { "1.00": { "timestamp": "06-05-2022T10:00:01", "dependencies": { "name": "^1.0.2" } } } }, ... ]}</code></pre> <p> </p>
SQLite3 DB of npm package versions using install hooks
<p>SQLite3 database containing reduced metadata for all versions using at least one of the available install hooks</p> <p>Compressed using zstandard. You can decompress on Linux using these commands:</p> <pre><code class="language-bash">zstd -d npm_registry.db.zst</code></pre> <p> </p>
Helping or not Helping? Why and How Trivial Packages Impact the npm Ecosystem
<p>Developers often share their code snippets by packaging them and making them available to others through software packages. How much a package does and how big it is can be seen as positive or negative. Recent studies showed that many packages that exist in the npm ecosystem are trivial and may introduce high dependency overhead.</p> <p>Hence, one question that arises is why developers choose to publish these trivial packages. Therefore, in this paper, we perform a developer-centered study to empirically examine why developers choose to publish such trivial packages. Specifically, we ask 1) why developers publish trivial packages, 2) what they believe to be the possible negative impacts of these packages, and 3) how such negative issues can be mitigated. The survey response of 59 JavaScript developers who publish trivial npm packages showed that the main reasons for publishing these trivial packages are to provide <em>reusable components</em>, <em>testing</em> & <em>documentation</em>, and <em>separation of concerns</em>. Even the developers who publish these trivial packages admitted to having issues when they publish such packages, which include the <em>maintenance of multiple packages</em>, <em>dependency hell</em>, <em>finding the right package</em>, and the <em>increase of duplicated packages</em> in the ecosystems. Furthermore, we found that the majority of the developers suggested grouping these trivial packages to cope with the problems associated with publishing them. Then, to quantitatively investigate the impact of these trivial packages on the npm ecosystem and its users, we examine grouping these trivial packages. We found that if trivial packages that are always used together are grouped, the ecosystem can reduce the number of dependencies by approximately 13%. Our findings shed light on the impact of publishing trivial packages and show that ecosystems and developer communities need to rethink their publishing policies since it can negatively impact the developers and the entire ecosystem.</p> <p>The published data set contains the following:</p> <ol> <li>List of identified trivial npm packages.</li> <li>The survey questions.</li> <li>The developers' responses to the survey.</li> <li>The results of the co-usage analysis of trivial npm packages.</li> </ol> <p> </p>
NCQ Dataset (NPM Package Data)
<p>Dataset for use in <a href="https://github.com/damorimRG/node_code_query">Node Code Query</a>, contains package information in a tab separated csv file. The unzipped size is ~700MB.</p> <p>You do not need to manually download this file for use in NCQ, the setup scripts will handle this for you automatically.</p> <p>The dataset contains the following fields:</p> <p><strong>Mined from the NPM registry:</strong></p> <ul> <li>Package name</li> <li>Description</li> <li>Keywords</li> <li>License</li> <li>repositoryUrl</li> <li>timeModified</li> </ul> <p><strong>Derived from data on the NPM registry:</strong></p> <ul> <li>Array of Node.js code snippets extracted from the package README using https://github.com/Brittany-Reid/npm-code-snippets</li> <li>Number of markdown code blocks in the README (number may be larger than node.js snippets, these are non-filtered)</li> <li>Number of lines in the README</li> <li>If an install example exists in the README (if a code block exists with `npm install` or a `install` header exists)</li> <li>If a run example exists in the README (if a code block exists with `npm run` or a usage header exists)</li> </ul> <p><strong>Mined from GitHub for packages with a GitHub repository (values will be 0 or false for packages missing this data)</strong></p> <ul> <li>Number of stars</li> <li>Is a fork?</li> <li>Number of forks</li> <li>Number of watchers</li> <li>If a test directory exists (if the top level directory contains a folder called `test` or `tests`)</li> </ul> <p><strong>This updated version also contains:</strong></p> <ul> <li>The confidence value of an 'able to install' prediction.</li> </ul>
NPM ecology network dataset
<p>The dataset contains the dataset of the NPM ecology network.</p> <ul> <li><a href="../api/records/10317762/draft/files/npm_openrank_top100.csv/content" target="_blank" rel="noopener noreferrer">npm_openrank_top100.csv</a> file contains the result of top 100 OpenRank repositories in npm ecology.</li> <li><a href="../api/records/10317762/draft/files/npm_ecology.json/content" target="_blank" rel="noopener noreferrer">npm_ecology.json</a> file contains the original network of npm ecology open source repositories, use `CALL apoc.import.json('npm_ecology.json')` to import the network into Neo4j database.</li> <li><a href="../api/records/10317762/draft/files/npm_ecology.dump/content" target="_blank" rel="noopener noreferrer">npm_ecology.dump</a> file is generated by Neo4j dump command, use `bin/neo4j-admin load --from=npm_ecology.dump --database=npmecology --force` to load the data into Neo4j database. This will be much faster than loading from JSON file.</li> </ul>
Opportunities and Security Risks of Technical Leverage: A Replication Study on the NPM Ecosystem
<p>Metadata, technical leverage, and vulnerability reports for 14,042 stable releases and scripts used in "Opportunities and Security Risks of Technical Leverage: A Replication Study on the NPM Ecosystem" paper.</p> <p> </p> <p> </p>
Replication Package for "On the impact of security vulnerabilities in the npm package dependency network
<p>This is the replication package for paper "On the impact of security vulnerabilities in the npm package dependency network" accepted for publication in MSR 2018.</p>
On the evolution of technical lag in the npm package dependency network
<p>This is the replication package for paper "On the evolution of technical lag in the npm package dependency network" accepted for publication in ICSME 2018.</p>
npm dependencies of October 2018
<p>npm dependencies with the actual used version, computed for 14 October 2018 using the semver.org implementation in npm. </p>
Package Quality for Users and Contributors: An Empirical Study of the npm Ecosystem
<p>Dataset for the submission "Package Quality for Users and Contributors: An Empirical Study of the npm Ecosystem"</p>
Investigating the Reproducibility of NPM Packages
<p>Open-source Dataset</p> <p><br> This dataset contains the NPM packages that we built using our tool-chain. It consists of the diffoscope outputs, the versions built by our tool-chain, and the pre-built packages present on the npmjs registry.</p>
NPM Package Information from Libraries.io
<p>This zip file contains a JSON file of package and repository information for 12 million NPM packages, sourced from libaries.io (10.5281/zenodo.3626071, https://libraries.io/data, January 12, 2020). The file is 2.39GB uncompressed.</p> <p>The file was generated from the 'Projects with related Repository fields' csv file, filtering for NPM packages only. The original files contains inconsistent columns between the first row, containing labels, and the subsequent rows, containing data, however the additional, unlabelled column is empty for all NPM packages so it has been ignored, and the subsequent rows shifted up into their correct positions.</p> <p>This dataset has not modified otherwise.</p> <p>Includes data from Libraries.io.</p>
NPM Code Snippets and Package Information
<p>Contains two JSON files, snippets and package info.</p> <p>The snippets file contains code snippets extracted from npm package readme files, as well as descriptions. The code snippets were extracted by looking for markdown code fences. For code highlighting, some fences contain language information - all non-js code snippets were excluded. Code snippets that only contained a javascript object were also excluded, as these were often snippets showing the results of some functionality, or settings.</p> <p>Descriptions were extracted, in summary, by looking for code above the snippet.</p> <p>Package info comes from Libraries.io, containing only packages that have code snippets. This includes repository information like number of forks, stars, etc.</p> <p>The original npm readme files dataset and npm package info datasets are also available for download:</p> <pre>https://doi.org/10.5281/zenodo.3898749 https://doi.org/10.5281/zenodo.3836540 </pre>
100 NPM Repositories used for Anomalicious Commit Detection Experiment
<p>100 NPM Repositories used to evaluate positive rates of the Anomalicious Commit Detector</p>
Characterising Contributions that Coincide with Vulnerability Mitigation in NPM Libraries
Open the record for dataset details and reuse information.
Characterizing Support for a Third-party Library: A Study of External Pull Requests for npm packages
<p>Third-party libraries play a key role in building contemporary software applications. Despite this, most libraries are open source that often rely on volunteer (usually unpaid and overworked) contributions for their sustainability. Our motivation is to understand the extent to which third-party libraries are supported by contributions in the form of Pull Requests (PR) from outside the project team (i.e., External PR). Concretely, we analyze 1,076,123 PRs to investigate the External PR prevalence, bots, and the PR characteristics. Our results show that external contributions are prevalent, with packages receiving a high rate of (median of 73.45%) External PR . Furthermore, contributors are also submitting a high proportion of External PR (median of 87.62%). Results indicate a statistical difference in the acceptance of PRs submitted by bots compared to abandoned or open PRs. Furthermore, comparing external and internal PR, we find that Internal PR are more likely to be accepted. Statistically, we find that submitted patches (i.e., commit and code metrics) submitted by Internal PR are higher than patches submitted by External PR. We find that the External PR and Internal PR both have the same content (i.e., introducing new features and fixing bugs). Differently, External PR have more PRs that relate to documentation content, while Internal PR relates to refactoring-related changes</p>
ScienceDex guides
Understand access before you commit
These curated guides explain access requirements, typical timelines, costs, and reuse considerations for widely used research datasets.
Allen Brain Atlas
Allen Brain Atlas is an Allen Institute collection of brain map atlases, datasets, APIs, and analysis tools covering mouse, human, and non-human primate brain resources.
Annotated Behaviour and Observability Dataset (ABODe)
ABODe is a University of Edinburgh DataShare dataset for behavior classification in group-housed mice using home-cage video, identities, bounding boxes, ground-plate positions, and annotator labels.
DANDI Archive for NWB datasets
DANDI is a BRAIN Initiative archive for publishing and sharing neurophysiology data, including electrophysiology, optophysiology, and behavioral data packaged as NWB and related standards.
International Brain Laboratory public data
The International Brain Laboratory public data releases expose standardized mouse decision-making experiments, including Neuropixels recordings, widefield calcium imaging, behavior, and session metadata accessed through the ONE API.
OpenNeuro
OpenNeuro is a free, open platform for sharing neuroimaging datasets, with public search, dataset pages, and download paths for web, S3, DataLad, and the OpenNeuro CLI.