brotli-max

0.1.4 • Public • Published

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 = require('brotli-max')
 
await max(inputFilename, outputFilename)
await max(inputBuffer, outputFilename)

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.

Readme

Keywords

none

Package Sidebar

Install

npm i brotli-max

Weekly Downloads

1

Version

0.1.4

License

(Apache-2.0 AND MIT)

Unpacked Size

4.89 kB

Total Files

6

Last publish

Collaborators

  • mikeal