{"id":21883819,"url":"https://github.com/vovanr/scroll-to-item","last_synced_at":"2026-05-04T15:33:24.099Z","repository":{"id":143210154,"uuid":"37717161","full_name":"VovanR/scroll-to-item","owner":"VovanR","description":"[DEPRECATED] Scroll list to item","archived":false,"fork":false,"pushed_at":"2015-07-16T14:14:23.000Z","size":188,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T12:51:28.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jsfiddle.net/VovanR/269cxg3c/","language":"JavaScript","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/VovanR.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":"2015-06-19T10:57:05.000Z","updated_at":"2018-05-04T15:55:02.000Z","dependencies_parsed_at":"2023-05-17T14:31:31.802Z","dependency_job_id":null,"html_url":"https://github.com/VovanR/scroll-to-item","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/VovanR/scroll-to-item","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VovanR%2Fscroll-to-item","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VovanR%2Fscroll-to-item/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VovanR%2Fscroll-to-item/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VovanR%2Fscroll-to-item/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VovanR","download_url":"https://codeload.github.com/VovanR/scroll-to-item/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VovanR%2Fscroll-to-item/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32613367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: 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":[],"created_at":"2024-11-28T09:46:57.318Z","updated_at":"2026-05-04T15:33:24.083Z","avatar_url":"https://github.com/VovanR.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScrollToItem\n\n[![Build Status][travis-image]][travis-url]\n[![Dependency Status][depstat-image]][depstat-url]\n[![DevDependency Status][depstat-dev-image]][depstat-dev-url]\n\n\u003e Scroll list to item ([Demo](https://jsfiddle.net/VovanR/269cxg3c/))\n\n## Usage\n\n```javascript\nvar scrollToItem = new ScrollToItem({\n    $scroll: $('.js-list__scroll'),\n    itemClassName: '.js-list__item',\n});\n```\n\n![](preview/example.gif)\n```javascript\nscrollToItem.scrollToItem('0');\nscrollToItem.scrollToItem('1');\nscrollToItem.scrollToItem('2');\nscrollToItem.scrollToItem('4');\nscrollToItem.scrollToItem('1');\nscrollToItem.scrollToItem('0');\nscrollToItem.scrollToItem('7');\nscrollToItem.scrollToItem('8');\nscrollToItem.scrollToItem('0');\n```\n\n## Development\n\n### Initialize\n```sh\nnpm i\n```\n\n### Test\n*In console*\n```sh\nnpm run test\n```\n\n*In browser*\n```sh\nopen ./text/index-test.html\n```\n\n### Lint\n```sh\nnpm run lint\n```\n\n## License\nMIT © [Vladimir Rodkin](https://github.com/VovanR)\n\n[travis-url]: https://travis-ci.org/VovanR/scroll-to-item\n[travis-image]: http://img.shields.io/travis/VovanR/scroll-to-item.svg\n\n[depstat-url]: https://david-dm.org/VovanR/scroll-to-item\n[depstat-image]: https://david-dm.org/VovanR/scroll-to-item.svg\n\n[depstat-dev-url]: https://david-dm.org/VovanR/scroll-to-item\n[depstat-dev-image]: https://david-dm.org/VovanR/scroll-to-item/dev-status.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvovanr%2Fscroll-to-item","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvovanr%2Fscroll-to-item","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvovanr%2Fscroll-to-item/lists"}