uri-stream

Stream contents from a URI

npm install uri-stream
4 downloads in the last week
4 downloads in the last month

node-uri-stream

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

install

$ npm install uri-stream

usage

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);

support

Basically everything node-get-uri supports.

license

MIT

npm loves you