mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
JavaScript encoder script #251
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 @SuperPat45 on GitHub (Jul 23, 2018).
Please add a encoder script in JavaScript.
I will need to compress a text/csv file before upload to save bandwidth on mobile devices
@eustas commented on GitHub (Jul 23, 2018):
Hello. Unfortunately we do not have time now to produce high-quality JavaScript encoder =(
But you can try to use
emscriptento compile c to JS.Even better - there is an NPM package that contains emscriptified brotli encoder: https://www.npmjs.com/package/brotli
@eustas commented on GitHub (Dec 15, 2021):
Will be resolved once we have pure-java encoder (== not soon).