xdt-transform
Version:
Node.js module to transform XML files using XDT
24 lines (18 loc) • 658 B
Markdown
Node.js module to transform XML files using XDT
Install this node module using npm install xdt-transform --save-dev
```javascript
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!");
});
```
* quiet: set to `true` to hide the command line.