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>
ShareScore
32/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 8
- Harmonization
- 4
- Access
- 16
- Reuse readiness
- 0
- Engagement
- 4