Skip to content

Commit

Permalink
some more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SamAsEnd committed May 15, 2018
1 parent cadc007 commit 65dccb3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ npm install geezify-js
Usage
----------------
```js
const Geezify = require("geezify-js")

geez = Geezify.create();

Expand All @@ -29,11 +30,13 @@ 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
console.log(geez.toAscii('፻፳፫')); // 123
console.log(geez.toAscii('፲፪፻፴፬')); // 1234
console.log(geez.toAscii('፲፱፻፹፮')); // 1986
console.log(geez.toAscii('፻፼')); // 1000000
```

License
Expand Down

0 comments on commit 65dccb3

Please sign in to comment.