es_compression 2.0.11 copy "es_compression: ^2.0.11" to clipboard
es_compression: ^2.0.11 copied to clipboard

Compression framework providing FFI implementations for Brotli, Lz4, Zstd (Zstandard) with ready-to-use prebuilt binaries for Win/Linux/Mac.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate es_compression

Use it

The package has the following executables:

$ escompress

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add es_compression

With Flutter:

 $ flutter pub add es_compression

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

dependencies:
  es_compression: ^2.0.11

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:es_compression/brotli.dart';
import 'package:es_compression/framework.dart';
import 'package:es_compression/framework_io.dart';
import 'package:es_compression/lz4.dart';
import 'package:es_compression/zstd.dart';
34
likes
130
pub points
83%
popularity

Publisher

verified publisherinstantiations.com

Compression framework providing FFI implementations for Brotli, Lz4, Zstd (Zstandard) with ready-to-use prebuilt binaries for Win/Linux/Mac.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, ffi, stack_trace, stream_channel

More

Packages that depend on es_compression