t1st3 / gulp-muxml

An XML parsing and formatting plugin for gulp
MIT License
2 stars 0 forks source link
formatter gulp gulp-plugin parser stream xml

gulp-muxml Build Status Travis Coverage Status

An XML parsing and formatting plugin for gulp

Thin wrapper around muxml to make it a gulp plugin.

Also available as a Grunt plugin.

Install

$ npm install --save gulp-muxml

Usage

const gulp = require('gulp');
const muxml = require('gulp-muxml');

gulp.task('default', () => {
    return gulp.src('src/*')
        .pipe(muxml({strict: true})
        .pipe(gulp.dest('dist'));
});

API

Supports streaming mode.

muxml(options)

options

See muxml's options, which are all supported.

Related

License

MIT © t1st3