Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/filiptammergard/roman

Convert roman numerals to arabic numbers and vice versa.
https://github.com/filiptammergard/roman

Last synced: 25 days ago
JSON representation

Convert roman numerals to arabic numbers and vice versa.

Awesome Lists containing this project

README

        

# roman

Convert to and from roman numerals.

## Installation

```
pnpm add roman
```

## Usage

```ts
import { fromRoman, toRoman } from "@tammergard/roman"

fromRoman("CXXIII") // 123

toRoman(123) // "CXXIII"
```

## License

MIT