https://github.com/t1st3/grunt-muxml
An XML parsing and formatting plugin for Grunt
https://github.com/t1st3/grunt-muxml
formatter grunt grunt-plugin parser stream xml
Last synced: 11 months ago
JSON representation
An XML parsing and formatting plugin for Grunt
- Host: GitHub
- URL: https://github.com/t1st3/grunt-muxml
- Owner: t1st3
- License: mit
- Created: 2016-08-06T12:02:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T09:19:32.000Z (about 6 years ago)
- Last Synced: 2025-07-07T12:18:47.459Z (12 months ago)
- Topics: formatter, grunt, grunt-plugin, parser, stream, xml
- Language: JavaScript
- Size: 75.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# grunt-muxml [](https://travis-ci.org/t1st3/grunt-muxml) [](https://codecov.io/gh/t1st3/grunt-muxml?branch=master)
> An XML parsing and formatting plugin for [`Grunt`](http://gruntjs.com/)
Thin wrapper around [`muxml`](https://github.com/t1st3/muxml) to make it a Grunt plugin.
Also available as a [gulp plugin](https://github.com/t1st3/gulp-muxml).
## Install
```
$ npm install --save-dev grunt-muxml
```
## Usage
```js
'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](https://github.com/t1st3/muxml#options), which are all supported.
## Related
* [muxml](https://github.com/t1st3/muxml) | API for muxml
* [muxml-cli](https://github.com/t1st3/muxml-cli) | CLI for muxml
* [gulp-muxml](https://github.com/t1st3/gulp-muxml) | muxml as a [`gulp`](http://gulpjs.com/) plugin
## License
MIT © [t1st3](https://t1st3.com)