-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Dependents active?? #1215
Comments
My google foo turned up this: |
You can page through all 3000 dependendents. But it doesn't look like there is any particular order. @joshbruce What would we consider inactive? No downloads in the last 30 days? |
@UziTech: ::sad trombone::
@styfle: I don't know what constitutes active, to be honest, and it's a fair question. Think I'm mainly looking for ways to even start gathering the data easily on the dependents. In some cases, paging through, the publish date would be a good first start (some were published in the last week). npm/npm is easy because they specify a version number and "give credit" when they update; so, we get notified that they're still active and actively using (aware of) Marked. |
@joshbruce the errors are from sending too many requests to the npm rest api. There has to be two requests per dependent. I am working on a way to fix that ... stay tuned |
Here is a distribution of the version numbers:
|
@UziTech Very cool! One thing to improve the results is to interpret the semver to see which version would be downloaded if they installed today. For example,
Can you aggregate the version that would be installed, not the literal string in the package.json? |
@UziTech: That's pretty awesome. I took a look at the repo and, honestly, it landed somewhere between my own ignorance and "I just woke up". How much of the output can we tailor? What are the ids (they don't seem to be unique as there are multiple 7s, for example)? Can/Should we move that repo to the Marked org? @styfle: That's a fair point. One of the things I appreciated about the supposed output of the other CLI tool was the table that basically had the name of the package and the version string. I wonder if there would be a way to get both the version specified in the |
What ids?
Ya that would be fine. This was just my quick PoC to check if we could/how to get info about our dependents. If this is going to be something we actually want to use to keep track of our dependents, we should come up with some metrics that we want to make visible and I could show those metrics on the readme.md and update it every week or so. Currently because of npm's api request throttling it takes about 2 minutes to get all the dependents info. |
Definitely seems like a good start.
Think for the purposes of user analysis, an object might look something like this (hence the question of how much we can manipulate output (this assumes everything): {
name: [package name],
url: [npm package url],
version: [package version],
published: [last publish date to npm],
marked: {
version: [package.json version]
}
} Those were the sorts of metrics I was looking at when I was leafing through dependents. |
That is not the id, that is the number of dependents that use that version. The packages folder is where I save all dependents info: {
"name": "Antony",
"version": "0.3.0",
"depVersion": "^0.3.6",
"maintainers": [
{
"name": "spiral",
"email": "scriptAntony@163.com"
}
],
"modified": "2016-09-09T16:27:48.031Z",
"released": "2016-09-09T16:27:48.031Z",
"downloadsLastWeek": 2
} |
@joshbruce Can we close this issue now that there is a separate tool created to solve this problem? |
This page provides some valuable insights https://libraries.io/npm/marked/usage |
That's interesting... it' polling OUJS GH dev (so GH in general). Kewl. Wonder how often they reindex... because |
Deleting @uk1free comment as off topic. Hiding the other one. |
It must be somewhat often because they have ^0.5.0 and 0.5.0 listed already. @UziTech @joshbruce Do we still want to move UziTech/marked-dependents under the markedjs org on GitHub? |
I transfered ownership of marked-dependents |
Excellent! 🎉 |
Marked version: 0.3.19
Markdown flavor: n/a
Proposal type: other
What pain point are you perceiving?
3,000+ dependents...really??
What solution are you suggesting?
An automated way to iterate over the list of dependents. See what version they are using and when they last published to NPM. Hypothesis: Many of those packages are not active, reference Marked as prior art, or have a small audience base.
Tagging @UziTech, @styfle, and @Martii
See also #1123
The text was updated successfully, but these errors were encountered: