Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pencil240 opened this issue Jan 2, 2019 · 1 comment
Closed

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

pencil240 opened this issue Jan 2, 2019 · 1 comment

Comments

@pencil240
Copy link

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: foliojs/brotli.js#24

@eustas
Copy link
Collaborator

eustas commented 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 eustas closed this as completed May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants