{"id":13483933,"url":"https://github.com/rollup/plugins","last_synced_at":"2025-09-09T21:15:32.853Z","repository":{"id":37476799,"uuid":"203607977","full_name":"rollup/plugins","owner":"rollup","description":"🍣  The one-stop shop for official Rollup plugins","archived":false,"fork":false,"pushed_at":"2025-09-04T13:39:27.000Z","size":7409,"stargazers_count":3721,"open_issues_count":34,"forks_count":605,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-09-06T00:44:52.912Z","etag":null,"topics":["plugins","rollup","rollup-plugins"],"latest_commit_sha":null,"homepage":null,"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/rollup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"rollup"}},"created_at":"2019-08-21T15:02:50.000Z","updated_at":"2025-09-05T06:06:26.000Z","dependencies_parsed_at":"2022-07-13T15:29:36.393Z","dependency_job_id":"a86b5864-343f-417b-ad13-b27d237a620e","html_url":"https://github.com/rollup/plugins","commit_stats":{"total_commits":1183,"total_committers":246,"mean_commits":4.808943089430894,"dds":0.73541842772612,"last_synced_commit":"92daef00b0da30de172868d4e0792c8686da0045"},"previous_names":[],"tags_count":497,"template":false,"template_full_name":null,"purl":"pkg:github/rollup/plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Fplugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Fplugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Fplugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Fplugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollup","download_url":"https://codeload.github.com/rollup/plugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollup%2Fplugins/sbom","scorecard":{"id":114329,"data":{"date":"2025-08-04","repo":{"name":"github.com/rollup/plugins","commit":"ad58c8d87c5ab4864e25b5a777290fdf12a3879f"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":3.9,"checks":[{"name":"Maintained","score":10,"reason":"12 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 14/30 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node-windows.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-title.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/validate.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":7,"reason":"binaries present in source code","details":["Warn: binary detected: packages/wasm/test/fixtures/complex.wasm:1","Warn: binary detected: packages/wasm/test/fixtures/imports.wasm:1","Warn: binary detected: packages/wasm/test/fixtures/sample.wasm:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node-windows.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/node-windows.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node-windows.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/node-windows.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-windows.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/node-windows.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-title.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/pr-title.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/validate.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/validate.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/validate.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/rollup/plugins/validate.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"20 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-9pv7-vfvm-6vr7","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-vm32-9rqf-rh3r","Warn: Project is vulnerable to: GHSA-8cc4-rfj6-fhg4","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T00:19:41.099Z","repository_id":37476799,"created_at":"2025-08-16T00:19:41.100Z","updated_at":"2025-08-16T00:19:41.100Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273968655,"owners_count":25199651,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["plugins","rollup","rollup-plugins"],"created_at":"2024-07-31T17:01:17.029Z","updated_at":"2025-09-09T21:15:32.810Z","avatar_url":"https://github.com/rollup.png","language":"JavaScript","funding_links":["https://opencollective.com/rollup"],"categories":["JavaScript","Additional Help","others"],"sub_categories":["Supporting JSON Imports"],"readme":"[cover]: https://codecov.io/gh/rollup/plugins/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/rollup/plugins\n[discord]: https://img.shields.io/discord/466787075518365708?color=778cd1\u0026label=chat\n[discord-url]: https://is.gd/rollup_chat\n[tests]: https://img.shields.io/circleci/project/github/rollup/plugins.svg\n[tests-url]: https://circleci.com/gh/rollup/plugins\n\n[![tests][tests]][tests-url]\n[![cover][cover]][cover-url]\n[![discord][discord]][discord-url]\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n\n# Rollup Plugins\n\n🍣 The one-stop shop for official Rollup plugins\n\nThis repository houses plugins that Rollup considers critical to every day use of Rollup, plugins which the organization has adopted maintenance of, and plugins that the project recommends to its users.\n\n## Plugins Found Here\n\n|                                                     |                                                                                           |\n| --------------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| [alias](packages/alias)                             | Define and resolve aliases for bundle dependencies                                        |\n| [auto-install](packages/auto-install)               | Automatically install dependencies that are imported by a bundle                          |\n| [babel](packages/babel)                             | Compile your files with Babel                                                             |\n| [beep](packages/beep)                               | System beeps on errors and warnings                                                       |\n| [buble](packages/buble)                             | Compile ES2015 with buble                                                                 |\n| [commonjs](packages/commonjs)                       | Convert CommonJS modules to ES6                                                           |\n| [data-uri](packages/data-uri)                       | Import modules from Data URIs                                                             |\n| [dsv](packages/dsv)                                 | Convert .csv and .tsv files into JavaScript modules with d3-dsv                           |\n| [dynamic-import-vars](packages/dynamic-import-vars) | Resolving dynamic imports that contain variables.                                         |\n| [eslint](packages/eslint)                           | Verify entry point and all imported files with ESLint                                     |\n| [esm-shim](packages/esm-shim)                       | Replace cjs syntax for esm output bundles                                                 |\n| [graphql](packages/graphql)                         | Convert .gql/.graphql files to ES6 modules                                                |\n| [html](packages/html)                               | Create HTML files to serve Rollup bundles                                                 |\n| [image](packages/image)                             | Import JPG, PNG, GIF, SVG, and WebP files                                                 |\n| [inject](packages/inject)                           | Scan modules for global variables and injects `import` statements where necessary         |\n| [json](packages/json)                               | Convert .json files to ES6 modules                                                        |\n| [legacy](packages/legacy)                           | Add `export` declarations to legacy non-module scripts                                    |\n| [multi-entry](packages/multi-entry)                 | Use multiple entry points for a bundle                                                    |\n| [node-resolve](packages/node-resolve)               | Locate and bundle third-party dependencies in node_modules                                |\n| [replace](packages/replace)                         | Replace strings in files while bundling                                                   |\n| [run](packages/run)                                 | Run your bundles in Node once they're built                                               |\n| [strip](packages/strip)                             | Remove debugger statements and functions like assert.equal and console.log from your code |\n| [sucrase](packages/sucrase)                         | Compile TypeScript, Flow, JSX, etc with Sucrase                                           |\n| [swc](packages/swc)                                 | Transpile TypeScript/JavaScript with the speedy-web-compiler                              |\n| [terser](packages/terser)                           | Generate a minified output bundle with terser                                             |\n| [typescript](packages/typescript)                   | Integration between Rollup and Typescript                                                 |\n| [url](packages/url)                                 | Import files as data-URIs or ES Modules                                                   |\n| [virtual](packages/virtual)                         | Load virtual modules from memory                                                          |\n| [wasm](packages/wasm)                               | Import WebAssembly code with Rollup                                                       |\n| [yaml](packages/yaml)                               | Convert YAML files to ES6 modules                                                         |\n|                                                     |                                                                                           |\n\n## Other Packages Found Here\n\n|                                     |                                                            |\n| ----------------------------------- | ---------------------------------------------------------- |\n| [pluginutils](packages/pluginutils) | A set of utility functions commonly used by Rollup plugins |\n|                                     |                                                            |\n\n## Contributing\n\nThis repository is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) which leverages [pnpm](https://pnpm.io/) for dependency management.\n\nTo begin, please install `pnpm`:\n\n```console\n$ npm install pnpm -g\n```\n\n### Working with Plugin Packages\n\nAll plugin packages are kept in the `/packages` directory.\n\n#### Adding dependencies:\n\n```console\n$ pnpm --filter ./packages/\u003cname\u003e add \u003cpackage\u003e\n```\n\nWhere `\u003cpackage\u003e` is the name of the NPM package you wish to add for a plugin package, and `\u003cname\u003e` is the proper name of the plugin. e.g. `@rollup/plugin-beep`.\n\n#### Publishing:\n\n```console\n$ pnpm publish \u003cname\u003e [flags]\n```\n\nWhere `\u003cname\u003e` is the portion of the plugin package name following `@rollup/plugin-`. (e.g. `beep`)\n\nThe publish script performs the following actions:\n\n- Gathers commits from the last release tag\n- Determines the next appropriate version bump (major, minor, or patch)\n- Updates `package.json`\n- Generates a new ChangeLog entry\n- Updates `CHANGELOG.md` for the target plugin\n- Commits `package.json` and `CHANGELOG.md`, with a commit message is in the form `chore(release): \u003cname\u003e-v\u003cversion\u003e`\n- Publishes to NPM\n- Tags the release in the form `\u003cname\u003e-v\u003cversion\u003e` (e.g. `beep-v0.1.0`)\n- Pushes the commit and tag to Github\n\n##### Flags\n\nThe following flags are available to modify the publish process:\n\n- `--dry` tells the script to perform a dry-run, skipping any file modifications, NPM, or Git Actions. Results from version determination and new ChangeLog additions are displayed.\n- `--major`, `--minor`, `--patch` can be used to force a particular type of semver bump.\n- `--no-push` will instruct the script not to push changes and tags to Git.\n- `--no-tag` will instruct the script not to tag the release.\n\n#### Running Tests:\n\nTo run tests on all packages which have changes:\n\n```console\n$ pnpm test\n```\n\nTo run tests on a specific package:\n\n```console\n$ pnpm --filter ./packages/\u003cname\u003e test\n```\n\nLinting:\n\nTo lint all packages which have changes:\n\n```console\n$ pnpm lint\n```\n\nTo lint a specific package:\n\n```console\n$ pnpm --filter ./packages/\u003cname\u003e lint\n```\n\n_Note: Scripts in the repository will run the root `test` and `lint` script on those packages which have changes. This is also how the CI pipelines function. To run either on a package outside of that pipeline, use `pnpm \u003cscript\u003e @rollup/plugin-\u003cname\u003e`._\n\n## Adding Plugins\n\nWhile we don't have an official procedure for adding third-party plugins to this repository, we are absolutely open to the idea. If you'd like to speak about your project being a part of this repo, please reach out to [@RollupJS](https://twitter.com/RollupJS) on Twitter.\n\n## Meta\n\n[CONTRIBUTING](./.github/CONTRIBUTING.md)\n\n[LICENSE (MIT)](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollup%2Fplugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollup%2Fplugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollup%2Fplugins/lists"}