https://github.com/paulvollmer/jscode-find-callee
This is a tool to find calls at javascript code.
https://github.com/paulvollmer/jscode-find-callee
esprima estraverse find-callers
Last synced: about 2 months ago
JSON representation
This is a tool to find calls at javascript code.
- Host: GitHub
- URL: https://github.com/paulvollmer/jscode-find-callee
- Owner: paulvollmer
- License: mit
- Created: 2018-09-13T14:44:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T17:38:46.000Z (over 3 years ago)
- Last Synced: 2024-10-11T22:08:17.700Z (8 months ago)
- Topics: esprima, estraverse, find-callers
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# jscode-find-callee [](https://github.com/paulvollmer/jscode-find-callee/blob/master/LICENSE) [](https://www.npmjs.com/package/jscode-find-callee)
This is a tool to find calls at javascript code.
### Installation
```
npm install -g jscode-find-callee
```### Usage
The following example will search for all `console` calls at the `fixtures/console_log_2.js` sourcecode.
```
jscode-find-callee fixtures/console_log_2.js
```If you want to search for an other callee instead of `console` you can use the `--name` flag.
```
jscode-find-callee --name logger fixtures/console_log_2.js
```It is also possible to search an entire directory.
```
jscode-find-callee --name console fixtures
```