I've compiled random-access-idb directly and indirectly (via random-access-web) with Browserify. In both cases, there is an error, stating that block is undefined. I believe it's happening because the line var block in write() is removed during the bundling process. This is likely because the variable isn't assigned, and therefore the bundler removes the line. I suggest updating it to this: