Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibauts/node-url-stream
Transforms a stream of URLs into a stream of their body content
https://github.com/thibauts/node-url-stream
Last synced: 21 days ago
JSON representation
Transforms a stream of URLs into a stream of their body content
- Host: GitHub
- URL: https://github.com/thibauts/node-url-stream
- Owner: thibauts
- Created: 2014-05-14T13:50:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-26T21:31:21.000Z (almost 10 years ago)
- Last Synced: 2024-11-20T18:15:37.089Z (about 1 month ago)
- Language: JavaScript
- Size: 111 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
url-stream
==========
### Transforms a stream of URLs into a stream of their body contentTakes a stream of URLs separated by newlines as input, and outputs the corresponding body contents.
Installation
------------``` bash
$ npm install url-stream
```Usage
-----``` javascript
var urlStream = require('url-stream');var transform = urlStream.createStream();
transform.on('error', function(err) {
console.error(err);
});process.stdin.pipe(transform).pipe(process.stdout);
```