Browserify transform for swig