Searching public codebases
Sometimes we want to see how a library or function is used elsewhere.
If we are library and framework authors, it can be very useful to see what parts of our code is used and how much (e.g. to determine how risky it is to deprecate something).
That’s what codebase search services are for:
searchcode.com is probably the largest public search provider that searches codebases not only on Github, but also on Gitlab, Bitbucket and other repository hostings.
grep.app provides alternative search for Github that supports regular expressions.
I hope you will find what you are looking for,
Petr