{"id":17160340,"url":"https://github.com/codenameyau/skully.js","last_synced_at":"2025-03-24T15:12:09.247Z","repository":{"id":68294779,"uuid":"45808468","full_name":"codenameyau/skully.js","owner":"codenameyau","description":":package: Vanilla JS scroll event handlers","archived":false,"fork":false,"pushed_at":"2015-11-22T01:29:42.000Z","size":6,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T20:19:49.096Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenameyau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-09T01:46:40.000Z","updated_at":"2015-12-01T12:50:54.000Z","dependencies_parsed_at":"2023-03-11T03:24:31.786Z","dependency_job_id":null,"html_url":"https://github.com/codenameyau/skully.js","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/codenameyau%2Fskully.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameyau%2Fskully.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameyau%2Fskully.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameyau%2Fskully.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenameyau","download_url":"https://codeload.github.com/codenameyau/skully.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294775,"owners_count":20591909,"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-10-14T22:24:34.071Z","updated_at":"2025-03-24T15:12:09.204Z","avatar_url":"https://github.com/codenameyau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# skully.js\n\nNative JS scroll event handlers.\n\n### Examples\n\n```javascript\n'use strict';\n\n// Listens when scrolling to the top of the page.\nskully.onPageTop(function() {\n  alert('top');\n});\n\n// Listens when scrolling past a position, 400 in this case.\nskully.onPagePosition(function() {\n  alert('middle');\n}, 400);\n\n// Listens when scrolling to the bottom of the page.\nskully.onPageBottom(function() {\n  alert('bottom');\n});\n```\n\n### Generate Build\n\n```bash\n# sudo npm install -g uglify-js\nuglifyjs --compress --mangle -o build/skully.min.js -- src/skully.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenameyau%2Fskully.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenameyau%2Fskully.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenameyau%2Fskully.js/lists"}