{"id":21146333,"url":"https://github.com/bhallstein/tiny-scrollto","last_synced_at":"2025-03-14T13:44:12.628Z","repository":{"id":65516595,"uuid":"411660764","full_name":"bhallstein/tiny-scrollto","owner":"bhallstein","description":"Tiny 0.4kB animated scroll helper","archived":false,"fork":false,"pushed_at":"2023-10-31T12:13:36.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T09:42:01.292Z","etag":null,"topics":[],"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/bhallstein.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":"2021-09-29T12:15:02.000Z","updated_at":"2022-01-06T11:35:09.000Z","dependencies_parsed_at":"2024-11-20T09:00:20.974Z","dependency_job_id":"87938f74-50fe-4673-ba9e-678d31c15ac8","html_url":"https://github.com/bhallstein/tiny-scrollto","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"0aacc3c475481ff47a4ef9c90a504ccf646fc91a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhallstein%2Ftiny-scrollto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhallstein%2Ftiny-scrollto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhallstein%2Ftiny-scrollto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhallstein%2Ftiny-scrollto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhallstein","download_url":"https://codeload.github.com/bhallstein/tiny-scrollto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243589287,"owners_count":20315467,"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":[],"created_at":"2024-11-20T08:52:27.759Z","updated_at":"2025-03-14T13:44:12.597Z","avatar_url":"https://github.com/bhallstein.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tiny-scrollto\n\nAnimate DOM scrolling. 0.4kB, zero dependencies.\n\n**Install:**\n\n```js\nnpm install -S tiny-scrollto\n```\n\n**Use:**\n\n```js\nimport {scroll} from 'tiny-scrollto'\n\nscroll(500)\nscroll('end')  // Scroll to end of document\n```\n\n`tiny-scrollto` also exports a `clamp` utility function:\n\n```js\nimport {clamp} from 'tiny-scrollto'\n\nconst x = clamp(x, 0, 1)  // Clamp x to the range 0-1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhallstein%2Ftiny-scrollto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhallstein%2Ftiny-scrollto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhallstein%2Ftiny-scrollto/lists"}