Skip to content

A plugin for gulp that transforms xml and html with JS plugins

Notifications You must be signed in to change notification settings

postxml/gulp-postxml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'));
})

About

A plugin for gulp that transforms xml and html with JS plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published