# feedmix

> Merge RSS 2.0 feed(s) into a feed.

Latest version **1.0.0** (published 2016-05-30) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install feedmix
pnpm add feedmix
yarn add feedmix
bun add feedmix
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-05-30 |
| First published | 2015-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Kyo Nagashima |
| Maintainers | hail2u |
| Keywords | feed, rss |

## Links

- npm: https://www.npmjs.com/package/feedmix
- Repository: https://github.com/hail2u/node-feedmix
- Issues: https://github.com/hail2u/node-feedmix/issues
- npm.io page: https://npm.io/package/feedmix

## Dependencies (1)

- [xml2js](https://npm.io/package/xml2js.md) ^0.4.16

## Recent versions

- 1.0.0 (latest) — 2016-05-30
- 0.2.0 — 2015-02-21
- 0.1.1 — 2015-02-21
- 0.1.0 — 2015-02-21

## README

FeedMix
=======

Merge RSS 2.0 feed(s) into a feed.


INSTALL
-------

    $ npm install feedmix


USAGE
-----

    var feedmix = require('feedmix');
    var fs = require('fs');
    
    var a = fs.readFileSync('a.rss', utf8');
    var b = fs.readFileSync('b.rss', utf8');
    var c = fs.readFileSync('c.rss', utf8');
    var m = feedmix.merge([a, b, c], {
      trim: true
    });
    // do something with `m`
    console.log(feedmix.stringify(m, {
      xmldec: {
        version: '1.0',
        encoding: 'UTF-8'
      }
    }));

This merges `b.rss` and `c.rss` into `a.rss`. All items are sorted, and
`lastBuildDate` element will be updated.

Also, You can pass xml2js’s [parser options][1] to `merge()` and [builder
options][2] to `stringify()`.


LICENSE
-------

MIT: http://hail2u.mit-license.org/2015


[1]: https://github.com/Leonidas-from-XIV/node-xml2js#options
[2]: https://github.com/Leonidas-from-XIV/node-xml2js#options-for-the-builder-class

---
_Source: https://npm.io/package/feedmix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
