{"id":17446002,"url":"https://github.com/jamen/rollup-plugin-browser-extension","last_synced_at":"2025-07-02T12:35:15.403Z","repository":{"id":57355585,"uuid":"187712364","full_name":"jamen/rollup-plugin-browser-extension","owner":"jamen","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-26T03:35:57.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-05T19:05:48.817Z","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/jamen.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-05-20T20:58:11.000Z","updated_at":"2021-12-19T15:25:24.000Z","dependencies_parsed_at":"2022-09-26T16:31:41.235Z","dependency_job_id":null,"html_url":"https://github.com/jamen/rollup-plugin-browser-extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamen/rollup-plugin-browser-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Frollup-plugin-browser-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Frollup-plugin-browser-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Frollup-plugin-browser-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Frollup-plugin-browser-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamen","download_url":"https://codeload.github.com/jamen/rollup-plugin-browser-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Frollup-plugin-browser-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263141158,"owners_count":23420012,"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-10-17T18:20:02.254Z","updated_at":"2025-07-02T12:35:15.368Z","avatar_url":"https://github.com/jamen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollup-plugin-browser-extension\n\nRollup plugin for browser extensions.\n\n## Usage\n\nAdd the plugin to your Rollup config\n\n```js\nimport extension from 'rollup-plugin-browser-extension'\n\nexport default {\n    // ...\n    plugins: [\n        extension()\n    ]\n}\n```\n\nThe plugin makes a `'browser'` module available, which exports APIs from [`chrome`](https://developer.chrome.com/extensions/api_index) and [`browser`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API). It also exports `browser` for any APIs [not added yet](./src/browser-extension.js).\n\n```js\nimport { browser, runtime, tabs } from 'browser'\n\nruntime.onMessage.addListener(() =\u003e {\n    // ...\n})\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Frollup-plugin-browser-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamen%2Frollup-plugin-browser-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Frollup-plugin-browser-extension/lists"}