{"id":17579061,"url":"https://github.com/mlms13/fancysearch","last_synced_at":"2025-09-03T08:18:08.609Z","repository":{"id":35075195,"uuid":"39224592","full_name":"mlms13/FancySearch","owner":"mlms13","description":"A simple typeahead search implementation for Haxe and JavaScript","archived":false,"fork":false,"pushed_at":"2017-06-29T17:36:21.000Z","size":1639,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-22T16:55:54.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haxe","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/mlms13.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":"2015-07-16T23:04:13.000Z","updated_at":"2017-10-31T21:04:08.000Z","dependencies_parsed_at":"2022-08-17T22:30:20.358Z","dependency_job_id":null,"html_url":"https://github.com/mlms13/FancySearch","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mlms13/FancySearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FFancySearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FFancySearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FFancySearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FFancySearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlms13","download_url":"https://codeload.github.com/mlms13/FancySearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlms13%2FFancySearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273411307,"owners_count":25100736,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-22T00:43:29.732Z","updated_at":"2025-09-03T08:18:08.569Z","avatar_url":"https://github.com/mlms13.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fancy Search\n\nFancy Search is a [typeahead search](https://en.wikipedia.org/wiki/Incremental_search) implementation for the web. It is written in [Haxe](http://haxe.org/) and compiles to a JavaScript target. The library can be imported and used directly in Haxe projects, or it can be bundled into JavaScript projects using CommonJS (coming soon).\n\nThe result may look something like the following:\n\n![Fancy Search screen capture](https://cloud.githubusercontent.com/assets/1105543/10721933/85faa584-7b70-11e5-8407-3b451bacdb9d.gif)\n\nFor live demos, see:\n\n- [Simple string filtering](https://rawgit.com/mlms13/FancySearch/master/demo/00.string-list/www/index.html)\n- [More complex object filtering](https://rawgit.com/mlms13/FancySearch/master/demo/01.search-objects/www/index.html)\n\n### Getting Started\n\n#### With Haxe\n\nGrab the latest version of the library from Haxelib:\n\n```\nhaxelib install fancy\n```\n\nImport the `Search` module, create a new instance, and away you go.\n\n```haxe\nimport fancy.Search;\n\nclass Main {\n  static function main() {\n    var search = Search.createFromSelector(\".some-selector input\", {\n      suggestionOptions : {\n        suggestions : [\"Apple\", \"Banana\", \"Barley\", \"Black Bean\", \"Carrot\", \"Corn\"]\n      }\n    });\n  }\n}\n```\n\nFor a slightly larger example, see [the demo in this repository](https://github.com/mlms13/FancySearch/blob/master/demo/00.string-list/src/Main.hx).\n\n#### With JavaScript\n\nFancySearch has not yet been published to npm. Soon...\n\n### API Documentation\n\nYou can find [complete documentation on RawGit](https://rawgit.com/mlms13/FancySearch/master/docs/pages/fancy/Search.html), but the following should be enough to get started.\n\n### Styling and Customization\n\nFancy Search is not opinionated when it comes to styles. In fact, most of the basic functionality (showing and hiding the suggestion list, for example) is the result of changing classes rather than hard-coded styles. This means that without some style guidance, Fancy Search probably won't behave the way you expect it to. A [simple CSS example](https://github.com/mlms13/FancySearch/blob/master/bin/basic.css) is provided to give you a starting point.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlms13%2Ffancysearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlms13%2Ffancysearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlms13%2Ffancysearch/lists"}