nodejs / nodejs/package-maintenance
discussion with NPM on depenedent module statistics
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 423
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files or tests are named. Start by reviewing issue #327 and the npm registry discussion around dependent-module statistics, using express-session as the example. Done would require an agreed way to obtain an ordered list of important dependents, but this issue does not define an implementation or acceptance test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, node.js
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100