xdt-transform

Node.js module to transform XML files using XDT

Usage no npm install needed!

<script type="module">
  import xdtTransform from 'https://cdn.skypack.dev/xdt-transform';
</script>

README

xdt-transform NPM version

Node.js module to transform XML files using XDT

Install this node module using npm install xdt-transform --save-dev

var T = require('xdt-transform');
var transformer = new T();
transformer.transform('[path-to-somewhere]\Web.config', 
    '[path-to-somewhere]\Web.Transform.config', 
    '[path-to-somewhere]\Web.config',
    {
        quiet: true
    }, 
    function() {
        console.log("Hello I'm a callback function!");
    });

Options

  • quiet: set to true to hide the command line.