{"id":21068249,"url":"https://github.com/cksachdev/fuzzyjs","last_synced_at":"2025-03-14T02:13:25.544Z","repository":{"id":35144345,"uuid":"146009751","full_name":"cksachdev/fuzzyjs","owner":"cksachdev","description":"fuzzy search in one or more column values and sort based on most matched","archived":false,"fork":false,"pushed_at":"2022-12-09T16:49:55.000Z","size":747,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T21:27:05.376Z","etag":null,"topics":["autocomplete","debounce","fuzzy-search","jsrender","template","typeahead"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cksachdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-24T15:37:56.000Z","updated_at":"2019-07-03T09:44:40.000Z","dependencies_parsed_at":"2023-01-15T14:43:30.094Z","dependency_job_id":null,"html_url":"https://github.com/cksachdev/fuzzyjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cksachdev%2Ffuzzyjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cksachdev%2Ffuzzyjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cksachdev%2Ffuzzyjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cksachdev%2Ffuzzyjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cksachdev","download_url":"https://codeload.github.com/cksachdev/fuzzyjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510123,"owners_count":20302294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete","debounce","fuzzy-search","jsrender","template","typeahead"],"created_at":"2024-11-19T18:14:48.966Z","updated_at":"2025-03-14T02:13:25.516Z","avatar_url":"https://github.com/cksachdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fuzzyjs\nfuzzy search in one or more column values and sort based on most matched\n\nGet the list of all html elements with these 3 values\n```\n[\n{image:\"path to image\", element:\"header\", \"this can contain text\"},\n{image:\"path to image\", element:\"label\", \"can contain only text\"},\n{image:\"path to image\", element:\"input\", \"can show input text\"}\n]\n```\n\nShow the search like Alfred or Quick search \nput a visual here with expected results for \"tex\", \"selec\", \"but\" etc.\n\n![](https://github.com/cksachdev/fuzzyjs/wiki/images/ex1.png)\n![](https://github.com/cksachdev/fuzzyjs/wiki/images/ex2.png)\n![](https://github.com/cksachdev/fuzzyjs/wiki/images/ex3.png)\n\n\n1. Use mousetrap library to fade in/ fade out the search element\nhttps://github.com/ccampbell/mousetrap\n2. element stays always on top(z-index)\n3. 30 px from top and horizontal center aligned\n4. On search show image as well as the element name\n\n\n\n\n## References:\n1. Images taken from https://github.com/nathanielw/Bootstrap-Pencil-Stencils/releases/tag/v1.1.1\n2. Creating json using\n```\nls | head -100 \u003e ../elements.json\n```\n3. Use multi cursor feature in sublime to form the test json\n4. Choices.js https://joshuajohnson.co.uk/Choices/\n   Note: Scroll to the end of this page to experience the last dom element.\n\n\n### Libraries:\n\nhttps://github.com/krisk/fuse\n\nhttps://github.com/bevacqua/fuzzysearch\n\nhttps://blog.kentcdodds.com/introducing-downshift-for-react-b1de3fca0817\n\nhttps://twitter.github.io/typeahead.js/\n\nhttps://redux.js.org/recipes/implementingundohistory\n\nhttps://github.com/omnidan/redux-undo\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcksachdev%2Ffuzzyjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcksachdev%2Ffuzzyjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcksachdev%2Ffuzzyjs/lists"}