NPM Code Snippets and Package Information
收藏NIAID Data Ecosystem2026-03-11 收录
下载链接:
https://zenodo.org/record/3923489
下载链接
链接失效反馈官方服务:
资源简介:
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:
https://doi.org/10.5281/zenodo.3898749
https://doi.org/10.5281/zenodo.3836540
创建时间:
2020-06-30



