Stream contents from a URI
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json
test.css
test.js

README.md

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