File: //opt/code/node_modules/cssnano/node_modules/postcss-svgo/node_modules/svgo/package.json
{
"name": "svgo",
"version": "0.7.2",
"description": "Nodejs-based tool for optimizing SVG vector graphics files",
"keywords": [
"svgo",
"svg",
"optimize",
"minify"
],
"homepage": "https://github.com/svg/svgo",
"bugs": {
"url": "https://github.com/svg/svgo/issues",
"email": "kir@soulshine.in"
},
"author": {
"name": "Kir Belevich",
"email": "kir@soulshine.in",
"url": "https://github.com/deepsweet"
},
"contributors": [
{
"name": "Sergey Belov",
"email": "peimei@ya.ru",
"url": "http://github.com/arikon"
},
{
"name": "Lev Solntsev",
"email": "lev.sun@ya.ru",
"url": "http://github.com/GreLI"
}
],
"repository": {
"type": "git",
"url": "git://github.com/svg/svgo.git"
},
"main": "./lib/svgo.js",
"bin": {
"svgo": "./bin/svgo"
},
"directories": {
"bin": "./bin",
"lib": "./lib",
"example": "./examples"
},
"scripts": {
"test": "set NODE_ENV=test && mocha",
"jshint": "jshint --show-non-errors ."
},
"dependencies": {
"sax": "~1.2.1",
"coa": "~1.0.1",
"js-yaml": "~3.7.0",
"colors": "~1.1.2",
"whet.extend": "~0.9.9",
"mkdirp": "~0.5.1",
"csso": "~2.3.1"
},
"devDependencies": {
"mocha": "~3.2.0",
"should": "11.2.0",
"istanbul": "~0.4.5",
"mocha-istanbul": "~0.3.0",
"coveralls": "~2.11.14"
},
"engines": {
"node": ">=0.10.0"
},
"license": "MIT",
"readme": "**english** | [русский](https://github.com/svg/svgo/blob/master/README.ru.md)\n- - -\n\n<img src=\"https://svg.github.io/svgo-logo.svg\" width=\"200\" height=\"200\" alt=\"logo\"/>\n\n## SVGO [](https://npmjs.org/package/svgo) [](https://gemnasium.com/svg/svgo) [](https://travis-ci.org/svg/svgo) [](https://coveralls.io/r/svg/svgo?branch=master)\n\n**SVG O**ptimizer is a Nodejs-based tool for optimizing SVG vector graphics files.\n\n\n## Why?\n\nSVG files, especially exported from various editors, usually contain a lot of redundant and useless information such as editor metadata, comments, hidden elements, default or non-optimal values and other stuff that can be safely removed or converted without affecting SVG rendering result.\n\n## What it can do\n\nSVGO has a plugin-based architecture, so almost every optimization is a separate plugin.\n\nToday we have:\n\n| Plugin | Description |\n| ------ | ----------- | \n| [cleanupAttrs](https://github.com/svg/svgo/blob/master/plugins/cleanupAttrs.js) | cleanup attributes from newlines, trailing, and repeating spaces |\n| [removeDoctype](https://github.com/svg/svgo/blob/master/plugins/removeDoctype.js) | remove doctype declaration |\n| [removeXMLProcInst](https://github.com/svg/svgo/blob/master/plugins/removeXMLProcInst.js) | remove XML processing instructions |\n| [removeComments](https://github.com/svg/svgo/blob/master/plugins/removeComments.js) | remove comments |\n| [removeMetadata](https://github.com/svg/svgo/blob/master/plugins/removeMetadata.js) | remove `<metadata>` |\n| [removeTitle](https://github.com/svg/svgo/blob/master/plugins/removeTitle.js) | remove `<title>` (disabled by default) |\n| [removeDesc](https://github.com/svg/svgo/blob/master/plugins/removeDesc.js) | remove `<desc>` (only non-meaningful by default) |\n| [removeUselessDefs](https://github.com/svg/svgo/blob/master/plugins/removeUselessDefs.js) | remove elements of `<defs>` without `id` |\n| [removeXMLNS](https://github.com/svg/svgo/blob/master/plugins/removeXMLNS.js) | removes `xmlns` attribute (for inline svg, disabled by default) |\n| [removeEditorsNSData](https://github.com/svg/svgo/blob/master/plugins/removeEditorsNSData.js) | remove editors namespaces, elements, and attributes |\n| [removeEmptyAttrs](https://github.com/svg/svgo/blob/master/plugins/removeEmptyAttrs.js) | remove empty attributes |\n| [removeHiddenElems](https://github.com/svg/svgo/blob/master/plugins/removeHiddenElems.js) | remove hidden elements |\n| [removeEmptyText](https://github.com/svg/svgo/blob/master/plugins/removeEmptyText.js) | remove empty Text elements |\n| [removeEmptyContainers](https://github.com/svg/svgo/blob/master/plugins/removeEmptyContainers.js) | remove empty Container elements |\n| [removeViewBox](https://github.com/svg/svgo/blob/master/plugins/removeViewBox.js) | remove `viewBox` attribute when possible (disabled by default) |\n| [cleanupEnableBackground](https://github.com/svg/svgo/blob/master/plugins/cleanupEnableBackground.js) | remove or cleanup `enable-background` attribute when possible |\n| [minifyStyles](https://github.com/svg/svgo/blob/master/plugins/minifyStyles.js) | minify `<style>` elements content with [CSSO](https://github.com/css/csso) |\n| [convertStyleToAttrs](https://github.com/svg/svgo/blob/master/plugins/convertStyleToAttrs.js) | convert styles into attributes |\n| [convertColors](https://github.com/svg/svgo/blob/master/plugins/convertColors.js) | convert colors (from `rgb()` to `#rrggbb`, from `#rrggbb` to `#rgb`) |\n| [convertPathData](https://github.com/svg/svgo/blob/master/plugins/convertPathData.js) | convert Path data to relative or absolute (whichever is shorter), convert one segment to another, trim useless delimiters, smart rounding, and much more |\n| [convertTransform](https://github.com/svg/svgo/blob/master/plugins/convertTransform.js) | collapse multiple transforms into one, convert matrices to the short aliases, and much more |\n| [removeUnknownsAndDefaults](https://github.com/svg/svgo/blob/master/plugins/removeUnknownsAndDefaults.js) | remove unknown elements content and attributes, remove attrs with default values |\n| [removeNonInheritableGroupAttrs](https://github.com/svg/svgo/blob/master/plugins/removeNonInheritableGroupAttrs.js) | remove non-inheritable group's \"presentation\" attributes |\n| [removeUselessStrokeAndFill](https://github.com/svg/svgo/blob/master/plugins/removeUselessStrokeAndFill.js) | remove useless `stroke` and `fill` attrs |\n| [removeUnusedNS](https://github.com/svg/svgo/blob/master/plugins/removeUnusedNS.js) | remove unused namespaces declaration |\n| [cleanupIDs](https://github.com/svg/svgo/blob/master/plugins/cleanupIDs.js) | remove unused and minify used IDs |\n| [cleanupNumericValues](https://github.com/svg/svgo/blob/master/plugins/cleanupNumericValues.js) | round numeric values to the fixed precision, remove default `px` units |\n| [cleanupListOfValues](https://github.com/svg/svgo/blob/master/plugins/cleanupListOfValues.js) | round numeric values in attributes that take a list of numbers (like `viewBox` or `enableBackground`) |\n| [moveElemsAttrsToGroup](https://github.com/svg/svgo/blob/master/plugins/moveElemsAttrsToGroup.js) | move elements' attributes to their enclosing group |\n| [moveGroupAttrsToElems](https://github.com/svg/svgo/blob/master/plugins/moveGroupAttrsToElems.js) | move some group attributes to the contained elements |\n| [collapseGroups](https://github.com/svg/svgo/blob/master/plugins/collapseGroups.js) | collapse useless groups |\n| [removeRasterImages](https://github.com/svg/svgo/blob/master/plugins/removeRasterImages.js) | remove raster images (disabled by default) |\n| [mergePaths](https://github.com/svg/svgo/blob/master/plugins/mergePaths.js) | merge multiple Paths into one |\n| [convertShapeToPath](https://github.com/svg/svgo/blob/master/plugins/convertShapeToPath.js) | convert some basic shapes to `<path>` |\n| [sortAttrs](https://github.com/svg/svgo/blob/master/plugins/sortAttrs.js) | sort element attributes for epic readability (disabled by default) |\n| [transformsWithOnePath](https://github.com/svg/svgo/blob/master/plugins/transformsWithOnePath.js) | apply transforms, crop by real width, center vertical alignment, and resize SVG with one Path inside (disabled by default) |\n| [removeDimensions](https://github.com/svg/svgo/blob/master/plugins/removeDimensions.js) | remove `width`/`height` attributes if `viewBox` is present (disabled by default) |\n| [removeAttrs](https://github.com/svg/svgo/blob/master/plugins/removeAttrs.js) | remove attributes by pattern (disabled by default) |\n| [removeElementsByAttr](https://github.com/svg/svgo/blob/master/plugins/removeElementsByAttr.js) | remove arbitrary elements by ID or className (disabled by default) |\n| [addClassesToSVGElement](https://github.com/svg/svgo/blob/master/plugins/addClassesToSVGElement.js) | add classnames to an outer `<svg>` element (disabled by default) |\n| [addAttributesToSVGElement](https://github.com/svg/svgo/blob/master/plugins/addAttributesToSVGElement.js) | adds attributes to an outer `<svg>` element (disabled by default) |\n| [removeStyleElement](https://github.com/svg/svgo/blob/master/plugins/removeStyleElement.js) | remove `<style>` elements (disabled by default) |\n\nWant to know how it works and how to write your own plugin? [Of course you want to](https://github.com/svg/svgo/blob/master/docs/how-it-works/en.md). ([동작방법](https://github.com/svg/svgo/blob/master/docs/how-it-works/ko.md))\n\n\n## How to use\n\n```sh\n$ [sudo] npm install -g svgo\n```\n\n```\nUsage:\n svgo [OPTIONS] [ARGS]\n\nOptions:\n -h, --help : Help\n -v, --version : Version\n -i INPUT, --input=INPUT : Input file, \"-\" for STDIN\n -s STRING, --string=STRING : Input SVG data string\n -f FOLDER, --folder=FOLDER : Input folder, optimize and rewrite all *.svg files\n -o OUTPUT, --output=OUTPUT : Output file or folder (by default the same as the input), \"-\" for STDOUT\n -p PRECISION, --precision=PRECISION : Set number of digits in the fractional part, overrides plugins params\n --config=CONFIG : Config file or JSON string to extend or replace default\n --disable=DISABLE : Disable plugin by name\n --enable=ENABLE : Enable plugin by name\n --datauri=DATAURI : Output as Data URI string (base64, URI encoded or unencoded)\n --multipass : Enable multipass\n --pretty : Make SVG pretty printed\n --indent=INDENT : Indent number when pretty printing SVGs\n -q, --quiet : Only output error messages, not regular status messages\n --show-plugins : Show available plugins and exit\n\nArguments:\n INPUT : Alias to --input\n OUTPUT : Alias to --output\n```\n\n* with files:\n\n $ svgo test.svg\n\n or:\n\n $ svgo test.svg test.min.svg\n\n* with STDIN / STDOUT:\n\n $ cat test.svg | svgo -i - -o - > test.min.svg\n\n* with folder\n\n $ svgo -f ../path/to/folder/with/svg/files\n\n or:\n\n $ svgo -f ../path/to/folder/with/svg/files -o ../path/to/folder/with/svg/output\n\n* with strings:\n\n $ svgo -s '<svg version=\"1.1\">test</svg>' -o test.min.svg\n\n or even with Data URI base64:\n\n $ svgo -s 'data:image/svg+xml;base64,…' -o test.min.svg\n\n* with SVGZ:\n\n from `.svgz` to `.svg`:\n\n $ gunzip -c test.svgz | svgo -i - -o test.min.svg\n\n from `.svg` to `.svgz`:\n\n $ svgo test.svg -o - | gzip -cfq9 > test.svgz\n\n* with GUI – [svgo-gui](https://github.com/svg/svgo-gui)\n* as a web app - [SVGOMG](https://jakearchibald.github.io/svgomg/)\n* as a Nodejs module – [examples](https://github.com/svg/svgo/tree/master/examples)\n* as a Grunt task – [grunt-svgmin](https://github.com/sindresorhus/grunt-svgmin)\n* as a Gulp task – [gulp-svgmin](https://github.com/ben-eb/gulp-svgmin)\n* as a Mimosa module – [mimosa-minify-svg](https://github.com/dbashford/mimosa-minify-svg)\n* as an OSX Folder Action – [svgo-osx-folder-action](https://github.com/svg/svgo-osx-folder-action)\n* as a webpack loader – [image-webpack-loader](https://github.com/tcoopman/image-webpack-loader)\n* as a Telegram Bot – [svgo_bot](https://github.com/maksugr/svgo_bot)\n* as a PostCSS plugin - [postcss-svgo](https://github.com/ben-eb/postcss-svgo)\n\n## License and copyrights\n\nThis software is released under the terms of the [MIT license](https://github.com/svg/svgo/blob/master/LICENSE).\n\nLogo by [Yegor Bolshakov](http://xizzzy.ru/).\n",
"readmeFilename": "README.md",
"_id": "svgo@0.7.2",
"dist": {
"shasum": "1602e6af6ad60b4d400927afc667f27ecd6ee040"
},
"_from": "svgo@^0.7.0",
"_resolved": "http://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz"
}