Comments (2)
This project does exactly what you think it does! :)
I’m not sure if this project needs to expand to wildcard match the object keys. Usually, you want to search in specific and known keys. And when that’s not the case, it’s relatively easy to build a new object that has the required keys for searching. Such objects would be even easier to create with your package.
Therefore, I think I want to leave the package as it is right now. Fuzzy-search is a simple and small project. No need to make it more advanced. But for people that need more complex key matching, your package could be helpful in creating an object that’s searchable with fuzzy-search. So I’m happy to add a disclaimer of some sort in the readme where I’ll link to your package, if that's okay with you.
I’ll close the issue now, but feel free to comment and let me know what you think about the disclaimer for people that like the more advanced stuff!
from fuzzy-search.
That's very true. One could easily chain object - scan and fuzzy-search. Its a little overhead since keys need to be accessed twice, but in most cases acceptable.
Feel free to add a note. Object-scan and wildcard/glob matching has been incredibly useful for me, but I'm also not solving standard solutions I think. So this might not be as important for the majority of the users of this project.
from fuzzy-search.
Related Issues (20)
- How i can filter array of array with objects? HOT 2
- Fix travis ci
- Make it really zero dependencies HOT 1
- searching multiple keys at once HOT 2
- sort not ordering best (exact) matches on top HOT 2
- Not working with empty Arrays HOT 1
- Not working with VueJS HOT 1
- fuzzy-search >= 2.2.0 does not compile on NodeJS HOT 2
- Enquiry HOT 1
- In Node 10.x + Typescript using ts-node fuzzy-search fails when new'd HOT 4
- Sort field does not work as expected HOT 1
- Highlight matching characters HOT 4
- Build fails with fuzzy-search HOT 2
- How to search an array of strings without keys? HOT 1
- Does it support for non sequential word search? HOT 4
- ESM and IE support
- TS4.1 HOT 1
- Fuzzy search does not work on string with . or special characters HOT 1
- Please put this on a cdn :)
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 fuzzy-search.