cat will read the contents of an url
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 outputcat'' console.log; // same as above
cat'' console.log; // cat also follows any redirectscat'' console.log; // and cat read httpscat'' console.log; // if a status code != 2xx is received it will// call the callback with an error.