It would be interesting to be able to run Text-Buffer in browser environments. Unfortunately, it looks impossible right now, because multiple of its dependencies actually use native node modules, and don't offer js fallbacks (even inefficient fallbacks would be fine, really).