jsr-io / jsr

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

request: Better Module Search #312

Open retraigo opened 3 months ago

retraigo commented 3 months ago

Can we have a better module searching feature on JSR? Something like the search used by image boards, discord, etc.

Example websocket - Normally searches for websocket

runtime:deno websocket - Searches for websocket that runs on Deno.

runtime:deno runtime:node websocket - Searches for websocket that runs on both Deno and Node.

scope:std websocket - Searches for websocket under the std scope.

This would be even more useful if concepts like tags (eg. Markdown, ML, Crypto) were introduced for libraries.

jollytoad commented 2 months ago

would also be helpful if you entered an exact scope into the search (eg. @std) for it to take you directly to that scope index (ie. https://jsr.io/@std). At present you get a random selection of @std packages and a bunch of other packages that happen to contain std in the name.