# cordova-set-version-id

> CLI and JavaScript API for setting the version in Apache Cordova config.xml

Latest version **0.0.1** (published 2020-09-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install cordova-set-version-id
pnpm add cordova-set-version-id
yarn add cordova-set-version-id
bun add cordova-set-version-id
```

Provides the command `cordova-set-version-id`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-09-03 |
| First published | 2020-09-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Md Isfaque |
| Maintainers | md_isfaque |
| Keywords | apache, cordova, version |

## Links

- npm: https://www.npmjs.com/package/cordova-set-version-id
- npm.io page: https://npm.io/package/cordova-set-version-id

## Dependencies (6)

- [meow](https://npm.io/package/meow.md) ^7.1.0
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.23
- [read-pkg](https://npm.io/package/read-pkg.md) ^5.2.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.11.2
- [util-promisify](https://npm.io/package/util-promisify.md) ^2.1.0
- [xml2js-es6-promise](https://npm.io/package/xml2js-es6-promise.md) ^1.1.1

## Recent versions

- 0.0.1 (latest) — 2020-09-03

## README

# cordova-set-version-id

## Features

-   Writes `version` and `id` to Cordova `config.xml`
-   Has CLI

## Install

```sh
$ npm install cordova-set-version-id
```

## Usage

## CLI

`cordova-set-version [-v|--version <version>] [-i|--id <id>] [config.xml]`

Options:

-   `-v`/`--version` - version to set
-   `-i`/`--id` - id to set
-   `--help` - display help

Examples

```
$ cordova-set-version-id
$ cordova-set-version-id -v 2.4.9
$ cordova-set-version-id -i com.google.mail
$ cordova-set-version-id -v 2.4.9 -i com.google.mail
```

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