node-chromify is built on top of browserify, which allows node modules to be converted into a format that can be run in a browser. Browsers can't normally created TCP listeners, but Chrome Apps can in Canary with the experimental extension APIs flag enabled.
Google's Paul Kinlan created a net-browserify module which wraps the Chrome API calls to the node.js "net" package. This gets us quite a bit further. We've patched a few things on this to help us out.
Read full article from Node JS in Chrome - Iced Dev
No comments:
Post a Comment