# merge-sitemaps

> A simple CLI and npm package to merge sitemaps together.

Latest version **1.1.0** (published 2020-10-20) · MIT license · 0 weekly downloads

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

## Install

```sh
npm install merge-sitemaps
pnpm add merge-sitemaps
yarn add merge-sitemaps
bun add merge-sitemaps
```

Provides the command `merge-sitemaps`.

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-10-20 |
| First published | 2020-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Reece Dunham |
| Maintainers | rdil |
| Keywords | sitemap, merge, sitemaps, combine, web, rdil, rdilweb |

## Links

- npm: https://www.npmjs.com/package/merge-sitemaps
- Repository: https://github.com/rdilweb/merge-sitemaps
- Issues: https://github.com/rdilweb/merge-sitemaps/issues
- npm.io page: https://npm.io/package/merge-sitemaps

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^6.1.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-10-20
- 1.0.0 — 2020-10-20

## README

# merge-sitemaps

A simple CLI and npm package to merge sitemaps together.

## Usage

### With CLI

```bash
$ npx merge-sitemaps sitemap.xml subdir/other-sitemap.xml build/sitemap.xml
```

(With the CLI, argument 1 is the base sitemap, argument 2 is the secondary sitemap, and argument 3 is the destination for the output.)

### With API

```js
var mergeSitemaps = require("merge-sitemaps");

// note: the API doesn't actually do any work with files, it just does the string manipulation and related stuff
console.log(
  mergeSitemaps("base-xml-sitemap-as-string", "secondary-xml-sitemap-as-string")
);
```

## License

MIT. See the LICENSE file.

## Credits

- [Reece Dunham](https://rdil.rocks) - Author
- [Dowland Aiello](https://github.com/dowlandaiello) - Making it work

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