17 packages found
Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.
This scripts extracts comments from JavaScript code
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).
Extract code comments from string or from a glob of files using esprima.
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
Parser for google/sqlcommenter comments
CommonJS module to parse metadata comments out of markdown and return object with 'metadata' and 'markdown' properties.
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.
Parse JavaScript code comments and generate API documentation.
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).
Lightweight JS/TS comment parser that points to the targeted code
Parse JavaScript code comments and generate API documentation.
Parse build comment blocks in HTML files to replace references
Default template used by js-comments and helper-apidocs for generating API docs.
Parse a string of javascript to determine the context for functions, variables and comments based on the code that follows.
- code
- comment
- context
- declaration
- docs
- documentation
- expression
- extract
- function
- javascript
- js
- method
- parse
- property
- View more
Uses espree to extract JavaScript code comments from a string. Returns an array of comment objects, with line, column, index, comment type and comment string.