Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/filiptammergard/roman
- Owner: filiptammergard
- License: mit
- Created: 2024-02-08T14:26:31.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T10:12:20.000Z (about 2 months ago)
- Last Synced: 2024-09-17T12:48:42.037Z (about 2 months ago)
- Language: JavaScript
- Size: 316 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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