grasp
grasp copied to clipboard
How to locate globals
I have to modularize a codebase previously written the old way (using globals). This is, I have to, given a file, locate every reference to a global, and insert the corresponding require at the beginning of the file. How could the first part (locating every global reference) be done using graspjs?
Keep your hard work. This seems promising. Thanks.