Sample HTTP streaming between Node.js and the Browser.
This is an example implementation of Node.js streams being utilized in both server and client side of the application. This is explained well in this blog post http://dry.ly/full-streams-ahead.
Install required npm modules.
npm install
Then install Browserify globally.
npm install -g browserify
Once installed go to /public
folder of this project and then create bundle.js
file.
browserify -r hyperquest > bundle.js
node server
Then go to browser http://localhost:7000/book to see the result.
The MIT License (MIT)