3

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.

Mureinik
  • 5,112
  • 3
  • 31
  • 42
Limon Monte
  • 141
  • 5

1 Answers1

4

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.

curiousdannii
  • 7,768
  • 1
  • 27
  • 51
  • 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? – Amit Kumar Gupta Jul 25 '18 at 01: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. – O. R. Mapper Oct 18 '18 at 05:10
  • 1
    I'm not able to relate your reply to my question. I asked how can we find users of our OS project. – Amit Kumar Gupta Oct 19 '18 at 03:35