{"id":15801468,"url":"https://github.com/scriptedalchemy/webpack-vector-sprite-plugin","last_synced_at":"2026-01-19T08:02:23.713Z","repository":{"id":66159646,"uuid":"194713015","full_name":"ScriptedAlchemy/webpack-vector-sprite-plugin","owner":"ScriptedAlchemy","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-28T03:42:38.000Z","size":326,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-21T21:52:04.386Z","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/ScriptedAlchemy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-07-01T17:06:59.000Z","updated_at":"2025-05-31T12:16:05.000Z","dependencies_parsed_at":"2024-10-05T01:22:52.338Z","dependency_job_id":"ec67ca8c-314e-4c9f-88f7-143973ecb203","html_url":"https://github.com/ScriptedAlchemy/webpack-vector-sprite-plugin","commit_stats":{"total_commits":286,"total_committers":34,"mean_commits":8.411764705882353,"dds":0.5734265734265734,"last_synced_commit":"fb0f67231863583d2d3467b082bccc495fa26b34"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ScriptedAlchemy/webpack-vector-sprite-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedAlchemy%2Fwebpack-vector-sprite-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedAlchemy%2Fwebpack-vector-sprite-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedAlchemy%2Fwebpack-vector-sprite-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedAlchemy%2Fwebpack-vector-sprite-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScriptedAlchemy","download_url":"https://codeload.github.com/ScriptedAlchemy/webpack-vector-sprite-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptedAlchemy%2Fwebpack-vector-sprite-plugin/sbom","scorecard":{"id":126930,"data":{"date":"2025-08-11","repo":{"name":"github.com/ScriptedAlchemy/webpack-vector-sprite-plugin","commit":"fb0f67231863583d2d3467b082bccc495fa26b34"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T04:11:11.213Z","repository_id":66159646,"created_at":"2025-08-16T04:11:11.213Z","updated_at":"2025-08-16T04:11:11.213Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28563233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-05T01:22:45.062Z","updated_at":"2026-01-19T08:02:23.695Z","avatar_url":"https://github.com/ScriptedAlchemy.png","language":"JavaScript","readme":"# WEBPACK PLUGIN\n\n```\n███████╗██╗   ██╗ ██████╗     ███████╗████████╗ ██████╗ ██████╗ ███████╗\n██╔════╝██║   ██║██╔════╝     ██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝\n███████╗██║   ██║██║  ███╗    ███████╗   ██║   ██║   ██║██████╔╝█████╗  \n╚════██║╚██╗ ██╔╝██║   ██║    ╚════██║   ██║   ██║   ██║██╔══██╗██╔══╝  \n███████║ ╚████╔╝ ╚██████╔╝    ███████║   ██║   ╚██████╔╝██║  ██║███████╗\n╚══════╝  ╚═══╝   ╚═════╝     ╚══════╝   ╚═╝    ╚═════╝ ╚═╝  ╚═╝╚══════╝                                                                     \n```\n\n[![NPM](https://nodei.co/npm/webpack-vector-sprite-plugin.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/webpack-vector-sprite-plugin/)\n\n## Package info\n[![Build Status](https://travis-ci.org/ScriptedAlchemy/webpack-vector-sprite-plugin.svg?branch=master)](https://travis-ci.org/ScriptedAlchemy/webpack-vector-sprite-plugin)\n[![NPM version](https://badge.fury.io/js/webpack-vector-sprite-plugin.svg)](https://badge.fury.io/js/webpack-vector-sprite-plugin)\n\n\n## Installation\n```bash\nnpm i webpack-vector-sprite-plugin --save-dev\n```\n\n## Webpack version support\nUse webpack-vector-sprite-plugin@3.x.x for Webpack 1.x.x  \nUse webpack-vector-sprite-plugin@4.x.x for Webpack 2.x.x,3.x.x,4.x.x. \n## Node.js version support\n#### We do not maintain a version for node.js 0.12 anymore\n  Tested to work with with node.js 4.x,6.x,7.x,8.x\n\n\n## Webpack configuration\n\n[EXAMPLE here](https://github.com/ScriptedAlchemy/webpack-vector-sprite-plugin/tree/master/example)\n\n## Usage\n#### 1) require plugin\n```javascript\n//webpack.config.js\nvar SvgStore = require('webpack-vector-sprite-plugin');\nmodule.exports = {\n  plugins: [\n    // create svgStore instance object\n    new SvgStore({\n      // svgo options\n      svgoOptions: {\n        plugins: [\n          { removeTitle: true }\n        ]\n      },\n      prefix: 'icon'\n    })\n  ]\n}\n```\n\n#### 2) Put function mark at your chunk\n```javascript\n// plugin will find marks and build sprite\n\nvar __svg__           = { path: './assets/svg/**/*.svg', name: 'assets/svg/[hash].logos.svg' };\n// will overwrite to var __svg__ = { filename: \"assets/svg/1466687804854.logos.svg\" };\n\n// also you can use next variables for sprite compile\n// var __sprite__     = { path: './assets/svg/minify/*.svg', name: 'assets/svg/[hash].icons.svg' };\n// var __svgstore__   = { path: './assets/svg/minify/*.svg', name: 'assets/svg/[hash].stuff.svg' };\n// var __svgsprite__  = { path: './assets/svg/minify/*.svg', name: 'assets/svg/[hash].1logos.svg' };\n\n// require basic or custom sprite loader\nrequire('webpack-vector-sprite-plugin/src/helpers/svgxhr')(__svg__);\n```\n\n##### Dear friends...\nAs you know, last version has integrated ajax sprite loader.\nRight now, you can override that.\nOr create your own sprite ajax loader function.\n\n#### 3) HTML code for happy using\nHTML:\n```html\n  \u003csvg class=\"svg-icon\"\u003e\n    \u003cuse xlink:href=\"#icon-name\"\u003e\u003c/use\u003e\n  \u003c/svg\u003e\n```\nReact JSX:\n```html\n  \u003csvg className='svg-icon'\u003e\n    \u003cuse xlinkHref='#icon-name' /\u003e\n  \u003c/svg\u003e\n```\n## Plugin settings\n\n#### options\n- `template` - add custom jade template layout (optional)\n- `svgoOptions` - options for [svgo](https://github.com/svg/svgo) (optional, default: `{}`)\n\n\n## License\n\nNPM package available here: [webpack-vector-sprite-plugin](https://www.npmjs.com/package/webpack-vector-sprite-plugin)\n\nMIT © [Chernobrov Mike](http://ScriptedAlchemy.ru), [Gordey Levchenko](https://github.com/lgordey) , [Nadav Sinai](https://github.com/nadavsinai) , [Zack Jackson](https://github.com/ScriptedAlchemy)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptedalchemy%2Fwebpack-vector-sprite-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptedalchemy%2Fwebpack-vector-sprite-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptedalchemy%2Fwebpack-vector-sprite-plugin/lists"}