> I am packaging this, as I need it for another project. I will provide
> both the node version, and a browserified version.
So, this turned out to be more complicated. To have a properly working
browser version, it depends (transitively) on other 3 unpackaged JS
libraries. At the same time, the project I am working on accepted my
suggestion to drop this dependency. So I am withdrawing my ITP.
If anybody wants to continue, I have left and almost finished package at
Martín Ferrari (Tincho)