Ok,
Maybe I am a bit late, and it is not a sharp answer, but ..
Although JPM is using npm and nodejs to build add-ons, and that we can use npm module in the addon, it doesn't mean that it will work.
As the add-on will run in firefox, then it won't have access to nodejs... this mean that all the modules that refer to a nodejs functionality won't work. And this is hard to know if any package do...
In your case, the module you want to use is obviously using some nodejs functionality, and it would be hard to track and replace them all.
I guess your best option would be to check the code of the
tumblr.com module, and rewritte it with firefox add-on functionality (replacing nodejs ones, by firefox ones). Like dealing with files with
FileUtils.jsm, and dealing with request with the
high-level API request, or just
XMLHttpRequest.
Or am I totally wrong and JPM add-on have access to nodejs functionality (like 'fs' and 'http')?? But I really doubt it.
Then again, I might be a bit outside the scope of your question...
Vincent