svgo - :tiger: Node.js tool for optimizing SVG files

  •        9

SVG Optimizer is a Nodejs-based tool for optimizing SVG vector graphics files. SVG files, especially those exported from various editors, usually contain a lot of redundant and useless information. This can include editor metadata, comments, hidden elements, default or non-optimal values and other stuff that can be safely removed or converted without affecting the SVG rendering result.

https://github.com/svg/svgo

Dependencies:

coa : ~2.0.1
colors : ~1.1.2
css-select : ~1.3.0-rc0
css-select-base-adapter : ~0.1.0
css-tree : 1.0.0-alpha25
css-url-regex : ^1.1.0
csso : ^3.5.0
js-yaml : ~3.10.0
mkdirp : ~0.5.1
object.values : ^1.0.4
sax : ~1.2.4
stable : ~0.1.6
unquote : ~1.1.1
util.promisify : ~1.0.0

Tags
Implementation
License
Platform

   




Related Projects

gulp-svgmin - Minify SVG files with gulp.

  •    Javascript

Minify SVG with SVGO. If you have any difficulties with the output of this plugin, please use the SVGO tracker.

npm-build-boilerplate - A collection of packages that build a website using npm scripts.

  •    Javascript

A collection of packages that build a website using npm scripts. autoprefixer, browser-sync, eslint, imagemin-cli, node-sass, onchange, npm-run-all, postcss-cli, svgo, svg-sprite-generator, uglify-js.


SVG-NOW - SVG Optimizer for Adobe Illustrator

  •    Javascript

SVG NOW is an alternative SVG exporter for Adobe Illustrator currently under development. It is aimed at optimizing SVG files by post-processing the generated SVG code using SVGO. Creative Cloud members can install a beta version of this panel from the creative cloud add-ons website. It is free, open source (under MIT license) and will always be.

lepto - Automated image Editing, Optimization and Analysis via CLI and a web interface

  •    Javascript

The main purpose of this tool is to automate image optimization and analysis. This project is recent, so use it with care, I'm listening to all feedback (we can talk via twitter, don't follow me I never tweet). What is the difference with ImageMin? I think that if you deal with large applications, then go on ImageMin, but if you are building small static websites and you want to optimize your resources easily, then you could try lepto.

grunt-contrib-imagemin - Minify PNG and JPEG images.

  •    Javascript

Select optimization level between 0 and 7. The optimization level 0 enables a set of optimization operations that require minimal effort. There will be no changes to image attributes like bit depth or color type, and no recompression of existing IDAT datastreams. The optimization level 1 enables a single IDAT compression trial. The trial chosen is what OptiPNG thinks it’s probably the most effective. The optimization levels 2 and higher enable multiple IDAT compression trials; the higher the level, the more trials.

svgo - Go Language Library for SVG generation

  •    Go

The library generates SVG as defined by the Scalable Vector Graphics 1.1 Specification (http://www.w3.org/TR/SVG11/). Output goes to the specified io.Writer.

csstree - A tool set for working with CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations

  •    Javascript

CSSTree is a tool set to work with CSS, including fast detailed parser (string->AST), walker (AST traversal), generator (AST->string) and lexer (validation and matching) based on knowledge of spec and browser implementations. The main goal is to be efficient and W3C spec compliant, with focus on CSS analyzing and source-to-source transforming tasks. NOTE: The project is in alpha stage since some parts need further improvements, AST format and API are subjects to change. However it's stable enough and used by packages like CSSO (CSS minifier) and SVGO (SVG optimizer) in production.

svgo-gui - Node-WebKit based GUI for SVGO

  •    Javascript

This tool is based on obsolete version of svgo utility. Please use console tool or SVGOMG web service. Node-WebKit based GUI for SVGO.

imagemin-cli - Minify images

  •    Javascript

Issues with the output should be reported on the imagemin issue tracker.

react-simple-maps - An svg map component built with and for React

  •    Javascript

An svg map component built with and for React. It allows the creation of pure react svg maps. React-simple-maps aims to make working with svg maps in react easier. It handles tasks such as panning, zooming and simple rendering optimization, and takes advantage of parts of d3-geo and topojson-client instead of relying on the entire d3 library.

imagemin - Tense, nervous, minifying images?

  •    Javascript

Returns Promise<Object[]> in the format {data: Buffer, path: String}.Files to be optimized. See supported minimatch patterns.

gulp-imagemin - Minify PNG, JPEG, GIF and SVG images

  •    Javascript

Issues with the output should be reported on the imagemin issue tracker.🦄 Support my open-source work by buying this awesome video course: Learn to build apps and APIs with Node.js by Wes Bos Try his free JavaScript 30 course for a taste of what to expect & check out his ES6, React, Sublime courses.

pageres-cli - Capture website screenshots

  •    Javascript

Capture screenshots of websites in various resolutions. A good way to make sure your websites are responsive. It's speedy and generates 100 screenshots from 10 different websites in just over a minute. It can also be used to render SVG images.See pageres for the programmatic API and issues tracker.

svgomg - Web GUI for SVGO

  •    Javascript

SVGOMG is SVGO's Missing GUI, aiming to expose the majority, if not all the configuration options of SVGO. Running without offline capabilities means you get the latest version each time you hit refresh. The dist offline-first mobile serves the cached version first then checks for updates in the background.

svg-term-cli - Share terminal sessions via SVG and CSS

  •    Javascript

Replace GIF asciicast recordings where you can not use the asciinema player, e.g. README.md files on GitHub and the npm registry.Copyright 2017. Released under the MIT license.