遇见数据集

NPM Code Snippets and Package Information

收藏
Zenodo2020-06-30 更新2026-05-25 收录
数据链接:
官方服务:

资源简介:

Contains two JSON files, snippets and package info. 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. Descriptions were extracted, in summary, by looking for code above the snippet. Package info comes from Libraries.io, containing only packages that have code snippets. This includes repository information like number of forks, stars, etc. The original npm readme files dataset and npm package info datasets are also available for download: <pre>https://doi.org/10.5281/zenodo.3898749 https://doi.org/10.5281/zenodo.3836540 </pre>

提供机构:
Zenodo
创建时间:
2020-06-30
二维码
社区交流群
二维码
科研交流群
商业服务