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

Command-line interface for SVGO - a tool for optimizing SVG files. Port of the popular Node.js SVGO optimizer.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate svgo_cli

Use it

The package has the following executables:

$ svgo

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add svgo_cli

With Flutter:

 $ flutter pub add svgo_cli

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

dependencies:
  svgo_cli: ^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_cli/svgo_cli.dart';
0
likes
160
points
136
downloads

Publisher

unverified uploader

Weekly Downloads

Command-line interface for SVGO - a tool for optimizing SVG files. Port of the popular Node.js SVGO optimizer.

Repository (GitHub)
View/report issues

Topics

#svg #cli #optimization #command-line #tools

Documentation

API reference

License

MIT (license)

Dependencies

args, glob, path, svgo, yaml

More

Packages that depend on svgo_cli