Question: How to use Br decode.js ? #268

Closed
opened 2026-01-29 20:41:09 +00:00 by claunia · 1 comment
Owner

Originally created by @pencil240 on GitHub (Jan 2, 2019).

Is there a demo for the decode.js in the page : https://github.com/google/brotli/tree/master/js ?
Will the br's js version be the official version?

The other project for br decode has not been updated for many years, there were some issues still in open status: https://github.com/foliojs/brotli.js/issues/24

Originally created by @pencil240 on GitHub (Jan 2, 2019). Is there a demo for the decode.js in the page : https://github.com/google/brotli/tree/master/js ? Will the br's js version be the official version? The other project for br decode has not been updated for many years, there were some issues still in open status: https://github.com/foliojs/brotli.js/issues/24
Author
Owner

@eustas commented on GitHub (Jan 3, 2019):

Hello. Yes, this is "official". It is transpiled from Java decoder and will get all its features.
Some speedups are already in internal repo and not yet published; large window and dictionary support is also on the way to release =)

Usage example could be seen in test code: https://github.com/google/brotli/blob/master/js/decode_test.js

Also internally we have CLI wrapper for node.js, but it is not release quality, and mostly used for testing...

@eustas commented on GitHub (Jan 3, 2019): Hello. Yes, this is "official". It is transpiled from Java decoder and will get all its features. Some speedups are already in internal repo and not yet published; large window and dictionary support is also on the way to release =) Usage example could be seen in test code: https://github.com/google/brotli/blob/master/js/decode_test.js Also internally we have CLI wrapper for node.js, but it is not release quality, and mostly used for testing...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#268