{"id":50091989,"url":"https://github.com/vladshcherbin/rollup-plugin-svg-sprite","last_synced_at":"2026-05-23T00:31:51.606Z","repository":{"id":49114185,"uuid":"119157873","full_name":"vladshcherbin/rollup-plugin-svg-sprite","owner":"vladshcherbin","description":"Create external svg sprite file from your bundle using Rollup","archived":false,"fork":false,"pushed_at":"2021-06-28T13:22:59.000Z","size":347,"stargazers_count":21,"open_issues_count":7,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-26T15:51:31.719Z","etag":null,"topics":["create","extract","generate","minify","rollup","rollup-plugin","sprite","svg","svg-sprite","svgo"],"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/vladshcherbin.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":"2018-01-27T11:22:48.000Z","updated_at":"2024-05-23T09:38:35.000Z","dependencies_parsed_at":"2022-09-13T05:40:36.833Z","dependency_job_id":null,"html_url":"https://github.com/vladshcherbin/rollup-plugin-svg-sprite","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vladshcherbin/rollup-plugin-svg-sprite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladshcherbin%2Frollup-plugin-svg-sprite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladshcherbin%2Frollup-plugin-svg-sprite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladshcherbin%2Frollup-plugin-svg-sprite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladshcherbin%2Frollup-plugin-svg-sprite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladshcherbin","download_url":"https://codeload.github.com/vladshcherbin/rollup-plugin-svg-sprite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladshcherbin%2Frollup-plugin-svg-sprite/sbom","scorecard":{"id":148715,"data":{"date":"2022-08-15","repo":{"name":"github.com/vladshcherbin/rollup-plugin-svg-sprite","commit":"5a0ad7601e68cc49b4b47e9159e0e578f05e7f87"},"scorecard":{"version":"v4.5.0-28-g6dcfde9","commit":"6dcfde9299033d3b16d81985a9634092411e0cfc"},"score":4.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) out of 30 and 0 issue activity out of 2 found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"GitHub code reviews found for 2 commits out of the last 30 -- score normalized to 0","details":["Warn: no reviews found for commit: 5a0ad7601e68cc49b4b47e9159e0e578f05e7f87","Warn: no reviews found for commit: 5922b20f0d6c2f182544f097b41a917f81b46c8d","Warn: no reviews found for commit: f86beda287c8cefe3583ac10d867e5e480338626","Warn: no reviews found for commit: 66e8538cd49e7e6d1fa1d863586f0205790680d1","Warn: no reviews found for commit: 2fbf96acdb04f630acbdd39508ba581780f2ed53","Warn: no reviews found for commit: 78922344bd330757c994e97d59987e8ec6a92d1c","Warn: no reviews found for commit: 2aae412626e6a814091e6c86be34bd99bba01793","Warn: no reviews found for commit: 728e04419240dd8016ce1f1b24a410e4837380c2","Warn: no reviews found for commit: f2ad7d72d4829b6f65fa619b1dfffb5707889463","Warn: no reviews found for commit: 54f3f0278cc29dd8bd0a991d20a753d844163e8b","Warn: no reviews found for commit: 8d6475feeb6e8b46d1b58f7d6ecf938baf4977e2","Warn: no reviews found for commit: f00ef0a1f3dc5fd290874b36f4a261372b1e5523","Warn: no reviews found for commit: a3252084bb3fb066dee3bf20fb786de2e1849e59","Warn: no reviews found for commit: fb877425c2df1f4cac055a16f965a0501cb1e827","Warn: no reviews found for commit: 80a4500d099005408c5341cea6ffd51ed726a88f","Warn: no reviews found for commit: 38817e58bd99cc07ff474dfa3b84a4faf6318634","Warn: no reviews found for commit: 8eb273f74f730cf2f0dc595b814985391feaee51","Warn: no reviews found for commit: ab0bc204711f24029822df5c071f4377b2e98cc1","Warn: no reviews found for commit: 5e90d0e602147f8a1f28f242ce113006002611eb","Warn: no reviews found for commit: 10f2a9a927d9e83ac5e65cf5b4e538d16dafc86e","Warn: no reviews found for commit: 1999b4faec468cccbe13a3b5f6756e1937319341","Warn: no reviews found for commit: aa497431182162fe058958f87567d6bdeb2ab55d","Warn: no reviews found for commit: 12dc6e0ea52658416910ff5430de9844a3bf0f12","Warn: no reviews found for commit: d734803dadf3aeaf7c20a3b3cd68b0fe406e75d2","Warn: no reviews found for commit: 0be62a1d18410d7d95a21879a5ab060b351b40cf","Warn: no reviews found for commit: 63c24d1a9345da3c77284c810db7c2df5f2bfedd","Warn: no reviews found for commit: bb97e01e0473a2c659e66df995b3571a32c9565a","Warn: no reviews found for commit: 71378c49a02fa119e129b71c1f724dfa3421054f"],"documentation":{"short":"Determines if the project requires code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no badge detected","details":null,"documentation":{"short":"Determines if the project has a CII Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"no vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":["Warn: no GitHub releases found"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"no published package detected","details":["Warn: no GitHub 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/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":10,"reason":"tokens are read-only in GitHub workflows","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#token-permissions"}},{"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/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info: GitHub-owned GitHubActions are pinned","Info: Third-party GitHubActions are pinned","Info: Dockerfile dependencies are pinned","Info: no insecure (not pinned by hash) dependency downloads found in Dockerfiles","Info: no insecure (not pinned by hash) dependency downloads found in shell scripts"],"documentation":{"short":"Determines if the project has declared and pinned its dependencies.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#binary-artifacts"}},{"name":"License","score":0,"reason":"license file not detected","details":null,"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":null,"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#branch-protection"}},{"name":"Dependency-Update-Tool","score":0,"reason":"no update tool detected","details":["Warn: dependabot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others.","Warn: renovatebot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others."],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#dependency-update-tool"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":null,"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/6dcfde9299033d3b16d81985a9634092411e0cfc/docs/checks.md#fuzzing"}}]},"last_synced_at":"2025-08-16T10:01:47.690Z","repository_id":49114185,"created_at":"2025-08-16T10:01:47.690Z","updated_at":"2025-08-16T10:01:47.690Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33378554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-22T21:56:13.512Z","status":"ssl_error","status_checked_at":"2026-05-22T21:56:10.769Z","response_time":265,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["create","extract","generate","minify","rollup","rollup-plugin","sprite","svg","svg-sprite","svgo"],"created_at":"2026-05-23T00:31:50.872Z","updated_at":"2026-05-23T00:31:51.594Z","avatar_url":"https://github.com/vladshcherbin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollup-plugin-svg-sprite\n\n[![Build Status](https://travis-ci.org/vladshcherbin/rollup-plugin-svg-sprite.svg?branch=master)](https://travis-ci.org/vladshcherbin/rollup-plugin-svg-sprite)\n[![Codecov](https://codecov.io/gh/vladshcherbin/rollup-plugin-svg-sprite/branch/master/graph/badge.svg)](https://codecov.io/gh/vladshcherbin/rollup-plugin-svg-sprite)\n\nCreate external svg sprite file from your bundle using Rollup and optimize it using [SVGO](https://github.com/svg/svgo).\n\n## Installation\n\n```bash\n# yarn\nyarn add rollup-plugin-svg-sprite -D\n\n# npm\nnpm install rollup-plugin-svg-sprite -D\n```\n\n## Usage\n\n```js\n// rollup.config.js\nimport svgSprite from 'rollup-plugin-svg-sprite'\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/app.js',\n    format: 'iife'\n  },\n  plugins: [\n    svgSprite({\n      outputFolder: 'dist/public'\n    })\n  ]\n}\n```\n\nNext, import svg files in your project:\n\n```js\nimport './svg/trash.svg'\nimport './svg/user.svg'\n```\n\n### Configuration\n\nThere are some useful options:\n\n#### outputFolder\n\nType: `string`\n\nFolder where generated svg sprite will be saved.\n\n```js\nsvgSprite({\n  outputFolder: 'dist/public'\n})\n```\n\n#### minify\n\nType: `boolean` | Default: `true`\n\nMinify generated svg sprite.\n\n```js\nsvgSprite({\n  outputFolder: 'dist/public',\n  minify: false\n})\n```\n\nAll other options are passed to [svgo package](https://github.com/svg/svgo) which is used inside.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladshcherbin%2Frollup-plugin-svg-sprite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladshcherbin%2Frollup-plugin-svg-sprite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladshcherbin%2Frollup-plugin-svg-sprite/lists"}