{"id":22656921,"url":"https://github.com/icelk/js-utils","last_synced_at":"2025-03-29T08:11:23.498Z","repository":{"id":104833453,"uuid":"445901265","full_name":"Icelk/js-utils","owner":"Icelk","description":"Javascript utility functions","archived":false,"fork":false,"pushed_at":"2022-09-30T19:44:51.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T21:47:35.933Z","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":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Icelk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-08T18:44:48.000Z","updated_at":"2023-04-04T13:14:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d029203-4966-40bd-abe7-1f6173503953","html_url":"https://github.com/Icelk/js-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2Fjs-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2Fjs-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2Fjs-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icelk%2Fjs-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Icelk","download_url":"https://codeload.github.com/Icelk/js-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156419,"owners_count":20732397,"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-12-09T10:16:53.243Z","updated_at":"2025-03-29T08:11:23.481Z","avatar_url":"https://github.com/Icelk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS utils\n\nThis is a small collection of Javascript functions I occasionally use.\n\nSome [functions](#functions) are available in both old JS style (HTML script tag to include code),\nES modules (`import throttle from \"./throttle.mjs\"`) and typescript.\n\n# License\n\nThis is licensed under CC0 - everything's under public domain.\n\n# Functions\n\n## [throttle.js](throttle.js)\n\nThis limits the callback of events to a user-specified duration.\n\nUseful for making API calls from user key presses.\n\n## [anchor.js](anchor.js)\n\nEnables smooth scrolling when clicking on anchor links.\nAlso highlights the anchor, both on click and on page load, when the fragment part of the URI is a anchor on the page.\n\n## [headerLink.js](headerLink.js)\n\nAdds buttons to headers to get a link to the page \u0026 anchor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficelk%2Fjs-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficelk%2Fjs-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficelk%2Fjs-utils/lists"}