1

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.

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.

  • 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 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. – O. R. Mapper Oct 18 '18 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. – Amit Kumar Gupta Oct 19 '18 at 3:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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