Transform stream to remove require calls from inside a
Useful for modules looking for browserify
compatability while using the
try/catch optional dependency trick.
remove-catch-require is just a browserify transform stream, so you can use it
browserify -t remove-catch-require
Or by including it in your project's
You can also find an AST transform that plays nice with
MIT. See LICENSE.md for details.