This package has been deprecated

Author message:

This package is deprecated and should no longer be used.

merge-sitemaps

1.1.0 • Public • Published

merge-sitemaps

A simple CLI and npm package to merge sitemaps together.

Usage

With CLI

$ 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

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

Package Sidebar

Install

npm i merge-sitemaps

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

5.61 kB

Total Files

7

Last publish

Collaborators

  • rdil