node-xdt
Version:
Node.js module to transform Web.config(XML) using xdt(Microsoft Xml Document Transformation) — Edit
23 lines (17 loc) • 370 B
Markdown
Node.js module to transform Web.config(XML) using xdt(Microsoft Xml Document Transformation)
```
npm install node-xdt --save
```
```
var xdt = require('node-xdt');
var options = {
src: '{path}/Web.config',
dest: '{outpath}/Web.config',
transform:'{path}/Web.Release.config',
useMono: true
};
xdt(options,function(error){
//....
});
```