{"id":13431472,"url":"https://github.com/samccone/coverage-ext","last_synced_at":"2025-04-07T09:19:04.521Z","repository":{"id":65992952,"uuid":"66121922","full_name":"samccone/coverage-ext","owner":"samccone","description":"Generate code coverage for any webpage","archived":false,"fork":false,"pushed_at":"2016-09-16T22:17:32.000Z","size":292,"stargazers_count":423,"open_issues_count":2,"forks_count":19,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-31T07:07:52.794Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samccone.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}},"created_at":"2016-08-20T01:24:45.000Z","updated_at":"2024-02-29T04:52:47.000Z","dependencies_parsed_at":"2023-05-21T16:45:25.184Z","dependency_job_id":null,"html_url":"https://github.com/samccone/coverage-ext","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/samccone%2Fcoverage-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fcoverage-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fcoverage-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fcoverage-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samccone","download_url":"https://codeload.github.com/samccone/coverage-ext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247622983,"owners_count":20968575,"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-07-31T02:01:03.354Z","updated_at":"2025-04-07T09:19:04.489Z","avatar_url":"https://github.com/samccone.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"## What is this?\n\nThis is an extension to an old version of chrome + a custom istanbul reporter.\nThis combo gives you the power to view what JS gets evaluated on any website.\n\n![image](https://cloud.githubusercontent.com/assets/883126/18592140/6535c56a-7bea-11e6-88e5-dff9d8f0789c.png)\n\n## Installation\n\n1. Download an **old version of chrome**  [Mac](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/314206/) / [Win](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/314199/)\n  - The reason why we have to use an old version is because we are utilizing a cool API chrome used to have to preprocess any JS file before it gets evaluated by v8. This feature was reverted [here](https://codereview.chromium.org/761143003).\n2. [Download this repo](https://github.com/samccone/coverage-ext/archive/master.zip) and extract it somewhere\n3. Open a prompt in the `reporter` directory\n4. `npm i`\n5. Run the old chrome version\n6. Navigate to `chrome://extensions` and enable developer mode\n7. Click \"Load unpacked extension...\" and select the `extension` folder from the repo\n\n## Example Usage\n\n1. Visit `http://news.ycombinator.com/`.\n2. Open up dev tools.\n3. Click on the get coveragez button.\n4. The page will reload, wait for it to complete.\n5. Click on the copy button.\n6. Run `pbpaste \u003e ycombinator-data`.\n7. `cd reporter`.\n8. `node gen_report.js ../ycombinator-data`\n9. open `./reporter/html-report/index.html` to view the report\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamccone%2Fcoverage-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamccone%2Fcoverage-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamccone%2Fcoverage-ext/lists"}