{"id":19124384,"url":"https://github.com/glorious-codes/glorious-fyzer","last_synced_at":"2025-05-05T19:20:22.499Z","repository":{"id":35446891,"uuid":"217368989","full_name":"glorious-codes/glorious-fyzer","owner":"glorious-codes","description":"Listen when some element just appear above the browser's page fold","archived":false,"fork":false,"pushed_at":"2023-10-17T01:55:56.000Z","size":495,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T11:09:52.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://glorious.codes/fyzer","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/glorious-codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-10-24T18:38:33.000Z","updated_at":"2024-06-30T15:55:42.000Z","dependencies_parsed_at":"2023-10-10T13:29:53.024Z","dependency_job_id":"d6153b19-822e-4106-a11c-acf3070d8ac0","html_url":"https://github.com/glorious-codes/glorious-fyzer","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":0.4576271186440678,"last_synced_commit":"be8a9fa791309807ec6ce604b9a9e809f3cc924d"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glorious-codes%2Fglorious-fyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glorious-codes%2Fglorious-fyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glorious-codes%2Fglorious-fyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glorious-codes%2Fglorious-fyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glorious-codes","download_url":"https://codeload.github.com/glorious-codes/glorious-fyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252561063,"owners_count":21768063,"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-09T05:28:57.978Z","updated_at":"2025-05-05T19:20:22.454Z","avatar_url":"https://github.com/glorious-codes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fyzer\n\u003e The easiest way to be notified when some element appears above the page fold\n\n[![CircleCI](https://circleci.com/gh/glorious-codes/glorious-fyzer.svg?style=svg)](https://circleci.com/gh/glorious-codes/glorious-fyzer)\n[![Coverage Status](https://coveralls.io/repos/github/glorious-codes/glorious-fyzer/badge.svg?branch=master)](https://coveralls.io/github/glorious-codes/glorious-fyzer?branch=master)\n\n## Installation\n\n```\n$ npm install -S @glorious/fyzer\n```\n\n## Usage\n\n``` javascript\nimport fyzer from '@glorious/fyzer';\n\nconst element = document.querySelector('#myElement');\n\nconst subscriptionId = fyzer.subscribe(element, () =\u003e {\n  // This function will be called every time\n  // element appears above the fold.\n});\n\n// When you no longer needs to observe the element's position,\n// you can unsubscribe from Fyzer:\nfyzer.unsubscribe(subscriptionId);\n```\n\n## Contributing\n\n1. Install [Node](https://nodejs.org/en/). Download the \"Recommend for Most Users\" version.\n\n2. Clone the repo:\n``` bash\ngit clone git@github.com:glorious-codes/glorious-fyzer.git\n```\n\n3. Go to the project directory:\n``` bash\ncd glorious-fyzer\n```\n\n4. Install the project dependencies:\n``` bash\nnpm install\n```\n\n## Tests\n\nEnsure that all code that you have added is covered with unit tests:\n``` bash\nnpm run test -- --coverage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglorious-codes%2Fglorious-fyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglorious-codes%2Fglorious-fyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglorious-codes%2Fglorious-fyzer/lists"}