gulp-postxml

0.2.4 • Public • Published

Gulp-postxml

It is a plugin for gulp that transforms xml and html with JS plugins using cheerio API.

Usage

Instalation

npm i gulp-postxml --save-dev

Gulp

var postxml = require('gulp-postxml');
var postxmlPlugins = [
      require('postxml-plugin')
   ];
var cheerioOptions = {};
 
gulp.task('html', function () {
   gulp.src('index.htm')
      .pipe(postxml(postxmlPlugins, cheerioOptions))
      .pipe(gulp.dest('out'));
})

Package Sidebar

Install

npm i gulp-postxml

Weekly Downloads

0

Version

0.2.4

License

MIT

Last publish

Collaborators

  • yepninja