Proxyquire in Node and Proxyquireify in the browser with no code changes
Browse cluster: Cluster 193 →Proxyquire-universal is a Browserify plugin that enables developers to use the same test code for both Node.js and browser environments by automatically replacing proxyquire with proxyquireify during bundling. The project allows developers to write tests once using proxyquire's API for Node.js, then build browser test bundles without modifying code. It's built as a wrapper around the existing proxyquire and proxyquireify libraries, with the plugin handling the integration automatically during the Browserify build process. The project is maintained by Ben Drucker and licensed under MIT.