gulp-xml2json

0.1.5 • Public • Published

gulp-xml2json

Build Status

gulp plugin convert xml to json

Install

Install with npm

npm install --save-dev gulp-xml2json

Example

var gulp = require('gulp');
var xml2json = require('gulp-xml2json');
var rename = require('gulp-rename');
 
gulp.task('default', function () {
    gulp.src('src/**/*.xml')
        .pipe(xml2json())
        .pipe(rename({extname: '.json'}))
        .pipe(gulp.dest('dist'));
});

API

xml2json()

License

MIT @chilijung

Readme

Keywords

Package Sidebar

Install

npm i gulp-xml2json

Weekly Downloads

168

Version

0.1.5

License

MIT

Last publish

Collaborators

  • chilijung