es_compression_silicon_support 2.0.11 es_compression_silicon_support: ^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_silicon_support
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_silicon_support
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
es_compression_silicon_support: ^2.0.11
Alternatively, your editor might support dart 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_silicon_support/brotli.dart';
import 'package:es_compression_silicon_support/framework.dart';
import 'package:es_compression_silicon_support/framework_io.dart';
import 'package:es_compression_silicon_support/lz4.dart';
import 'package:es_compression_silicon_support/zstd.dart';