jsr-io / jsr

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

fix(docs): more flexible local symbol search #793

Closed mbhrznr closed 3 weeks ago

mbhrznr commented 3 weeks ago

closes https://github.com/jsr-io/jsr/issues/775.

this extends the local symbol search by generating more tokens for the name prop, thus improving the overall search ux.

the output for tokenize is changed from this:

["assert", "almost", "equals", "assertalmostequals"]

to this:

["assert", "almost", "equals", "assertalmost", "almostequals" ,"assertalmostequals"]

Bildschirmfoto 2024-10-28 um 12 48 50

CLAassistant commented 3 weeks ago

CLA assistant check
All committers have signed the CLA.