← All repos

proxyquire-universal

Proxyquire in Node and Proxyquireify in the browser with no code changes

Browse cluster: Cluster 193
80commits
5contributors
1languages

Tech stack & purpose

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.

Languages

JavaScript
100.0%

Contributors