cat will read the contents of an url

npm install cat
3 downloads in the last week
23 downloads in the last month


cat will read the contents of an url. it's available through npm

npm install cat

it will read your files

var cat = require('cat');

cat('myfile.txt', console.log);             // reads the file as utf-8 and returns it output
cat('file://myfile.txt', console.log);      // same as above

and your http / https urls

cat('', console.log);      // cat also follows any redirects
cat('', console.log);     // and cat read https
cat('', console.log); // if a status code != 2xx is received it will 
                                            // call the callback with an error.
npm loves you