0.0.2 • Published 4 years ago
tunte v0.0.2
tunte
Install with npm
:
npm install tunte
API
Numbers (converting figures to letters)
const { byv } = require('tunte');
byv.figure2words.convert(77); // returns 'ncòbsɑ̀mmbɑhɑ ŋâmsɑ̀mmbɑhɑ'
byv.figure2words.convert(10); // returns 'gham'
Time (converting time to letters)
Specification:
function ngelan (hour : Number, minute : Number = 0, second : Number = 0, millisecond : Number 0) : String
function le (day : Number) : String
function nwu (month : Number) : String
Example
const { byv } = require('tunte');
let day = byv.getDay(6); // Ntα̂nndʉb
let month = byv.getMonth(5); // Nsônὰ
Currency (converting figures to currencies)
Specification
const { byv } = require('tunte');
byv.ngelan(1); // 'Tàʼ ŋàm'
byv.ngelan(1, 5); // 'Tàʼ ŋàm ngʉ̂ mfî nyàm bαhα'
Language modules
Standard: ISO 639-3fmp
Languages
Language | Code |
---|---|
Medumba | byv |
Nufi | fmp |
Ghomala | bbj |
Reference: https://www.ethnologue.com/country/cm/languages
Contributing
If you wish to report a bug, please feel free to open an issue
Want to request a feature? Open an issue too
Want to contribute code? Join us on our chat server
Want to support us financially? Please leave your details so we contact you at info@nghom.com
If you want faster feedback or wish a custom development, please kindly email me at nyopa@ngadou.me