jsr-io / jsr

The open-source package registry for modern JavaScript and TypeScript
https://jsr.io
MIT License
2.3k stars 104 forks source link

suggestion: filter by 100% score #287

Open iuioiua opened 6 months ago

iuioiua commented 6 months ago

It doesn't have to be a full score specifically, but rather some way to filter based on score. In another form we could also sort by score in another form. However, filtering would be more straightforward. Either way, this would make looking for high-quality packages easier.

lucacasonato commented 5 months ago

I suggest we add a scope:>$INT$ and scope:<$INT$ filter option that lets you filter the search by > and < than a certain score. As an extra bonus we could also do >= and <=.

iuioiua commented 5 months ago

I assume you mean score:>$INT$. The idea of just having a rich search syntax in general like that would be great. E.g. compat:node, etc. Redis' FT.SEARCH query syntax might be a source of inspiration.

lucacasonato commented 5 months ago

Yeah, mistyped.