Search results

1000+ packages found

Extract JavaScript code comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.

published version 0.2.0, 10 years ago2 dependents licensed under $MIT
89

a very small, fast(ish) module to strip (i.e. remove) comments from javascript code

published version 1.1.11, 6 years ago0 dependents licensed under $ISC
42

Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.

published version 2.0.1, 7 years ago4 dependents licensed under $MIT
1,064

Pick comments from source code

published version 1.0.3, 4 years ago1 dependents licensed under $MPL-2.0
17

Parse code comments from JavaScript or any language that uses the same format.

published version 0.0.3, 8 years ago0 dependents licensed under $MIT
27

Parse argument commands/options from code comments using esprima and minimist.

published version 0.3.2, 9 years ago0 dependents licensed under $MIT
20

A Storybook addon that extracts and displays compiled syntax-highlighted HTML

published version 7.0.0, 5 days ago12 dependents licensed under $AGPL-3.0-or-later
146,259

Parse argument commands/options from code comments using esprima and minimist.

published version 0.2.5, 9 years ago0 dependents licensed under $MIT
39

Check if the character represented by a given Unicode code point is fullwidth

published version 5.0.0, 2 years ago2773 dependents licensed under $MIT
503,503,115

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2704 dependents licensed under $MIT
251,897,842

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.

published version 0.1.0, 9 years ago0 dependents licensed under $MIT
28

Command-line app for generating API docs from code comments. Can be used as API of helper-apidocs package.

published version 3.0.3, 9 years ago0 dependents licensed under $MIT
77

A Node.js utility library for easily removing, extracting, and manipulating comments in code strings with support for popular programming languages such as JavaScript, Python, and etc.

published version 1.0.0, a year ago0 dependents licensed under $MIT
119

HTTP status utility

published version 2.0.1, 4 years ago2472 dependents licensed under $MIT
259,428,774

Parse JavaScript code comments and generate API documentation.

published version 1.4.3, a year ago0 dependents
50

A Node.js utility for removing comments from code files while preserving specified comments.

published version 1.3.0, 2 years ago0 dependents licensed under $MIT
18

Check if a character is hexadecimal

published version 2.0.1, 4 years ago80 dependents licensed under $MIT
43,429,838

Parse JavaScript code comments and generate API documentation.

published version 0.3.6, 11 years ago0 dependents
12

Create an error with a code

published version 3.0.1, 4 years ago369 dependents licensed under $MIT
64,414,643

Check if a character is decimal

published version 2.0.1, 4 years ago86 dependents licensed under $MIT
42,962,019