Skip to content
PluginStats

image-sprite-webpack-plugin weekly downloads statistics

By naver · npm · Webpack plugins

Image Sprite Plugin for Webpack.

View on npm Fresh · Oct 27, 2026 · data Jul 1, 2026

image-sprite-webpack-plugin has 29 recorded weekly downloads on npm.

Weekly downloads
29
Official API · Jul 1, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
—
Among tracked npm listings

About image-sprite-webpack-plugin

image-sprite-webpack-plugin

npm

A webpack plugin that generates spritesheets from your stylesheets.

Input

  • width, height and background properties are mandatory to create a sprite.
  • Shorthand properties are recommended.
h1.logo {
    width: 240px;
    height: 80px;
    background: url(./img/logo.png) no-repeat 0 0;
    font-size: 0;
}

span.itemPicture {
    display: inline-block;
    background-image: url(./img/item-picture.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    width: 36px;
    height: 36px;
}

Output

h1.logo {
  width: 240px;
  height: 80px;
  background: url(/css/sprite.png) no-repeat 0 -20px;
  /* background: url(/img/logo.png) no-repeat 0 0 */
  font-size: 0;
}

span.itemPicture {
  display: inline-block;
  background-image: url(/css/sprite.png);
  /* background-image: url(/img/item-picture.png) */
  background-repeat: no-repeat;
  background-position: -100px -90px;
  /* background-position: 0 0 */
  width: 36px;
  height: 36px;
}

Install

npm install -D image-sprite-webpack-plugin

Example

Production build
const ImageSpritePlugin = require('image-sprite-webpack-plugin');

new ImageSpritePlugin({
    commentOrigin: false,
    compress: true,
    extensions: ['gif', 'png'],
    indent: '',
    log: true,
    //outputPath: './public',
    outputFilename: 'css/sprite-[hash].png',
    padding: 10,
    suffix: '' + Date.now() // do not need to use it with a outputFilename's [hash].
})
git clone this repository
cd examples/webpack4-cssloader-single-chunk
npm i
npm run build
Webpack dev server
const ImageSpritePlugin = require('image-sprite-webpack-plugin');

new ImageSpritePlugin({
    commentOrigin: true,
    compress: false,
    extensions: ['gif', 'png'],
    indent: '  ',
    log: true,
    //outputPath: './public',
    outputFilename: 'css/sprite.png',
    padding: 10,
    suffix: ''
})
git clone this repository
cd examples/webpack4-cssloader-single-chunk
npm i
npm start

More Examples

NPM Commands in Examples

Each example has the following command.

  • Creates a production build.

    npm run build
    
  • Starts webpack-dev-server

    npm start
    
  • Creates a production build with node inspector. (with chrome://inspect/#devices)

    npm run build-debug
    
  • Starts webpack-dev-server with node inspector. (with chrome://inspect/#devices)

    npm run start-debug
    

Dependency

  • This plugin requires css-loader to handle CssModule.
  • It is also recommended that you use a file-loader to automatically move and access image resource files.

Compatibility

Options

NameTypeDefaultDescription
commentOrigin{Boolean}falseShows the original image resource url with a comment.
compress{Boolean}falseCompress the output css
extensions{Array}['png', 'jpg', 'jpeg', 'gif']File extensions to be converted with the spritesheets
indent{String}' ' (2 spaces)The indentation for css output source
log{Boolean}trueEnable/disable message logging
outputPath{String}webpack config's outputPathDescribes spritesheets file's output path
outputFilename{String}'/sprite/sprite-[hash].png'A sprite image filename
padding{Number}0Padding to use between images
suffix{String}''A suffix for outputFilename

Bug Report

If you find a bug, please report to us posting issues on GitHub.

License

image-sprite-webpack-plugin is released under the MIT license.

Copyright (c) 2018 NAVER Corp.…

Description from the npm listing.

  • webpack
  • webpack-plugin
  • stylesheet
  • css-loader
  • css
  • spritesmith

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

image-sprite-webpack-plugin weekly downloads on npm, last 90 days: 29 weekly downloads as of Jul 1, 2026.image-sprite-webpack-pluginWeekly downloads on npm · Last 90 days29downloads / weekNo observations recorded in this periodno observations · 0 observations · Updated Jul 1, 2026pluginstats.com
image-sprite-webpack-plugin weekly downloads on npm, last 90 days: 29 weekly downloads as of Jul 1, 2026.

7/30/90-day growth

image-sprite-webpack-plugin weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.image-sprite-webpack-pluginWeekly downloads growth on npm29downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Jul 1, 2026pluginstats.com
image-sprite-webpack-plugin weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

image-sprite-webpack-plugin has no ranking history on npm yet.image-sprite-webpack-pluginnpm ranking · by weekly downloads · Last 90 daysNo ranking observations in this periodno observations · 0 observations · Updated Jul 1, 2026pluginstats.com
image-sprite-webpack-plugin has no ranking history on npm yet.

Listing placement

All npm2,577 listings · 129 pages · 1,289 shown · page 108, #9 (overall #2,149)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins267 listings · 14 pages · page 9, #5 (overall #165)
Webpack plugins: every listing in weekly downloads order

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)
Recent weekly downloads observations for image-sprite-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
29—

Similar npm Webpack plugins plugins

All 20 image-sprite-webpack-plugin alternatives

Data 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/image-sprite-webpack-plugin. First seen Oct 27, 2026; last successful collection Oct 27, 2026. See the methodology.