← Home

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).

27
Versions
MIT
License
No
Install Scripts

Maintainers

jonschlinkert

Keywords

astblockcodecommentcommentscontextesprimaextractglobjavascriptlineparsetokenizetokens

Versions (showing 27 of 27)

Version Deps Published
1.1.0 2 / 5
1.0.0 2 / 5
0.10.1 4 / 8
0.10.0 4 / 8
0.9.0 8 / 6
0.8.7 8 / 6
0.8.6 7 / 6
0.8.5 7 / 6
0.8.4 7 / 4
0.8.3 7 / 4
0.8.2 4 / 4
0.8.1 4 / 4
0.8.0 4 / 4
0.7.3 1 / 3
0.7.2 1 / 3
0.7.1 2 / 3
0.7.0 2 / 3
0.6.0 2 / 2
0.5.1 1 / 2
0.5.0 1 / 2
0.4.2 4 / 4
0.4.1 4 / 4
0.4.0 4 / 4
0.3.0 3 / 4
0.2.0 3 / 3
0.1.1 2 / 4
0.1.0 1 / 5