# vf-core-service-discovery-versions-comparison

> Runs a comparison of vf-core components' versions

Latest version **0.2.1** (published 2021-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install vf-core-service-discovery-versions-comparison
pnpm add vf-core-service-discovery-versions-comparison
yarn add vf-core-service-discovery-versions-comparison
bun add vf-core-service-discovery-versions-comparison
```

Provides the command `vf-core-service-discovery-vc`.

## 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.2.1 |
| Published | 2021-02-26 |
| First published | 2021-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 15.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | oss6 |
| Maintainers | ossedb |

## Links

- npm: https://www.npmjs.com/package/vf-core-service-discovery-versions-comparison
- npm.io page: https://npm.io/package/vf-core-service-discovery-versions-comparison

## Dependencies (8)

- [lmify](https://npm.io/package/lmify.md) ^0.3.0
- [rimraf](https://npm.io/package/rimraf.md) ^3.0.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.1.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.5
- [@frctl/fractal](https://npm.io/package/@frctl/fractal.md) ^1.5.4
- [@frctl/nunjucks](https://npm.io/package/@frctl/nunjucks.md) ^2.0.8
- [@frctl/mandelbrot](https://npm.io/package/@frctl/mandelbrot.md) ^1.8.1
- [@visual-framework/vf-frctl-extensions](https://npm.io/package/@visual-framework/vf-frctl-extensions.md) ^1.0.0-alpha.2

## Recent versions

- 0.2.1 (latest) — 2021-02-26
- 0.2.0 — 2021-02-21
- 0.1.1 — 2021-02-21
- 0.1.0 — 2021-02-21

## README

# vf-core-service-discovery-versions-comparison

Runs a comparison of [vf-core](https://github.com/visual-framework/vf-core) components' versions.

It's main usage comes after the analysis done during service discovery using [vf-core-service-discovery](https://github.com/oss6/vf-core-service-discovery).

## Install

```
$ npm i vf-core-service-discovery-versions-comparison
```

or

```
$ yarn add vf-core-service-discovery-versions-comparison
```

## Basic usage

### CLI

```
$ vf-core-service-discovery-vc --output=/path/to/directory --data=/path/to/data.json
```

The data should be in the following format (see `data.example.json`):

```
{
  "vfCoreVersion": "v2.4.6",
  "components": [
    {
      "name": "@visual-framework/vf-footer",
      "nameWithoutPrefix": "vf-footer",
      "installedVersion": "1.0.4",
      "latestVersion": "1.1.0"
    },
    ...
  ]
}
```

### Module

```
async function compare() {
  const vfCoreComponentsCompareVersions = require('vf-core-service-discovery-versions-comparison');

  await vfCoreComponentsCompareVersions('/path/to/output/directory', '/path/to/data/json');
}

compare();
```

---
_Source: https://npm.io/package/vf-core-service-discovery-versions-comparison · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
