# grunt-xmllint

> Grunt plugin for running xmllint.

Latest version **1.0.0** (published 2015-10-23) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install grunt-xmllint
pnpm add grunt-xmllint
yarn add grunt-xmllint
bun add grunt-xmllint
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-10-23 |
| First published | 2014-09-15 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Andreas Lappe |
| Maintainers | nd |
| Keywords | gruntplugin, xml, xmllint, linting, ci, continous-integration |

## Links

- npm: https://www.npmjs.com/package/grunt-xmllint
- Repository: https://github.com/alappe/grunt-xmllint
- Homepage: https://github.com/alappe/grunt-xmllint#readme
- Issues: https://github.com/alappe/grunt-xmllint/issues
- npm.io page: https://npm.io/package/grunt-xmllint

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-10-23
- 0.1.1 — 2014-09-15
- 0.1.0 — 2014-09-15

## README

# grunt-xmllint

> Grunt plugin for running [xmllint](http://xmlsoft.org/).

_This plugin is developed for Grunt `0.4.0` and is not tested for backward compatibility with Grunt `0.3.x`._

## Getting Started

1. Install this grunt plugin with the follwing command:

```shell
npm install grunt-xmllint --save-dev
```

2. [Install xmllint](http://xmlsoft.org/)

3. Add this to your project's `Gruntfile.js`:

```js
grunt.loadNpmTasks('grunt-xmllint');
```

## xmllint task

_Run this task with the `grunt xmllint` command._

_This task is a [multi task][] so any targets, files and options should be specified according to the [multi task][] documentation._

[multi task]: https://github.com/gruntjs/grunt/wiki/Configuring-tasks

### Usage Example

```js
xmllint: {
  application: {
	  dir: 'application'
	},
	options: {
		suffixes: [
			'xml',
			'xlf'
		]
	}
}
```

### Target Properties
#### dir
Type: `String`

The file or directory where xmllint should search for files.

### Options
#### bin
Type: `String`
Default: `'xmllint'`

The binary name if it is in your PATH or the full path if not.

#### suffixes
Type: `Array`
Default: `['xml']`

#### verbose
Type: `Boolean`
Default: `false`

All output is surpressed (redirected to `/dev/null`) by default.

#### maxBuffer
Type: `Number`
Default: `200*1024`

Override the maxBuffer-Size of nodejs's exec() function if you expect a long output on stdout.

---
_Source: https://npm.io/package/grunt-xmllint · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
