# reviewers-edition-to-semver

> convert Reviewers Editions to loose Semantic Versioning equivalents

Latest version **1.1.0** (published 2022-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install reviewers-edition-to-semver
pnpm add reviewers-edition-to-semver
yarn add reviewers-edition-to-semver
bun add reviewers-edition-to-semver
```

Provides the command `reviewers-edition-to-semver`.

## 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.1.0 |
| Published | 2022-06-17 |
| First published | 2016-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kyle E. Mitchell |
| Maintainers | kemitchell |

## Links

- npm: https://www.npmjs.com/package/reviewers-edition-to-semver
- Repository: https://github.com/kemitchell/reviewers-edition-to-semver.js
- Homepage: https://github.com/kemitchell/reviewers-edition-to-semver.js#readme
- Issues: https://github.com/kemitchell/reviewers-edition-to-semver.js/issues
- npm.io page: https://npm.io/package/reviewers-edition-to-semver

## Dependencies (1)

- [reviewers-edition-parse](https://npm.io/package/reviewers-edition-parse.md) ^2.0.3

## Recent versions

- 1.1.0 (latest) — 2022-06-17
- 1.0.1 — 2016-08-24
- 1.0.0 — 2016-01-29

## README

```javascript
var toSemVer = require('reviewers-edition-to-semver')
var assert = require('assert')

assert.equal(toSemVer('1e'), '1.0.0')

assert.equal(toSemVer('1e1u'), '1.1.0')

assert.equal(toSemVer('1e1u1c'), '1.1.1')

assert.equal(toSemVer('1e1u1c1d'), '1.1.1-1')

assert.equal(toSemVer('1e1c1d'), '1.0.1-1')

assert.equal(toSemVer('1e1d'), '1.0.0-1')

assert.throws(function() {
  toSemVer('garbage')
}, /Invalid Reviewers Edition: "garbage"/)
```

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