web_minify 1.0.1 copy "web_minify: ^1.0.1" to clipboard
web_minify: ^1.0.1 copied to clipboard

HTML, CSS and JavaScript minifiers in pure Dart. One call minifies a whole page, inline style and script blocks included, with no external dependencies.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add web_minify

With Flutter:

 $ flutter pub add web_minify

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

dependencies:
  web_minify: ^1.0.1

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:web_minify/web_minify.dart';
1
likes
160
points
152
downloads

Documentation

API reference

Publisher

verified publishercomapps.be

Weekly Downloads

HTML, CSS and JavaScript minifiers in pure Dart. One call minifies a whole page, inline style and script blocks included, with no external dependencies.

Homepage
Repository (GitHub)
View/report issues

Topics

#minify #html #css #javascript #optimization

License

MIT (license)

More

Packages that depend on web_minify