shtylman/node-browser-resolve — pull request #17 by amiuhle (2013-04-22 17:19:50+00:00)
Title: Chrome App sockets

I made an effort to get the MongoDB NodeJS drivers to run on Google Chrome Apps using browserify. To achieve that, I did the following:

* Updated `builtin/stream` with recent sources from NodeJS
* Added `util.deprecate`
* Removed `builtin/net` and added `require('net-chromeify')`
* Added `require('dns-chromeify')`
* Changed `builtin/process` to allow adding `process.binding` bundles, like so:

```javascript
require('process').registerBinding('tcp_wrap', require('tcp_wrap-chromeify'));
```

I didn't add the required projects to the `package.json` yet, because the plugins written by me aren't published yet.
You can see it in action here:
https://github.com/amiuhle/chrome-mongo-admin

Tests that were already there are passing, but I didn't add new ones yet. I wanted to make sure that you're willing to pull this stuff in, or if you think it makes more sense if i permanently fork this as `node-chrome-resolve` or something...