npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "block comment" 的结果(共 3 个)
extract-comments

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).

MIT
tokenize-comment

Uses snapdragon to tokenize a single JavaScript block comment into an object, with description, tags, and code example sections that can be passed to any other comment parsers for further parsing.

MIT