flag-iconsv7.5.0, 29 May 2025
> A curated collection of all country flags in SVG — plus the CSS for easier integration. See the [demo](https://flagicons.lipis.dev).
$ npm install flag-iconssvg-spritev2.0.4, 26 Mar 2024
SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)
$ npm install svg-sprite| Metric | flag-icons | svg-sprite | Difference |
|---|---|---|---|
| Weekly downloads | 736,559 | 151,144 | flag-icons 4.9x higher |
| 12-month download growth | +149% | +14% | flag-icons +135 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 17 | svg-sprite 17 more |
| Unpacked size | 3.9 MB | 208 kB | svg-sprite 19.4x smaller |
| Latest release | 7.5.0, 29 May 2025 | 2.0.4, 26 Mar 2024 | flag-icons 14 months more recent |
| Releases, last 12 months | 0 | - | - |
| First published | 14 Nov 2016 | - | - |
| GitHub stars | 12,423 | 1,988 | flag-icons 6.2x higher |
| Open issues | 25 | 50 | svg-sprite 25 more |
| Open pull requests | 24 | 24 | Same |
| Contributors | - | - | - |
| Commits, last 52 weeks | 10 | 0 | flag-icons higher |
| TypeScript types | None | None | Same |
| Module format | CommonJS | CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
flag-icons736.6k latest weeksvg-sprite151.1k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
flag-icons
Major versions
- 1.0.014 Nov 2016
- 2.0.011 Oct 2018
- 5.0.020 Dec 2021
- 6.0.028 Dec 2021
- 7.0.017 Nov 2023
Last 5 releases
- 7.5.029 May 2025
- 7.4.029 May 2025
- 7.3.217 Jan 2025
- 7.3.116 Jan 2025
- 7.3.016 Jan 2025
63 releases in total, 0 in the last 12 months
svg-sprite
Major versions
- -
Last 5 releases
- -
Release count not fetched
flag-icons
-
svg-sprite
-
flag-icons
-
svg-sprite
-
- Need no runtime dependenciesflag-icons (flag-icons has 0, svg-sprite has 17)
- Module formatBoth CommonJS
- Need TypeScript types in the package itselfNeither (flag-icons: None; svg-sprite: None)
- Node.js version requirementflag-icons: none declared; svg-sprite: >=12 (engines field in package.json)
- Need the more recent releaseflag-icons (7.5.0 on 29 May 2025 vs 2.0.4 on 26 Mar 2024)
- Higher weekly npm downloadsflag-icons (736.6k vs 151.1k)
Each line is generated from the data above.
flag-icons: flag-icons npm registry, flag-icons npm downloads, flag-icons GitHub, flag-icons jsDelivr. Data fetched 25 Sept 2026.
svg-sprite: svg-sprite npm registry, svg-sprite npm downloads, svg-sprite GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.