uri-stream
Stream contents from a URI
Last updated 7 years ago by werle .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install uri-stream 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.2                                ...           latest (7 years ago)

2 Versions

  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |