brotli-max
Compress w/ maximum brotli settings
brotli-max <input> [output]
Parse schema file
Positionals:
input Input file
output Output file, defaults to input + '.br'
Options:
--help Show help [boolean]
--version Show version number
In JS:
const max = await await
Note that there is no streaming API because knowing the entire file size is one of the ways we maximize the compression efficiency of Brotli.