I don’t think there’s a way to use that library since it uses native Node modules, which can’t work in the browser. I’d recommend looking for a module that is either implemented in pure JS or uses WebAssembly to run native code.
3 Likes