svgo 1.2.0 copy "svgo: ^1.2.0" to clipboard
svgo: ^1.2.0 copied to clipboard

A Dart library for optimizing SVG files. Port of SVGO (Node.js SVG Optimizer).

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add svgo

With Flutter:

 $ flutter pub add svgo

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  svgo: ^1.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:svgo/svgo.dart';
1
likes
140
points
139
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library for optimizing SVG files. Port of SVGO (Node.js SVG Optimizer).

Repository (GitHub)
View/report issues

Topics

#svg #optimization #parser #xml #graphics

Documentation

API reference

License

MIT (license)

Dependencies

collection, csslib, path, xml

More

Packages that depend on svgo