https://github.com/capaj/babylon-undeclared-identifiers
given a javascript source code, returns undeclared identifiers
https://github.com/capaj/babylon-undeclared-identifiers
babel
Last synced: about 2 months ago
JSON representation
given a javascript source code, returns undeclared identifiers
- Host: GitHub
- URL: https://github.com/capaj/babylon-undeclared-identifiers
- Owner: capaj
- License: mit
- Created: 2017-03-27T00:25:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T01:18:43.000Z (about 9 years ago)
- Last Synced: 2025-03-05T10:46:27.680Z (over 1 year ago)
- Topics: babel
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# babylon-undeclared-identifiers
given a javascript source code, returns undeclared identifiers
Previously I used esprima where it was quite complicated task. Thankfully, babylon offers `path.scope.globals` where we get all undefined identifiers right out of the box which makes this package trivial.