mirror of
https://github.com/google/brotli.git
synced 2026-09-23 07:05:31 +00:00
Question: How to use Br decode.js ? #268
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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...