How to find projects that use package "xy"?


From time to time I would like to read the code of open source projects (github, gitlab) to see how others use a certain package (lets call it xy). With I can find packages that use xy, but is there a way to find projects that depend on xy?

You could try something like GitHub Code Search (Preview)