gusoma
This is a simple package that converts numbers in Rwandan native language (Ikinyarwanda)
Install
npm install gusoma
or
yarn add gusoma
Example
const { soma } = require("gusoma");
console.log(soma(11));
console.log(soma(1110));
A very complicated number 😂
const { soma } = require("gusoma");
console.log(soma(999999999999));
Ones (Ibinyabumwe)
const { soma } = require("gusoma");
console.log(soma(5));
Tens (Ibinyacumi)
const { soma } = require("gusoma");
console.log(soma(18));
Hundreds (Ibinyejana)
const { soma } = require("gusoma");
console.log(soma(116));
Thousands (Ibinyagihumbi)
const { soma } = require("gusoma");
console.log(soma(1195));
Millions (Amamiliyoni)
const { soma } = require("gusoma");
console.log(soma(43000000));
Billions (Amamiliyari)
const { soma } = require("gusoma");
console.log(soma(6500000000));
Contribution
Please before making a PR, read first this Contributing Guideline
License
MIT
Author
Igwaneza Bruce