I'm working on the beginnings of a pure-javascript catdoc, based on this project. As I look at this code (which is totally excellent, by the way) I keep thinking that if it were a DLL with everything but the CLI options parser & file-reader, it would be easier to integrate into lots of languages. I could use emscripten to compile it to client-side javascript (like sweet client-side doc upload widgets), and write thin ffi wrappers for other languages (like nodejs, python, lua, ruby, etc.)
I'm working on the beginnings of a pure-javascript catdoc, based on this project. As I look at this code (which is totally excellent, by the way) I keep thinking that if it were a DLL with everything but the CLI options parser & file-reader, it would be easier to integrate into lots of languages. I could use emscripten to compile it to client-side javascript (like sweet client-side doc upload widgets), and write thin ffi wrappers for other languages (like nodejs, python, lua, ruby, etc.)