@boywithkeyboard/brotli
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @boywithkeyboard/brotli

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

313 kB

Total Files

6

Last publish

Collaborators

  • boywithkeyboard