Author here, happy to answer any questions. The open source code here works server side, in the browser client or in a Worker thread. Hope you find it useful!