{"id":20035963,"url":"https://github.com/everduin94/web-worker-demo","last_synced_at":"2025-05-05T05:31:42.668Z","repository":{"id":38749626,"uuid":"192219113","full_name":"Everduin94/Web-Worker-Demo","owner":"Everduin94","description":"Web Worker Demo using Angular CLI 8","archived":true,"fork":false,"pushed_at":"2023-01-07T06:26:42.000Z","size":2677,"stargazers_count":6,"open_issues_count":27,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-26T06:42:28.190Z","etag":null,"topics":["angular","javascript","typescript","webworker"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Everduin94.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}},"created_at":"2019-06-16T17:35:38.000Z","updated_at":"2024-01-19T16:58:58.000Z","dependencies_parsed_at":"2022-08-25T04:13:17.071Z","dependency_job_id":null,"html_url":"https://github.com/Everduin94/Web-Worker-Demo","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/Everduin94%2FWeb-Worker-Demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Everduin94%2FWeb-Worker-Demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Everduin94%2FWeb-Worker-Demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Everduin94%2FWeb-Worker-Demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Everduin94","download_url":"https://codeload.github.com/Everduin94/Web-Worker-Demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252446305,"owners_count":21749202,"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":["angular","javascript","typescript","webworker"],"created_at":"2024-11-13T10:10:07.471Z","updated_at":"2025-05-05T05:31:42.145Z","avatar_url":"https://github.com/Everduin94.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebWorkersDemo\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.1.\n\n## Usage\n\nMake sure you have Node and the Angular CLI installed.\n\nFrom a unix-based terminal (I use git-bash on Windows)\n\n```\ngit clone https://github.com/Everduin94/Web-Worker-Demo.git\ncd Web-Worker-Demo\nnpm install\nng serve --o\n```\n\nThe application is not configured to run the worker or main thread on start-up. So if you want to see the effect on performance when running lighthouse go to src/app/web-worker/web-worker.component.ts and enabled either `this.startWebWorker();` or `this.startMain()` inside of the `ngOnInit(){}` method.\n\nHowever, you can simulate either by performing a single click on the web worker or main button. Notice, a widget appears when using the web worker and the hover css classes can still toggle. This illustrates why we use the web worker. When we click the main button, the UI is locked. -- The tester button is an additional illustration. Click while running main, the component will not appear until after the process is finished.\n\n## Article\nhttps://medium.com/@erxk_verduin/improve-performance-with-web-workers-497931fdef1b\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverduin94%2Fweb-worker-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feverduin94%2Fweb-worker-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverduin94%2Fweb-worker-demo/lists"}