/brotli

Brotli compression format in Go

Primary LanguageGoMIT LicenseMIT

brotli

ISC License GitHub downloads GoDoc Go Report Card GitHub go.mod Go version GitHub release (latest by date)

Brotli compression format library in Go:

This package is a brotli compressor and decompressor implemented in Go. It was translated from the reference implementation (https://github.com/google/brotli)

Command:

Usage: brotli [OPTION]... [FILE]
Compress or uncompress FILE (by default, compress FILE in-place).

  -c    write on standard output, keep original files unchanged
  -cores int
        number of cores to use for parallelization (default 1)
  -d    decompress; see also -c and -k
  -f    force overwrite of output file
  -h    print this help message
  -k    keep original files unchanged
  -s string
        use provided suffix on compressed files (default "br")

With no FILE, or when FILE is -, read standard input.

License

This project is licensed under the MIT License.

Copyright (c) 2020-2021 Pedro Albanese - ALBANESE Research Lab.