{"id":14962610,"url":"https://github.com/elcobvg/svelte-autocomplete","last_synced_at":"2026-04-02T18:38:06.503Z","repository":{"id":57375126,"uuid":"140798898","full_name":"elcobvg/svelte-autocomplete","owner":"elcobvg","description":"A lightweight typeahead / autocomplete component made with Svelte.js","archived":false,"fork":false,"pushed_at":"2019-01-16T08:08:45.000Z","size":10,"stargazers_count":119,"open_issues_count":8,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-25T00:38:44.977Z","etag":null,"topics":["auto-complete","autocomplete","autosuggest","javascript","svelte","svelte-components","sveltejs","typeahead"],"latest_commit_sha":null,"homepage":"http://svelte-autocomplete.surge.sh/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elcobvg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-13T04:59:46.000Z","updated_at":"2025-05-03T08:51:49.000Z","dependencies_parsed_at":"2022-09-05T14:11:24.718Z","dependency_job_id":null,"html_url":"https://github.com/elcobvg/svelte-autocomplete","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/elcobvg/svelte-autocomplete","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcobvg%2Fsvelte-autocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcobvg%2Fsvelte-autocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcobvg%2Fsvelte-autocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcobvg%2Fsvelte-autocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elcobvg","download_url":"https://codeload.github.com/elcobvg/svelte-autocomplete/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcobvg%2Fsvelte-autocomplete/sbom","scorecard":{"id":371513,"data":{"date":"2025-08-11","repo":{"name":"github.com/elcobvg/svelte-autocomplete","commit":"c52949aead03e48044d91b8be8926f365b3abb5a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 2/7 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T13:06:23.296Z","repository_id":57375126,"created_at":"2025-08-18T13:06:23.296Z","updated_at":"2025-08-18T13:06:23.296Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31313072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["auto-complete","autocomplete","autosuggest","javascript","svelte","svelte-components","sveltejs","typeahead"],"created_at":"2024-09-24T13:30:10.555Z","updated_at":"2026-04-02T18:38:06.463Z","avatar_url":"https://github.com/elcobvg.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svelte-autocomplete\nLightweight typeahead / autocomplete component made with [Svelte.js](https://svelte.technology/)\n\n* no dependencies\n* can handle asynchronous data\n* use plain lists or key / value pairs\n\n#### Try the demo at http://svelte-autocomplete.surge.sh/\n\n## Install\n\n`npm install svelte-autocomplete`\n\n## Usage\n\nImport the component directly in your Svelte project.\n\n````javascript\nimport AutoComplete from 'svelte-autocomplete'\n\nexport default {\n  components: {\n    AutoComplete,\n\t...\n  }\n}\n````\nAnd then use it like so:\n\n````html\n\u003cAutoComplete class=\"input\" name=\"fruits\" items=\"{fruits}\" minChar=\"1\" /\u003e\n\n\u003cAutoComplete name=\"countries\" items=\"{countries}\" isAsync on:input=\"loadApiData(event)\"\u003e\n  \u003cdiv class=\"notification\"\u003eLoading data from API...\u003c/div\u003e\n\u003c/AutoComplete\u003e\n\n````\n\n### Options\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| name | String | - | Form input name\n| class | String | - | Additional styles for input element\n| items | Array | - | Array with items, can be a plain list or key, value pairs\n| isAsync | Boolean | false | If retrieving API data asynchronously\n| minChar | Number | 2 | Min. characters to type before popup shows\n| maxItems | Number | 10 | Max. items to show in popup\n| fromStart | Boolean | true | Match from the start or anywhere in the string\n\n### Slots\n\n| Slot | Prop dependencies | Description |\n|------|-------------------|-------------|\n| default | isAsync | custom loading indication |\n\n\n## Made with Svelte\nIt's made with [Svelte](https://svelte.technology/), which means you don't need any JS framework. Just use the `dist/index.js` file in any Javascript project:\n\n**include the bundle:** \n\n````html\n\u003cscript src=\"svelte-autocomplete/dist/index.js\"\u003e\u003c/script\u003e\n````\n**create component like so:**\n\n````javascript\nconst myComponent = new AutoComplete({\n  target: document.querySelector('#app'),\n  data: { \n    name: 'fruits',\n    itemStart: 1,\n    items: [...]\n  }\n})\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felcobvg%2Fsvelte-autocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felcobvg%2Fsvelte-autocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felcobvg%2Fsvelte-autocomplete/lists"}