uri-stream

Stream contents from a URI

node-uri-stream

Stream contents from a URI. Basically a wrapper for node-get-uri.

$ npm install uri-stream
var fetch = require('uri-stream')
  , csso = require('csso')
 
fetch('file://users/jwerle/foo-site/public/style.css'))
.pipe(through(function (chunk) {
  this.emit('data', csso.justDoIt(String(chunk)));
}))
.pipe(stdout);

Basically everything node-get-uri supports.

MIT