Convenience wrapper for performing AST transformations with browserify transform streams. Note that it doesn't handle source maps nicely, though pull requests are welcome!
transform is a function that takes a filename and returns a function,
var replace =var ast =var path =moduleexports =
Note that you can return a falsey value instead of a function to bail the stream early and avoid the parse/deparse overhead. Here's an example of using the above with browserify:
var browserify =var example =var fs =
MIT. See LICENSE.md for details.