1.0.1 • Published 6 years ago

geezify-js v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Geezify-js From Ethiopia

Build Status Scrutinizer Code Quality Coverage Status

This package is a library to convert ascii number like '3456' to geez number '፴፬፻፶፮' and vise versa.

Ge'ez (ግዕዝ) is an ancient South Semitic language that originated in Eritrea and the northern region of Ethiopia in the Horn of Africa. It later became the official language of the Kingdom of Aksum and Ethiopian imperial court.

click here to read more.

Installation

npm install geezify-js

Usage

const Geezify = require("geezify-js")

geez = Geezify.create();

console.log(geez.toGeez(123));              // ፻፳፫
console.log(geez.toGeez(1234));             // ፲፪፻፴፬
console.log(geez.toGeez(1986));             // ፲፱፻፹፮
console.log(geez.toGeez(1000000));          // ፻፼

// or you can even do the reverse
// this is the tricky part you wouldn't see else where
// at least for now

console.log(geez.toAscii('፻፳፫'));           // 123
console.log(geez.toAscii('፲፪፻፴፬'));         // 1234
console.log(geez.toAscii('፲፱፻፹፮'));        // 1986
console.log(geez.toAscii('፻፼'));          // 1000000

License

Geezify-js is released under the MIT Licence. See the bundled LICENSE file for details.