Note
This library uses google/brotli's JavaScript implementation under the hood.
import { decode } from 'https://den.ooo/brotli'
npm i @boywithkeyboard/brotli
import { decode } from '@boywithkeyboard/brotli'
const decodedBuffer = decode(encodedBuffer)
const decodedText = new TextDecoder().decode(buffer)