{"id":16884516,"url":"https://github.com/timwis/hyperlist-component","last_synced_at":"2025-10-10T03:03:23.795Z","repository":{"id":140605847,"uuid":"89157791","full_name":"timwis/hyperlist-component","owner":"timwis","description":"Wraps HyperList with Nanocomponent to allow use as a pureish component.","archived":false,"fork":false,"pushed_at":"2017-04-25T10:48:56.000Z","size":2,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T12:52:44.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/timwis.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-23T16:57:12.000Z","updated_at":"2019-11-23T03:52:23.000Z","dependencies_parsed_at":"2023-03-27T10:58:02.700Z","dependency_job_id":null,"html_url":"https://github.com/timwis/hyperlist-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timwis/hyperlist-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fhyperlist-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fhyperlist-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fhyperlist-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fhyperlist-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timwis","download_url":"https://codeload.github.com/timwis/hyperlist-component/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fhyperlist-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002477,"owners_count":26083405,"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-10-10T02:00:06.843Z","response_time":62,"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-13T16:28:45.724Z","updated_at":"2025-10-10T03:03:23.768Z","avatar_url":"https://github.com/timwis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HyperList Component\nWraps [HyperList][1] with [Nanocomponent][2] to allow use as a pureish\ncomponent.\n\n## Usage\n```javascript\nconst html = require('bel')\nconst HyperList = require('hyperlist-component')\n\nconst opts = {\n  height: 500,\n  itemHeight: 30,\n  eachItem: (state, index) =\u003e html`\u003cli\u003e${state.items[index]}\u003c/li\u003e`,\n  getTotal: (state) =\u003e state.items.length\n}\nconst hyperList = new HyperList('ul', opts)\n\nconst ul = hyperList.render({ items: [1, 2, 3] }) // can be called repeatedly\n```\n\n[1]: https://github.com/tbranyen/hyperlist/\n[2]: https://github.com/yoshuawuyts/nanocomponent/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwis%2Fhyperlist-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimwis%2Fhyperlist-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwis%2Fhyperlist-component/lists"}