grunt-muxml

2.0.0 • Public • Published

grunt-muxml Build Status Travis Coverage Status

An XML parsing and formatting plugin for Grunt

Thin wrapper around muxml to make it a Grunt plugin.

Also available as a gulp plugin.

Install

$ npm install --save-dev grunt-muxml

Usage

'use strict';
module.exports = function (grunt) {
	grunt.initConfig({
		muxml: {
			dist: {
				files: [{
					expand: false,
					cwd: 'fixtures/',
					src: '*initial.xml',
					dest: 'tmp/'
				}],
				options: {
					strict: true
				}
			}
		}
	});

	grunt.loadNpmTasks('grunt-muxml');

	grunt.registerTask('default', [
		'muxml'
	]);
};

Options

See muxml's options, which are all supported.

License

MIT © t1st3

Package Sidebar

Install

npm i grunt-muxml

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

4.41 kB

Total Files

4

Last publish

Collaborators

  • t1st3