Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discussion with NPM on depenedent module statistics #331

Open
ghinks opened this issue Mar 25, 2020 · 4 comments
Open

discussion with NPM on depenedent module statistics #331

ghinks opened this issue Mar 25, 2020 · 4 comments

Comments

@ghinks
Copy link
Contributor

ghinks commented Mar 25, 2020

Although we are looking into dependency tooling currently. I would like to engage @darcyclarke @ahmadnassri @ruyadorno in order to see if any existing module dependency statistics could be made available to the maintenance team while we develop tooling.

The basic issue we wish to solve

How do we find the top modules that depend on a module we are starting to maintain?

I am taking this from a very practical perspective and an example helps. The express-session module has over 3k dependents. I am starting to triage that module as part of the express triage team. We are forming the framework for repo captains who can help manage different repositories within the express eco system.

There are many 3rd party module dependencies and some of them I can guess are more important than others. eg

however I am being biased and looking for the modules I think of. There are most likely hundreds of modules that connect to DB storage that use the express-session module.

Would it be possible to get an ordered dependency list from the registry folks and is there a better way to do this than scrapping the registry?

As we start to maintain import libraries in the eco-system we will have to test changes in the dependents. Without clear understanding of what modules are important this will lead to de-stabilization through well intentioned maintenance changes.

@ljharb
Copy link
Member

ljharb commented Mar 25, 2020

It's not going to be effective to use any API, github or otherwise, that doesn't filter to direct deps only. I believe github includes all transitive deps.

@ruyadorno
Copy link
Member

hi @ghinks I opened an issue over at npm/rfcs#125 so that we make sure we discuss it during the next meeting.
If we can get some folks from the package-maintenance WG to participate in an OpenRFC call that would be great to hear your thoughts and make sure it gets traction 😊

@ghinks
Copy link
Contributor Author

ghinks commented Apr 3, 2020

🙏🏻

@ljharb
Copy link
Member

ljharb commented Apr 3, 2020

@ruyadorno i'll be there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants