extract-comments @1.0.0
MIT
License
No
Install Scripts
2
Dependencies
5
Dev Dependencies
6.0 KB
Package Size
Published
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).
Maintainers
jonschlinkert
Keywords
astblockcodecommentcommentscontextesprimaextractglobjavascriptlineparsetokenizetokens
Dependencies (2)
| Package | Constraint | Registry Status |
|---|---|---|
| parse-code-context | ^0.2.2 | auto_approved |
| esprima-extract-comments | ^1.0.1 | auto_approved |
Dev Dependencies (5)
| Package | Constraint | Registry Status |
|---|---|---|
| mocha | ^3.5.3 | auto_approved |
| time-diff | ^0.3.1 | auto_approved |
| gulp-format-md | ^1.0.0 | auto_approved |
| babel-extract-comments | ^1.0.0 | Not imported |
| espree-extract-comments | ^0.1.0 | Not imported |
Transitive Dependency Tree
3 transitive deps
max depth 2
├─
esprima-extract-comments
^1.0.1
→ 1.1.0
├─
parse-code-context
^0.2.2
→ 0.2.2
├─
esprima
^4.0.0
→ 4.0.1
Changes from v0.10.1
Dependency Changes
| Change | Package | Version |
|---|---|---|
| removed | extend-shallow | ^2.0.1 |
| removed | define-property | ^0.2.5 |
| changed | parse-code-context | ^0.2.1 → ^0.2.2 |
| changed | esprima-extract-comments | ^0.2.1 → ^1.0.1 |
File Changes
2 added
1 removed
8 modified
size delta: +4.8 KB
Commit: 68859d13d6d1 Browse source
Published to npm: