/Roman-Arabic-Converter

Conver back and forward roman and arabic numbers

Primary LanguageJavaScriptMIT LicenseMIT

logomakr_1bifr0

Build Status Code Climate Dependency Status

Mission

Conver back and forward roman and arabic numbers.

Install

npm install CodeInBrackets/Roman-Arabic-Converter --save

Use

this exposes the next api

  1. convert from Roman to Arabic. Example
var converter = require('roman-arabic-converter')
converter.RomanToArabic("II") //2
  1. convert from Arabic to Roman Example
var converter = require('roman-arabic-converter')
converter.ArabicToRoman(2) //"II"

TODO

  • Improve the naming convention
  • Add more top level unit tests

Logo

Buildings graphic by Freepik from Flaticon is licensed under CC BY 3.0. Made with Logo Maker