Any chance that a pure JS implementation will be developed?
There's a https://github.com/kig/zstd-emscripten port, but it looks like unmaintained.
Indeed, this version appears unmaintained.
We are welcoming any new JS port (or binding).
@Cyan4973 Two JS bingings already exist, it would be great to have a pure JS port.
It's not the same as downloading a pure Javascript source code implementing zstd,
but for information, this blog entry explains how to create zstd for browser using emscripten :
http://dev.classmethod.jp/client-side/javascript/emscripten-zstandard-on-browser/
Hello, I wrote above blog entry, and creating a new zstd binding powered by Emscripten (pure-js).
This binding work on both Node.js and Browser.
Browser example:
Nice work @yoshihitoh !
I guess @yoshihitoh port, now also referenced on Zstandard homepage, is a nice answer to this request.
Some work along these lines was done recently for ITK.
xref: https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets/pull/25
Most helpful comment
Hello, I wrote above blog entry, and creating a new zstd binding powered by Emscripten (pure-js).
This binding work on both Node.js and Browser.
Browser example: