geezify-js

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i geezify-js

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

63.9 kB

Total Files

23

Last publish

Collaborators

  • samasend