Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gusoma

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gusoma

This is a simple package that converts numbers in kinyarwanda (Rwandan native language)

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

gusoma

Build Status npm Dependency Status npm Open Source Love Open Source Love

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)); // 'cumi na rimwe'
console.log(soma(1110)); // 'igihumbi n'ijana n'icumi'

A very complicated number 😂

const { soma } = require("gusoma");

console.log(soma(999999999999)); // "miliyari magana icyenda na mirongo icyenda n'icyenda na miliyoni magana icyenda na mirongo icyenda n'icyenda n'ibihumbi magana icyenda na mirongo icyenda n'icyenda na magana icyenda na mirongo icyenda n'icyenda"

Ones (Ibinyabumwe)

const { soma } = require("gusoma");

console.log(soma(5)); // 'gatanu'

Tens (Ibinyacumi)

const { soma } = require("gusoma");

console.log(soma(18)); // "cumi n'umunani"

Hundreds (Ibinyejana)

const { soma } = require("gusoma");

console.log(soma(116)); // 'ijana na cumi na gatandatu'

Thousands (Ibinyagihumbi)

const { soma } = require("gusoma");

console.log(soma(1195)); // "igihumbi n'ijana na mirongo icyenda na gatanu"

Millions (Amamiliyoni)

const { soma } = require("gusoma");

console.log(soma(43000000)); // "miliyoni mirongo ine n'eshatu"

Billions (Amamiliyari)

const { soma } = require("gusoma");

console.log(soma(6500000000)); // 'miliyari esheshatu na miliyoni magana atanu'

Contribution

Please before making a PR, read first this Contributing Guideline

License

MIT

Author

Igwaneza Bruce

Keywords

FAQs

Package last updated on 05 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc