Given that I have an open-source plugin, e.g. sweetalert2.

How can I get the list of all open-source projects (on GitHub) with sweetalert2 dependency in package.json?

There was similar functionality in https://libraries.io/ but I can't find it anymore.


1 Answer 1


npm will show you any packages which depend on another package. Here's what it says for sweetalert2.

But that won't include dev-dependencies, or projects which haven't been published to GitHub. GitHub itself however also has a list of all public repositories which depend on your package.

  • As there are many providers like github which let you host the opensource projects, Is there any way to look for dependents on other providers like gitlab etc? Commented Jul 25, 2018 at 1:36
  • @AmitKumarGupta: SourceForge, BitBucket, some more ... And while OSS sites like Github are very convenient, nothing stops you from just setting up source control, issue tracker, etc. on your own website. Commented Oct 18, 2018 at 5:10
  • 1
    I'm not able to relate your reply to my question. I asked how can we find users of our OS project. Commented Oct 19, 2018 at 3:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.