Skip to content

utopiaio/Geezer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geezer Build Status

Converts Arabic numerals to Geez.

Install

npm install geezer --save

Usage

const geezer = require('geezer');

geezer(1); // '፩'
geezer('100'); // '፻'
geezer('111111'); // '፲፩፼፲፩፻፲፩'
geezer('0'); // '0'
geezer('Invalid'); // 'Invalid'

Note

As with Geez, zero and decimals are not supported. If an invalid number is passed, the number itself is returned.