browserify-only-requires
Browserify only the require() dependencies of a file, with external references to them.
Install
npm install --global filesearch
This installs for command line usage.
Use
browserify-only-requires myNodeFile.js > myNodeFileRequiresBrowserified.js