@sesamecare-oss/xml-deep-merge
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

xml-deep-merge

Node CI

Deeply merge multiple XML files into one file. Originally used to merge a GCP repo configuration into a generated pom.xml for OpenAPI Java projects.

Usage

npx @sesamecare-oss/xml-deep-merge file1.xml file2.xml file3.xml -o merged.xml

In Maven, certain elements must only occur once. You can accomplish this via the -s argument (or -singleChildPath).

npx @sesamecare-oss/xml-deep-merge pom.xml deps.xml -o merged.xml -s project.dependencies -s project.build

This will combine the multiple instances of project.dependencies and project.build into a single node in the output.

/@sesamecare-oss/xml-deep-merge/

    Package Sidebar

    Install

    npm i @sesamecare-oss/xml-deep-merge

    Weekly Downloads

    18

    Version

    1.1.3

    License

    UNLICENSED

    Unpacked Size

    49.8 kB

    Total Files

    24

    Last publish

    Collaborators

    • djmax