https://github.com/elsehow/kefir-get
GET requests as a kefir stream. in node + the browser!
https://github.com/elsehow/kefir-get
Last synced: about 1 year ago
JSON representation
GET requests as a kefir stream. in node + the browser!
- Host: GitHub
- URL: https://github.com/elsehow/kefir-get
- Owner: elsehow
- Created: 2015-10-10T08:30:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-12T18:53:05.000Z (over 10 years ago)
- Last Synced: 2025-03-22T20:18:16.381Z (about 1 year ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kefir-get
GET requests as kefir stream, in node and the browser
## installation
`npm install kefir-get`
## usage
```javascript
var KefirGet = require('kefir-get')
KefirGet('https://en.wikipedia.org/wiki/Special:RecentChanges')
.map(parseHTML)
.map(articles)
```
## API
### KefirGet(url)
returns a stream of responses, or an error. stream ends after a single value.