1.0.6 • Published 5 years ago

svg-analyzer v1.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

SVG Analyzer

npm (scoped)

Analyse your SVG assets library for saving those extra bytes and DOM nodes.

Supports:

  • Preview of all the assets
  • One click optimization with SVGO with the savings in bytes
  • Defing your SVG budget and see which files are above or below the threshold
  • DOM node count - if used in inline mode
  • Builds a single page website with all these stats

Usage

Usage: npx svgo-analyzer "--path-to-svg-assets" -o -n 88 -s 400

Options:
  -o, --optimize   Do SVGO optimization. Defaults to false
  -n, --nodes <n>  Nodes threshold. Defaults to 8
  -s, --size <n>   Size threshold in bytes. Defaults to 400 bytes
  -h, --help       output usage information

Screenshot

npm.io

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago