@numerals/roman is a package for converting number into Roman numeral.
8 -> Ⅷ
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)); // ↂ