Comments (3)
A standard chaining pattern is quite popular in Javascript world, because of Jquery.
fuse = new Fuse(arr);
result = fuse.search(Key).sort("Dec");
Or as a PHP developer, I could also prefer something like this.
fuse = new Fuse(arr);
fuse.extend(new SortedFuse());
or like in PDO based plugins ( I don't think it would suit JS apps. but it is easier to implement ).
fuse = new Fuse(arr);
sortfuse = new SortefFuse(fuse);
from fuse.
A standard chaining pattern is quite popular in Javascript world, because of Jquery.
That's all good for core extensibility but not for third party plugins as it will soon cause namespace conflicts. I would like to have something like pipe
in unix since fuse
mostly handles the data it would make sense to have .pipe
(this can be confusing to node's pipe but just an example) or something in that realm.
.plugin
actually doesn't sound bad but I'm bad with naming so it might actually sound bad for others.
from fuse.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from fuse.
Related Issues (20)
- Not matching obvious matches? HOT 3
- Usage in deno HOT 2
- Fuse is not returning an exact match HOT 1
- Change defaults to `ignoreLocation: true` and `ignoreFieldNorm: true` HOT 2
- Recommended way to boost based on a different field HOT 1
- Add information about not commiting dist files HOT 2
- Exact matches on arrays of objects result in score higher than 1 HOT 5
- What is Breaking Changes "Extension Changed" in the 7.0.0 release? HOT 2
- Unclear how to do non-fuzzy search on a per-word basis HOT 4
- Fuzzy matching not working for typos HOT 4
- Fuzzy matching not working proper HOT 1
- Returned indexes are incorrect HOT 1
- All indices return with threshold = 0 aren't a perfect match HOT 1
- minMatchCharLength not working as expected HOT 1
- Support escaping the OR operator (`|`) when extended search is enabled HOT 1
- 7.0.0 Breaking Change Documentation Unclear HOT 1
- Consider documention the TypeScript types as well
- Fuse.js demo produces unexpected results HOT 5
- You always write that score is higher, it means match is better. While actually score is lower if match is better.
- add inverted-include operator to the extended search feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuse.