How to search for GitHub repos which have certain package.json dependencies

I want to search for public GitHub repos (and hopefully sort them by star) which have certain package.json dependencies like next-mdx-enhanced , @tailwindcss/typography , and typescript .

I can get all repos which use next-mdx-enhanced by visiting next-mdx-enhanced repo and clicking on Used by xxx i.e. dependency graph.

Similar for tailwindcss-typography. So, how can I get repos containing combination of these dependencies?


PS: I previously posted this on StackOverflow but didn’t get any response. I can’t add that link here because Github refrains new users from adding more than 2 links :confused:

Here’s that question: https://stackoverflow.com/questions/65159589/search-for-github-repos-which-have-certain-package-json-dependencies