uimhreacha

1.0.1 • Public • Published

Uimhreacha

Converts digits (1001) into Irish words (míle a haon) based on Córas na mBunuimhreacha in An Caighdeán Oifgiúil 2017.

I made this for the Gaois 2023 Féile Haiceála, and you can see it in use on the webapp I made here.

Let me know if you have any issues with it, questions, or if there are any bugs.

Guide

The main functionality of this is in the function irishForNumber(n: number): string. You can call it with any number (I've only tested properly up to about 1,000,000, but in theory it supports up to about a heptillion) and it will return an uncapitalised string in the plain form of the number (not the counting form or the personal form etc.).

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i uimhreacha

      Weekly Downloads

      4

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      8.28 kB

      Total Files

      3

      Last publish

      Collaborators

      • an_spideog