Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ogvs
command
Package main is the entry point for the ogvs CLI tool.
|
Package main is the entry point for the ogvs CLI tool. |
|
internal
|
|
|
cli
Package cli implements the ogvs command-line interface.
|
Package cli implements the ogvs command-line interface. |
|
collections
Package collections provides SVG specification constants ported from SVGO's _collections.js.
|
Package collections provides SVG specification constants ported from SVGO's _collections.js. |
|
core
Package core provides the SVG optimization pipeline.
|
Package core provides the SVG optimization pipeline. |
|
css
Package css provides CSS parsing, cascading, specificity, and selector matching for SVG optimization, ported from SVGO's lib/style.js.
|
Package css provides CSS parsing, cascading, specificity, and selector matching for SVG optimization, ported from SVGO's lib/style.js. |
|
geom/path
Package path provides SVG path data parsing and stringification, ported from SVGO's lib/path.js.
|
Package path provides SVG path data parsing and stringification, ported from SVGO's lib/path.js. |
|
geom/transform
Package transform provides SVG transform parsing, matrix operations, and decomposition, ported from SVGO's plugins/_transforms.js.
|
Package transform provides SVG transform parsing, matrix operations, and decomposition, ported from SVGO's plugins/_transforms.js. |
|
plugin
Package plugin provides the plugin interface, registry, preset system, and execution engine for the SVG optimization pipeline.
|
Package plugin provides the plugin interface, registry, preset system, and execution engine for the SVG optimization pipeline. |
|
plugins
Package plugins imports all plugin sub-packages to trigger their init() registrations.
|
Package plugins imports all plugin sub-packages to trigger their init() registrations. |
|
plugins/addattributestosvgelement
Package addattributestosvgelement implements the addAttributesToSVGElement SVGO plugin.
|
Package addattributestosvgelement implements the addAttributesToSVGElement SVGO plugin. |
|
plugins/addclassestosvgelement
Package addclassestosvgelement implements the addClassesToSVGElement SVGO plugin.
|
Package addclassestosvgelement implements the addClassesToSVGElement SVGO plugin. |
|
plugins/cleanupattrs
Package cleanupattrs implements the cleanupAttrs SVGO plugin.
|
Package cleanupattrs implements the cleanupAttrs SVGO plugin. |
|
plugins/cleanupenablebackground
Package cleanupenablebackground implements the cleanupEnableBackground SVGO plugin.
|
Package cleanupenablebackground implements the cleanupEnableBackground SVGO plugin. |
|
plugins/cleanupids
Package cleanupids implements the cleanupIds SVGO plugin.
|
Package cleanupids implements the cleanupIds SVGO plugin. |
|
plugins/cleanuplistofvalues
Package cleanuplistofvalues implements the cleanupListOfValues SVGO plugin.
|
Package cleanuplistofvalues implements the cleanupListOfValues SVGO plugin. |
|
plugins/cleanupnumericvalues
Package cleanupnumericvalues implements the cleanupNumericValues SVGO plugin.
|
Package cleanupnumericvalues implements the cleanupNumericValues SVGO plugin. |
|
plugins/collapsegroups
Package collapsegroups implements the collapseGroups SVGO plugin.
|
Package collapsegroups implements the collapseGroups SVGO plugin. |
|
plugins/convertcolors
Package convertcolors implements the convertColors SVGO plugin.
|
Package convertcolors implements the convertColors SVGO plugin. |
|
plugins/convertellipsetocircle
Package convertellipsetocircle implements the convertEllipseToCircle SVGO plugin.
|
Package convertellipsetocircle implements the convertEllipseToCircle SVGO plugin. |
|
plugins/convertonestopgradients
Package convertonestopgradients implements the convertOneStopGradients SVGO plugin.
|
Package convertonestopgradients implements the convertOneStopGradients SVGO plugin. |
|
plugins/convertpathdata
Package convertpathdata implements the convertPathData SVGO plugin.
|
Package convertpathdata implements the convertPathData SVGO plugin. |
|
plugins/convertshapetopath
Package convertshapetopath implements the convertShapeToPath SVGO plugin.
|
Package convertshapetopath implements the convertShapeToPath SVGO plugin. |
|
plugins/convertstylettoattrs
Package convertstylettoattrs converts style attribute declarations to SVG presentation attributes.
|
Package convertstylettoattrs converts style attribute declarations to SVG presentation attributes. |
|
plugins/converttransform
Package converttransform implements the convertTransform SVGO plugin.
|
Package converttransform implements the convertTransform SVGO plugin. |
|
plugins/inlinestyles
Package inlinestyles inlines CSS rules from <style> elements into inline style attributes, ported from SVGO's inlineStyles.js.
|
Package inlinestyles inlines CSS rules from <style> elements into inline style attributes, ported from SVGO's inlineStyles.js. |
|
plugins/mergepaths
Package mergepaths implements the mergePaths SVGO plugin.
|
Package mergepaths implements the mergePaths SVGO plugin. |
|
plugins/mergestyles
Package mergestyles merges multiple <style> elements into one.
|
Package mergestyles merges multiple <style> elements into one. |
|
plugins/minifystyles
Package minifystyles minifies <style> elements and style attributes using CSS minification.
|
Package minifystyles minifies <style> elements and style attributes using CSS minification. |
|
plugins/moveelemsattrstogroup
Package moveelemsattrstogroup implements the moveElemsAttrsToGroup SVGO plugin.
|
Package moveelemsattrstogroup implements the moveElemsAttrsToGroup SVGO plugin. |
|
plugins/movegroupattrstoelems
Package movegroupattrstoelems implements the moveGroupAttrsToElems SVGO plugin.
|
Package movegroupattrstoelems implements the moveGroupAttrsToElems SVGO plugin. |
|
plugins/prefixids
Package prefixids implements the prefixIds SVGO plugin.
|
Package prefixids implements the prefixIds SVGO plugin. |
|
plugins/removeattrs
Package removeattrs implements the removeAttrs SVGO plugin.
|
Package removeattrs implements the removeAttrs SVGO plugin. |
|
plugins/removeattrsbyselector
Package removeattrsbyselector removes attributes from elements matching CSS selectors.
|
Package removeattrsbyselector removes attributes from elements matching CSS selectors. |
|
plugins/removecomments
Package removecomments implements the removeComments SVGO plugin.
|
Package removecomments implements the removeComments SVGO plugin. |
|
plugins/removedeprecatedattrs
Package removedeprecatedattrs implements the removeDeprecatedAttrs SVGO plugin.
|
Package removedeprecatedattrs implements the removeDeprecatedAttrs SVGO plugin. |
|
plugins/removedesc
Package removedesc implements the removeDesc SVGO plugin.
|
Package removedesc implements the removeDesc SVGO plugin. |
|
plugins/removedimensions
Package removedimensions implements the removeDimensions SVGO plugin.
|
Package removedimensions implements the removeDimensions SVGO plugin. |
|
plugins/removedoctype
Package removedoctype implements the removeDoctype SVGO plugin.
|
Package removedoctype implements the removeDoctype SVGO plugin. |
|
plugins/removeeditorsnsdata
Package removeeditorsnsdata implements the removeEditorsNSData SVGO plugin.
|
Package removeeditorsnsdata implements the removeEditorsNSData SVGO plugin. |
|
plugins/removeelementsbyattr
Package removeelementsbyattr implements the removeElementsByAttr SVGO plugin.
|
Package removeelementsbyattr implements the removeElementsByAttr SVGO plugin. |
|
plugins/removeemptyattrs
Package removeemptyattrs implements the removeEmptyAttrs SVGO plugin.
|
Package removeemptyattrs implements the removeEmptyAttrs SVGO plugin. |
|
plugins/removeemptycontainers
Package removeemptycontainers implements the removeEmptyContainers SVGO plugin.
|
Package removeemptycontainers implements the removeEmptyContainers SVGO plugin. |
|
plugins/removeemptytext
Package removeemptytext implements the removeEmptyText SVGO plugin.
|
Package removeemptytext implements the removeEmptyText SVGO plugin. |
|
plugins/removehiddenelems
Package removehiddenelems implements the removeHiddenElems SVGO plugin.
|
Package removehiddenelems implements the removeHiddenElems SVGO plugin. |
|
plugins/removemetadata
Package removemetadata implements the removeMetadata SVGO plugin.
|
Package removemetadata implements the removeMetadata SVGO plugin. |
|
plugins/removenoninheritablegroupattrs
Package removenoninheritablegroupattrs implements the removeNonInheritableGroupAttrs SVGO plugin.
|
Package removenoninheritablegroupattrs implements the removeNonInheritableGroupAttrs SVGO plugin. |
|
plugins/removeoffcanvaspaths
Package removeoffcanvaspaths implements the removeOffCanvasPaths SVGO plugin.
|
Package removeoffcanvaspaths implements the removeOffCanvasPaths SVGO plugin. |
|
plugins/removerasterimages
Package removerasterimages implements the removeRasterImages SVGO plugin.
|
Package removerasterimages implements the removeRasterImages SVGO plugin. |
|
plugins/removescripts
Package removescripts implements the removeScripts SVGO plugin.
|
Package removescripts implements the removeScripts SVGO plugin. |
|
plugins/removestyleelement
Package removestyleelement implements the removeStyleElement SVGO plugin.
|
Package removestyleelement implements the removeStyleElement SVGO plugin. |
|
plugins/removetitle
Package removetitle implements the removeTitle SVGO plugin.
|
Package removetitle implements the removeTitle SVGO plugin. |
|
plugins/removeunknownsanddefaults
Package removeunknownsanddefaults implements the removeUnknownsAndDefaults SVGO plugin.
|
Package removeunknownsanddefaults implements the removeUnknownsAndDefaults SVGO plugin. |
|
plugins/removeunusedns
Package removeunusedns implements the removeUnusedNS SVGO plugin.
|
Package removeunusedns implements the removeUnusedNS SVGO plugin. |
|
plugins/removeuselessdefs
Package removeuselessdefs implements the removeUselessDefs SVGO plugin.
|
Package removeuselessdefs implements the removeUselessDefs SVGO plugin. |
|
plugins/removeuselessstrokeandfill
Package removeuselessstrokeandfill implements the removeUselessStrokeAndFill SVGO plugin.
|
Package removeuselessstrokeandfill implements the removeUselessStrokeAndFill SVGO plugin. |
|
plugins/removeviewbox
Package removeviewbox implements the removeViewBox SVGO plugin.
|
Package removeviewbox implements the removeViewBox SVGO plugin. |
|
plugins/removexlink
Package removexlink implements the removeXlink SVGO plugin.
|
Package removexlink implements the removeXlink SVGO plugin. |
|
plugins/removexmlns
Package removexmlns implements the removeXMLNS SVGO plugin.
|
Package removexmlns implements the removeXMLNS SVGO plugin. |
|
plugins/removexmlprocinst
Package removexmlprocinst implements the removeXMLProcInst SVGO plugin.
|
Package removexmlprocinst implements the removeXMLProcInst SVGO plugin. |
|
plugins/reusepaths
Package reusepaths implements the reusePaths SVGO plugin.
|
Package reusepaths implements the reusePaths SVGO plugin. |
|
plugins/sortattrs
Package sortattrs implements the sortAttrs SVGO plugin.
|
Package sortattrs implements the sortAttrs SVGO plugin. |
|
plugins/sortdefschildren
Package sortdefschildren implements the sortDefsChildren SVGO plugin.
|
Package sortdefschildren implements the sortDefsChildren SVGO plugin. |
|
svgast
Package svgast provides the XAST (XML Abstract Syntax Tree) data model, parser, visitor, and stringifier for SVG documents.
|
Package svgast provides the XAST (XML Abstract Syntax Tree) data model, parser, visitor, and stringifier for SVG documents. |
|
testkit/assert
Package assert provides assertion helpers for comparing SVG outputs against SVGO test fixture expectations.
|
Package assert provides assertion helpers for comparing SVG outputs against SVGO test fixture expectations. |
|
testkit/fixture
Package fixture provides loading and parsing of SVGO test fixture files.
|
Package fixture provides loading and parsing of SVGO test fixture files. |
|
tools
Package tools provides numeric and string utility functions ported from SVGO's lib/svgo/tools.js.
|
Package tools provides numeric and string utility functions ported from SVGO's lib/svgo/tools.js. |
|
version
Package version provides the version constant for ogvs.
|
Package version provides the version constant for ogvs. |
Click to show internal directories.
Click to hide internal directories.