Ask HN: Find real world examples of a particular lib in GitHub

by blaydatoron 9/2/2022, 9:02 AMwith 2 comments

I have learned a lot by reading open source code. How can I find repos that uses a particular lib or framework so I can learn from real world examples ?

Does such a tool exist ? If not how would you built it, wanna join forces ?

eg : I want to learn to find exemples of Prisma[0] in NodeJs.

[0] https://github.com/prisma/prisma

by mhgnyon 9/2/2022, 12:32 PM

I've tried https://grep.app/ to find some inspiration on how some libraries or frameworks are used by others.

by manxon 9/2/2022, 10:11 AM

You could use github search and search for your library name only in package.json.