ForbesLindesay/browserify-middleware — pull request #4 by mhart (2013-04-16 04:42:06+00:00)
Title: Return env if it already existings

Saves complicated workarounds like:
```javascript
var mode = process.env.NODE_ENV || 'development'
var env = (mode === 'production' || mode === 'development') ?
browserify.settings[mode] : browserify.settings.env(mode)
env('transform', ['coffeeify'])
```
Now can just do:
```javascript
var env = browserify.settings.env(process.env.NODE_ENV || 'development')
env('transform', ['coffeeify'])
```