node package manager


co wrapper for feedparser package.


co wrapper for feedparser package.

const co         = require('co')
const feedParser = require('co-feedparser')
co(function*() {
    try {
        const meta = yield feedParser('')
        const articles = meta.articles
    catch (error) {

Uses feedparser on the given stream and fetches all articles at once.

Returns feedparser's meta data with an additional property articles.

  • stream - A readable stream from which feedparser will read its data.

  • uri - A string can also be given instead of a stream which is a shortcut for request(uri).

  • options - Options used by feedparser.

  • options.requestOptions - When passing a uri instead of a stream, these options will be passed to request(uri, options).

$ npm install co-feedparser

Node 4.0.0 or newer