Replies: 5 comments 6 replies
-
I checked the new experience and missed the "popularity, quality, and maintenance" thing. I can understand why it was removed (not being clear for some people) but for me it was "popularity = score better those with more downloads", "maintenance = score better those which were recently updated" and "quality = ???" (ok, this one was not clear at all, maybe it scored better those with more dependents?). The current filters are more clear, sure, but I don't think it made looking for a package easier. Example: if I want a modern library (e.g. I want something using ES modules) I could look for the most recent updated, but since it's a strict filter (it sorts by updated date and nothing else) it returns anything which is new, while I would prefer something popular (so well tested by other people) and new. If I only check the most downloaded filters it will return a lot of well-tested libraries, but they might be 5 years old libraries using CommonJS and proto. The sort by dependents option, IMHO, is only useful for people looking for libraries to use on libraries as it looks like npm only counts library dependencies (not private projects). Example: npm only lists 29 dependents for megajs while GitHub lists more than 8000 (and surely it is not counting a lot of projects which were not published on GitHub). What I suggest as improvements for the above issues: people could comment here what objective and easily indexable things they look for in packages and allow those things to be set as filters. My suggestions: kinds of module systems supported, package sizes, date of last publish. An example: if I want to find a package for a Vite compiled web app, I can select those with ES modules for almost-guaranteed tree shaking, I can choose <10 MiB package size to avoid bloating the web app, and updated in the last three years to avoid something that uses jQuery or Moment.js, then sort by relevancy because the previous things are filters, but I still want to find my query. I tested the current system looking for "mega" (as megajs is the most popular package I maintain): on default sort it puts my package in second place, placing the original (and not maintained) project "mega" first, sorting by most downloaded puts it on 9th position, despite the first 8 libraries on the search don't containing the word "mega" anywhere visible on the shown snippet (thus looks like it ignores search relevancy completely), same applies when sorting by most dependents and recently published. About the "mega" project being first, that's fine... I guess: it says it's an exact match and tonistiigi never marked his library as deprecated or archived, he only added a "THIS REPO IS NOT MAINTAINED." to the GitHub repo. But the other libraries could include something to show why those were selected despite not having "mega" shown anywhere in the result. Also, this shows that only adding "objective sorting options" isn't ideal if those sorting options ignore the search query or don't show clearly if they are following it. UX-wise the new system looks worse for me too as sorting requires two clicks instead of one and I see a lot of empty wasted space in the new search. The sidebar could be restored and the filters placed there, to avoid the extra click to open a dropdown. On small screens the sidebar could be minimized to a dropdown, but, anyway, isn't like the current search is well tested on small screens, the way the element that holds the "username, version, creation/update time" wraps on small screens isn't ideal. Well, do you know something can be a good inspiration? GitHub Forks page! Look those neat filters! |
Beta Was this translation helpful? Give feedback.
-
one feedback here: https://github.com/orgs/community/discussions/146157 |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm sorry to say but I'm not a fan of the the new Search experience. I'm the author of the RabbtiMQ client rascal and since the changes it no longer appears in default search results for "rabbitmq" despite this being one of the tags, Previously rascal was in the top 5 with 70K downloads a month. When changing the order to "most downloaded this month", rascal appears below libraries like vasync and slugid despite them having no connection to RabbitMQ at all. I also maintain a relational database migration library called marv that received around 8K downloads a month, and was in the top 10 if you search for "postgresql migration". Now with even more specific keywords it's relegated to 62nd, and below completely irrelevant search results like line-replace, @tomei/sso and timezone-support. |
Beta Was this translation helpful? Give feedback.
-
Hi @leobalter
This doesn't explain why searching for "RabbitMQ" returns libraries like vasync and slugid which have absolutely nothing to do with RabbitMQ, nor reference it in their source code, documentation or metadata. NPM search is clearly broken. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi npm users,
We're excited to share that
we're pilotingwe've just released a new and simplified search experience on npmjs.com! 🚀This update introduces objective sorting options designed to help you discover the right packages more efficiently.
What's New?
This feature is currently being tested with a select group of GitHub Stars and high-impact npm users. We're also progressively rolling it out to a subset of users, so you may already see the new search experience if you're logged in.We're actively collecting feedback during this private preview, so you might notice refinements as we make improvements.How to Share Feedback
We'd love to hear your thoughts! Please share your feedback in this thread. Your input will help shape the future of the npm search experience.
Thank you for being part of the npm community and helping us improve! 🙌
Beta Was this translation helpful? Give feedback.
All reactions