We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for this great library, it's really fast!
Prioritize (either by default or with some option) matches in the filename (i.e. not any of the folders/rest of path).
Simple example:
> const zadeh = require('zadeh') undefined > zadeh.filter(['foo/bar/baz_qux.js', 'foo/bazqux/a.js'], 'bazqux') Zadeh: deprecated function. Use 'StringArrayFilterer' instead [ 'foo/bazqux/a.js', 'foo/bar/baz_qux.js' ]
In my usage, I would generally actually prefer the result for baz_qux.js because I remember and search mostly based on filename.
baz_qux.js
I do see useExtensionBonus option, couldn't find any clear documentation on what that actually means but it doesn't seem to make any difference.
useExtensionBonus
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for this great library, it's really fast!
Summary
Prioritize (either by default or with some option) matches in the filename (i.e. not any of the folders/rest of path).
Additional context
Simple example:
In my usage, I would generally actually prefer the result for
baz_qux.js
because I remember and search mostly based on filename.I do see
useExtensionBonus
option, couldn't find any clear documentation on what that actually means but it doesn't seem to make any difference.The text was updated successfully, but these errors were encountered: