@numerals/roman
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@numerals/roman

Version License: GPLv3 Coverage Github workflow

@numerals/roman is a package for converting number into Roman numeral.

8 -> Ⅷ

How to use

npm:

npm i @numerals/roman

yarn:

yarn add @numerals/roman

Type Script:

import { convert } from '@numerals/roman';
console.log(convert(1)); // Ⅰ
console.log(convert(8)); // Ⅷ
console.log(convert(12)); // Ⅻ
console.log(convert(5000)); // ↁ
console.log(convert(10_000)); // ↂ

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @numerals/roman

      Weekly Downloads

      4

      Version

      0.0.2

      License

      ISC

      Unpacked Size

      7.21 kB

      Total Files

      8

      Last publish

      Collaborators

      • amerharb