{"id":28096547,"url":"https://github.com/ext/rollup-plugin-worker","last_synced_at":"2025-05-13T16:24:16.275Z","repository":{"id":290831934,"uuid":"975711970","full_name":"ext/rollup-plugin-worker","owner":"ext","description":"Rollup plugin to import a worker and get the worker URL","archived":false,"fork":false,"pushed_at":"2025-05-10T08:09:08.000Z","size":89,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-10T09:20:45.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ext.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-30T19:12:20.000Z","updated_at":"2025-05-10T08:08:30.000Z","dependencies_parsed_at":"2025-04-30T20:24:44.373Z","dependency_job_id":"7af3648b-aafb-4ce5-94ce-ac7806ba9065","html_url":"https://github.com/ext/rollup-plugin-worker","commit_stats":null,"previous_names":["ext/rollup-plugin-worker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2Frollup-plugin-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2Frollup-plugin-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2Frollup-plugin-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ext%2Frollup-plugin-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ext","download_url":"https://codeload.github.com/ext/rollup-plugin-worker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253980255,"owners_count":21994066,"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":"2025-05-13T16:24:12.743Z","updated_at":"2025-05-13T16:24:16.252Z","avatar_url":"https://github.com/ext.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @sidvind/rollup-plugin-worker\n\n[![NPM Version](https://img.shields.io/npm/v/%40sidvind%2Frollup-plugin-worker)](https://www.npmjs.com/package/@sidvind/rollup-plugin-worker)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ext/rollup-plugin-worker/.github%2Fworkflows%2Fbuild.yml)\n\nRollup plugin to import a worker and get the worker URL.\n\n- Import worker as URL\n- Generates separate chunk for each worker.\n- ESM only\n- Typescript compatible\n\n\u003e [!IMPORTANT]\n\u003e This plugin is intended for my own use-cases and I'll maintain it as such.\n\u003e Feel free to use it as you feel fit but I will not accept feature requests without pull requests, i.e. if you don't intend to put in the work yourself it is unlikely to be implemented.\n\u003e Issues and bugs are accepted.\n\n## Usage\n\n```ts\nimport { Worker } from \"node:worker_threads\";\nimport workerUrl from \"./awesome-worker?worker\u0026url\";\n\nconst worker = new Worker(workerUrl);\n```\n\nThis generates a separate chunk `awesome-worker-[chunk].js` and is exported as a URL to the chunk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fext%2Frollup-plugin-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fext%2Frollup-plugin-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fext%2Frollup-plugin-worker/lists"}