spritesmith-webpack-plugin weekly downloads statistics
By daipeng7 · npm · Webpack plugins
It is a webpack-plugin for sprite
spritesmith-webpack-plugin has 7 recorded weekly downloads on npm, ranking #1993 of 2,644 tracked listings.
About spritesmith-webpack-plugin
spritesmith-webpack-plugin
It is a webpack-plugin for sprite
Installation
npm i spritesmith-webpack-plugin -D
Usage
{
plugins: [
new SpritesmithWebpackPlugin({
prefix: 'icon',
rootPrefix: 'index',
resultImageType: 'png',
resultCssType: 'css',
padding: 6,
retinaIdentifier: '@2x',
retinaDPR: 2,
minResolution: 192,
unit: 'px',
hash: false,
watch: false,
paths: {
source: resolve('src/assets/sprite'),
result: resolve('src/style/sprite'),
resultCss: resolve('src/style/sprite/css'),
resultImage: resolve('src/style/sprite/images')
},
success() {
// TODO
}
})
]
}
Options
prefix
default: icon css className prefix, fore example:
.icon-home-down{ width: 20px; height: 31px; background-position: 0px -70px; }
rootPrefix
default: index css className rootPrefix
resultImageType
default: png the type of result images
resultCssType
default: css the padding value of result images
retinaIdentifier
default: @2x the identifier of image filter for retina
retinaDPR, minResolution
default: retinaDPR = 2, minResolution = 192
@media(-webkit-min-device-pixel-ratio:2),(min-resolution: 192dpi){
.icon-home-down,.icon-home-good,.icon-home-triangle-right,.icon-home-update {
display:inline-block;
background-repeat:no-repeat;
background-image:url("../images/home@2x.png?t=1575970989349");
background-size: 116px 101px;
}
}
unit
default: px
hash
default: false whether hash value is required
watch
default: false this can watch images by directory.
paths
{
source: resolve('src/assets/sprite'),
result: resolve('src/style/sprite'),
resultCss: resolve('src/style/sprite/css'),
resultImage: resolve('src/style/sprite/images')
}
success
default: null
Description from the npm listing.
- sprite
- spritesmith
- webpack
- webpack-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (1)Similar npm Webpack plugins plugins
All 20 spritesmith-webpack-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/spritesmith-webpack-plugin. First seen Oct 28, 2026; last successful collection Oct 28, 2026. See the methodology.