internal/

directory
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT

Directories

Path Synopsis
Package cli implements the ogvs command-line interface.
Package cli implements the ogvs command-line interface.
Package collections provides SVG specification constants ported from SVGO's _collections.js.
Package collections provides SVG specification constants ported from SVGO's _collections.js.
Package core provides the SVG optimization pipeline.
Package core provides the SVG optimization pipeline.
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.
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.
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.
Package plugins imports all plugin sub-packages to trigger their init() registrations.
Package plugins imports all plugin sub-packages to trigger their init() registrations.
addattributestosvgelement
Package addattributestosvgelement implements the addAttributesToSVGElement SVGO plugin.
Package addattributestosvgelement implements the addAttributesToSVGElement SVGO plugin.
addclassestosvgelement
Package addclassestosvgelement implements the addClassesToSVGElement SVGO plugin.
Package addclassestosvgelement implements the addClassesToSVGElement SVGO plugin.
cleanupattrs
Package cleanupattrs implements the cleanupAttrs SVGO plugin.
Package cleanupattrs implements the cleanupAttrs SVGO plugin.
cleanupenablebackground
Package cleanupenablebackground implements the cleanupEnableBackground SVGO plugin.
Package cleanupenablebackground implements the cleanupEnableBackground SVGO plugin.
cleanupids
Package cleanupids implements the cleanupIds SVGO plugin.
Package cleanupids implements the cleanupIds SVGO plugin.
cleanuplistofvalues
Package cleanuplistofvalues implements the cleanupListOfValues SVGO plugin.
Package cleanuplistofvalues implements the cleanupListOfValues SVGO plugin.
cleanupnumericvalues
Package cleanupnumericvalues implements the cleanupNumericValues SVGO plugin.
Package cleanupnumericvalues implements the cleanupNumericValues SVGO plugin.
collapsegroups
Package collapsegroups implements the collapseGroups SVGO plugin.
Package collapsegroups implements the collapseGroups SVGO plugin.
convertcolors
Package convertcolors implements the convertColors SVGO plugin.
Package convertcolors implements the convertColors SVGO plugin.
convertellipsetocircle
Package convertellipsetocircle implements the convertEllipseToCircle SVGO plugin.
Package convertellipsetocircle implements the convertEllipseToCircle SVGO plugin.
convertonestopgradients
Package convertonestopgradients implements the convertOneStopGradients SVGO plugin.
Package convertonestopgradients implements the convertOneStopGradients SVGO plugin.
convertpathdata
Package convertpathdata implements the convertPathData SVGO plugin.
Package convertpathdata implements the convertPathData SVGO plugin.
convertshapetopath
Package convertshapetopath implements the convertShapeToPath SVGO plugin.
Package convertshapetopath implements the convertShapeToPath SVGO plugin.
convertstylettoattrs
Package convertstylettoattrs converts style attribute declarations to SVG presentation attributes.
Package convertstylettoattrs converts style attribute declarations to SVG presentation attributes.
converttransform
Package converttransform implements the convertTransform SVGO plugin.
Package converttransform implements the convertTransform SVGO plugin.
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.
mergepaths
Package mergepaths implements the mergePaths SVGO plugin.
Package mergepaths implements the mergePaths SVGO plugin.
mergestyles
Package mergestyles merges multiple <style> elements into one.
Package mergestyles merges multiple <style> elements into one.
minifystyles
Package minifystyles minifies <style> elements and style attributes using CSS minification.
Package minifystyles minifies <style> elements and style attributes using CSS minification.
moveelemsattrstogroup
Package moveelemsattrstogroup implements the moveElemsAttrsToGroup SVGO plugin.
Package moveelemsattrstogroup implements the moveElemsAttrsToGroup SVGO plugin.
movegroupattrstoelems
Package movegroupattrstoelems implements the moveGroupAttrsToElems SVGO plugin.
Package movegroupattrstoelems implements the moveGroupAttrsToElems SVGO plugin.
prefixids
Package prefixids implements the prefixIds SVGO plugin.
Package prefixids implements the prefixIds SVGO plugin.
removeattrs
Package removeattrs implements the removeAttrs SVGO plugin.
Package removeattrs implements the removeAttrs SVGO plugin.
removeattrsbyselector
Package removeattrsbyselector removes attributes from elements matching CSS selectors.
Package removeattrsbyselector removes attributes from elements matching CSS selectors.
removecomments
Package removecomments implements the removeComments SVGO plugin.
Package removecomments implements the removeComments SVGO plugin.
removedeprecatedattrs
Package removedeprecatedattrs implements the removeDeprecatedAttrs SVGO plugin.
Package removedeprecatedattrs implements the removeDeprecatedAttrs SVGO plugin.
removedesc
Package removedesc implements the removeDesc SVGO plugin.
Package removedesc implements the removeDesc SVGO plugin.
removedimensions
Package removedimensions implements the removeDimensions SVGO plugin.
Package removedimensions implements the removeDimensions SVGO plugin.
removedoctype
Package removedoctype implements the removeDoctype SVGO plugin.
Package removedoctype implements the removeDoctype SVGO plugin.
removeeditorsnsdata
Package removeeditorsnsdata implements the removeEditorsNSData SVGO plugin.
Package removeeditorsnsdata implements the removeEditorsNSData SVGO plugin.
removeelementsbyattr
Package removeelementsbyattr implements the removeElementsByAttr SVGO plugin.
Package removeelementsbyattr implements the removeElementsByAttr SVGO plugin.
removeemptyattrs
Package removeemptyattrs implements the removeEmptyAttrs SVGO plugin.
Package removeemptyattrs implements the removeEmptyAttrs SVGO plugin.
removeemptycontainers
Package removeemptycontainers implements the removeEmptyContainers SVGO plugin.
Package removeemptycontainers implements the removeEmptyContainers SVGO plugin.
removeemptytext
Package removeemptytext implements the removeEmptyText SVGO plugin.
Package removeemptytext implements the removeEmptyText SVGO plugin.
removehiddenelems
Package removehiddenelems implements the removeHiddenElems SVGO plugin.
Package removehiddenelems implements the removeHiddenElems SVGO plugin.
removemetadata
Package removemetadata implements the removeMetadata SVGO plugin.
Package removemetadata implements the removeMetadata SVGO plugin.
removenoninheritablegroupattrs
Package removenoninheritablegroupattrs implements the removeNonInheritableGroupAttrs SVGO plugin.
Package removenoninheritablegroupattrs implements the removeNonInheritableGroupAttrs SVGO plugin.
removeoffcanvaspaths
Package removeoffcanvaspaths implements the removeOffCanvasPaths SVGO plugin.
Package removeoffcanvaspaths implements the removeOffCanvasPaths SVGO plugin.
removerasterimages
Package removerasterimages implements the removeRasterImages SVGO plugin.
Package removerasterimages implements the removeRasterImages SVGO plugin.
removescripts
Package removescripts implements the removeScripts SVGO plugin.
Package removescripts implements the removeScripts SVGO plugin.
removestyleelement
Package removestyleelement implements the removeStyleElement SVGO plugin.
Package removestyleelement implements the removeStyleElement SVGO plugin.
removetitle
Package removetitle implements the removeTitle SVGO plugin.
Package removetitle implements the removeTitle SVGO plugin.
removeunknownsanddefaults
Package removeunknownsanddefaults implements the removeUnknownsAndDefaults SVGO plugin.
Package removeunknownsanddefaults implements the removeUnknownsAndDefaults SVGO plugin.
removeunusedns
Package removeunusedns implements the removeUnusedNS SVGO plugin.
Package removeunusedns implements the removeUnusedNS SVGO plugin.
removeuselessdefs
Package removeuselessdefs implements the removeUselessDefs SVGO plugin.
Package removeuselessdefs implements the removeUselessDefs SVGO plugin.
removeuselessstrokeandfill
Package removeuselessstrokeandfill implements the removeUselessStrokeAndFill SVGO plugin.
Package removeuselessstrokeandfill implements the removeUselessStrokeAndFill SVGO plugin.
removeviewbox
Package removeviewbox implements the removeViewBox SVGO plugin.
Package removeviewbox implements the removeViewBox SVGO plugin.
removexlink
Package removexlink implements the removeXlink SVGO plugin.
Package removexlink implements the removeXlink SVGO plugin.
removexmlns
Package removexmlns implements the removeXMLNS SVGO plugin.
Package removexmlns implements the removeXMLNS SVGO plugin.
removexmlprocinst
Package removexmlprocinst implements the removeXMLProcInst SVGO plugin.
Package removexmlprocinst implements the removeXMLProcInst SVGO plugin.
reusepaths
Package reusepaths implements the reusePaths SVGO plugin.
Package reusepaths implements the reusePaths SVGO plugin.
sortattrs
Package sortattrs implements the sortAttrs SVGO plugin.
Package sortattrs implements the sortAttrs SVGO plugin.
sortdefschildren
Package sortdefschildren implements the sortDefsChildren SVGO plugin.
Package sortdefschildren implements the sortDefsChildren SVGO plugin.
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.
fixture
Package fixture provides loading and parsing of SVGO test fixture files.
Package fixture provides loading and parsing of SVGO test fixture files.
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.
Package version provides the version constant for ogvs.
Package version provides the version constant for ogvs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL