1.0.1 • Published 2 years ago

@boywithkeyboard/brotli v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

brotli

!NOTE
This library uses google/brotli's JavaScript implementation under the hood.

Setup

Deno

import { decode } from 'https://den.ooo/brotli'

Node.js

npm i @boywithkeyboard/brotli
import { decode } from '@boywithkeyboard/brotli'

Usage

const decodedBuffer = decode(encodedBuffer)
const decodedText = new TextDecoder().decode(buffer)
1.0.1

2 years ago

1.0.0

2 years ago