# cadena-romano-a-decimal

> Convert literal roman number to decimal number

Latest version **1.0.0** (published 2020-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install cadena-romano-a-decimal
pnpm add cadena-romano-a-decimal
yarn add cadena-romano-a-decimal
bun add cadena-romano-a-decimal
```

## 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 | 2020-11-07 |
| First published | 2020-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | chitenavi@gmail.com |
| Maintainers | chitenavi |
| Keywords | convert, roman |

## Links

- npm: https://www.npmjs.com/package/cadena-romano-a-decimal
- Repository: https://github.com/chitenavi/cadena-romano-a-decimal
- Homepage: https://github.com/chitenavi/cadena-romano-a-decimal#readme
- Issues: https://github.com/chitenavi/cadena-romano-a-decimal/issues
- npm.io page: https://npm.io/package/cadena-romano-a-decimal

## Recent versions

- 1.0.0 (latest) — 2020-11-07

## README

<h1 align="center">Welcome to cadena-romano-a-decimal module 👋</h1>
<p>
  <img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" />
  <a href="https://github.com/chitenavi/cadena-romano-a-decimal#readme" target="_blank">
    <img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
  </a>
  <a href="https://github.com/chitenavi/cadena-romano-a-decimal/graphs/commit-activity" target="_blank">
    <img alt="Maintenance" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" />
  </a>
  <a href="https://github.com/chitenavi/cadena-romano-a-decimal/blob/master/LICENSE" target="_blank">
    <img alt="License: MIT" src="https://img.shields.io/github/license/chitenavi/cadena-romano-a-decimal" />
  </a>
</p>

> Convert literal roman number to decimal number

### 🏠 [Homepage](https://github.com/chitenavi/cadena-romano-a-decimal#readme)

## Install

```sh
npm install cadena-romano-a-decimal
```

## Usage

First, import module:

```js
const numRomanoAdecimal = require('cadena-romano-a-decimal');
```

Then you can use the convert function in your app:

```js
const romanString = 'XXI';
const valueDecimal = numRomanoAdecimal(romanString);

if (valueDecimal !== -1) {
  console.log(`${romanString} is ${valueDecimal}`);
} else {
  console.log(`Invalid roman literal!!`);
}
```

## Author

👤 **Ivan Chinea**

- Github: [@chitenavi](https://github.com/chitenavi)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/chitenavi/cadena-romano-a-decimal/issues). You can also take a look at the [contributing guide](https://github.com/chitenavi/cadena-romano-a-decimal/blob/master/CONTRIBUTING.md).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2020 [Ivan Chinea](https://github.com/chitenavi).<br />
This project is [MIT](https://github.com/chitenavi/cadena-romano-a-decimal/blob/master/LICENSE) licensed.

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