{"id":15546898,"url":"https://github.com/julianschmuckli/scroll-effect","last_synced_at":"2026-01-28T01:08:19.587Z","repository":{"id":143907800,"uuid":"169074179","full_name":"julianschmuckli/scroll-effect","owner":"julianschmuckli","description":"A simple library, where you can flow in the elements when the users would normally see it in the screen.","archived":false,"fork":false,"pushed_at":"2022-09-19T19:45:33.000Z","size":8,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T15:44:15.118Z","etag":null,"topics":["animatecss","effect","npm-package","scroll"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/scroll-effect","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/julianschmuckli.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":"2019-02-04T12:19:59.000Z","updated_at":"2023-10-23T11:37:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"692f4f2f-c735-49b1-b68e-24a99dd96703","html_url":"https://github.com/julianschmuckli/scroll-effect","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"e8d9ce9a702a9afaa1dd4b1242b32ff6107c516e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/julianschmuckli/scroll-effect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianschmuckli%2Fscroll-effect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianschmuckli%2Fscroll-effect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianschmuckli%2Fscroll-effect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianschmuckli%2Fscroll-effect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julianschmuckli","download_url":"https://codeload.github.com/julianschmuckli/scroll-effect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianschmuckli%2Fscroll-effect/sbom","scorecard":{"id":541975,"data":{"date":"2025-08-11","repo":{"name":"github.com/julianschmuckli/scroll-effect","commit":"e8d9ce9a702a9afaa1dd4b1242b32ff6107c516e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-20T08:24:46.230Z","repository_id":143907800,"created_at":"2025-08-20T08:24:46.230Z","updated_at":"2025-08-20T08:24:46.230Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28831233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["animatecss","effect","npm-package","scroll"],"created_at":"2024-10-02T13:05:17.984Z","updated_at":"2026-01-28T01:08:19.573Z","avatar_url":"https://github.com/julianschmuckli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scroll Effect\nA simple library, where you can flow in the elements as soon, as the user is scrolling to them.\n\n## Requirements\nBefore you can start using the library, make sure that you are using the [Animate.css](https://daneden.github.io/animate.css/) library, which provides custom animations. That's the only thing you need.\n\n## How it works\nAll you need to do is to install the library on your project with\n\n```bash\nnpm install scroll-effect\n```\n\nThen you can simply add to your elements, which you want to flow in later a class called \"scroll-effect\" and add the inline-style `opacity:0;` or you can add an entry in your CSS where you define the .scroll-effect class as `opacity:0;`. In the end, it looks something like this:\n\n```html\n\u003cdiv class='scroll-effect' style='opacity:0;'\u003e\n\u003c/div\u003e\n```\n\nAs this library uses the [Animate.css](https://daneden.github.io/animate.css/) library to flow in the elements with animations, you can use every animation listed there.\n\nBy default, if nothing is defined like the example above, it will use the `fadeIn` animation. If you want to trigger a custom animation, just simply add the attribute `data-animation` and set the value to the animation name.\n\n```html\n\u003cdiv class='scroll-effect' style='opacity:0;' data-animation=\"bounceInLeft\"\u003e\n\u003c/div\u003e\n```\n\n## Data options\nYou can provide additional information about your element to improve the experience.\nJust pass the following data attributes to the element, which uses the `scroll-effect` class.\n\n| data-* | Default | Description | Example |\n|--------|---------|-------------|---------|\n| animation | fadeIn | The animation name of animate.css, which should be displayed. | fadeInUp, etc. |\n| delay  | 0       | Add a delay of the animation, controlled via animate.css in **seconds** | 2 |\n| offsetFactor  | 1.5       | Adds an offset factor, when the animation should be triggered. 2 is in the middle of the screen. 1.5 is in the lower half (triggers earlier), while 3 is in the upper half (triggers later) of the screen. | 3 |\n\n## How to use it in Vue.js\nIf you want to use this library in Vue.js you only have to insert the following snippet in the App.vue JavaScript section:\n\n```javascript\nconst ScrollEffect = require(\"scroll-effect\");\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  ScrollEffect.init(); //Initialize the scroll effect, when all the DOM elements has been loaded and placed.\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianschmuckli%2Fscroll-effect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulianschmuckli%2Fscroll-effect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianschmuckli%2Fscroll-effect/lists"}