# Install svg-sprite with npm

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.). Version 2.0.4 via npm; verified 2024-03-26.

## Install

```sh
sudo av install npm:svg-sprite
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g svg-sprite
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:svg-sprite
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/svg-sprite>
- **Version:** 2.0.4
- **Source summary:** 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.)
- **Homepage:** <https://github.com/svg-sprite/svg-sprite>
- **Repository:** <https://github.com/svg-sprite/svg-sprite>
- **Upstream docs:** <https://github.com/svg-sprite/svg-sprite>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/svg-sprite/-/svg-sprite-2.0.4.tgz>
- **Issue tracker:** <https://github.com/svg-sprite/svg-sprite/issues>
- **Published:** 2024-03-26T15:33:23.877Z
- **Last updated:** 2024-03-26T15:33:23.877Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- svg-sprite (cli)
- svg-sprite (alias)

## Dependencies

- @resvg/resvg-js
- @xmldom/xmldom
- async
- css-selector-parser
- csso
- cssom
- glob
- js-yaml
- lodash.escape
- lodash.merge
- mustache
- prettysize
- svgo
- vinyl
- winston
- xpath
- yargs

## Build dependencies

- eslint-plugin-jest
- eslint-plugin-jest-formatting
- eslint-plugin-jsdoc
- jest
- less
- pixelmatch
- playwright-chromium
- pngjs
- sass
- stylus
- xo

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.4
- Package-manager updated: 2024-03-26
- Local data: ok
- Upstream repository: https://github.com/svg-sprite/svg-sprite
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for svg-sprite. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.4, Next: 3.0.0-rc3
- **Version Count:** 97
- **Maintainers:** xhmikosr, jkphl
- **Author:** Joschi Kuphal
- **Publisher:** xhmikosr
- **Engines:** Node: >=12
- **Integrity:** sha512-kjDoATgr4k6tdtfQczpkbuFW6RE7tPUPe/rbRd1n2NV92kdwaXEZMIxJqAZfMGOMfU/Kp1u89SUYsfHCbAvVHg==
- **Shasum:** cff51bc6b9cd1e72f8b8b4ffcdf16394bdbf9b49
- **Unpacked Size:** 212,708
- **File Count:** 0
- **Created At:** 2014-02-08T14:46:46.165Z
- **Latest Published At:** 2024-03-26T15:33:23.877Z
- **Modified At:** 2025-02-20T17:10:31.211Z


## Related links

- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [vue-metamorph](https://www.automicvault.com/pkg/npm/vue-metamorph/) - Both packages touch the same language runtime or ecosystem. Shared terms: files, glob, html, less, lodash.
- [apigeelint](https://www.automicvault.com/pkg/npm/apigeelint/) - Both packages touch the same language runtime or ecosystem. Shared terms: js-yaml, lodash, module, node, parser.
- [lemon-lime-svgs](https://www.automicvault.com/pkg/npm/lemon-lime-svgs/) - Both packages touch the same language runtime or ecosystem. Shared terms: glob, html, icons, into, node.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
