# xml-ui5

> Check xml files by di-code-validation.xml

Latest version **1.0.2** (published 2023-04-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install xml-ui5
pnpm add xml-ui5
yarn add xml-ui5
bun add xml-ui5
```

Provides the command `xml-ui5`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-04-12 |
| First published | 2022-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 26.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Norbert Volf |
| Maintainers | norbik |
| Keywords | SAPUI5, OpenUI5, xml, fragment, view |

## Links

- npm: https://www.npmjs.com/package/xml-ui5
- Repository: https://github.com/norbertvolf/xml-ui5
- Homepage: https://github.com/norbertvolf/xml-ui5#readme
- Issues: https://github.com/norbertvolf/xml-ui5/issues
- npm.io page: https://npm.io/package/xml-ui5

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^5.0.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [fast-glob](https://npm.io/package/fast-glob.md) ^3.2.11
- [@sap/di.code-validation.xml](https://npm.io/package/@sap/di.code-validation.xml.md) ^1.1.28

## 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.2 (latest) — 2023-04-12
- 1.0.1 — 2022-03-30
- 1.0.0 — 2022-03-30

## README

# i18n-xml

![Node.js CI](https://github.com/norbertvolf/xml-ui5/actions/workflows/node.js.yml/badge.svg)

CLI interface to [di.code-validation.xml](https://www.npmjs.com/package/@sap/di.code-validation.xml)
to check SAPUI5/OpenUI5 xml files

## Install

```
	npm install xml-ui5
```

## Usage

By default check \*.view.xml and \*.fragment.xml files in webapp directory of the project.

```
	npx xml-ui5
```

Just change project path and use default files definition

```
	npx xml-ui5 --project-path  "/path/to/your/project/webapp/"

```

Manually define all parameters

```
	npx xml-ui5 --files "/projectPath/**/*.view.xml" --ignore "/projectPath/node_modules/**/*.xml" --files "/projectPath/**/*.fragment.xml" --project-path  "/projectPath/"

```

## Parameters

--files
: Define file sources to check by patterns

--ignore
: Negative to files. Define file sources which is ignored

--path-project
: Define path to project which is used to read project definitions (if exists) and default file definitions
(`./**/*.view.xml`, `./**/*.fragment.xml`) are relative to the project path

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