From 65dccb3307ae6476dd5c771c0394c3df027fa717 Mon Sep 17 00:00:00 2001 From: Sam As End <4sam21@gmail.com> Date: Wed, 16 May 2018 01:17:21 +0300 Subject: [PATCH] some more docs --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 58dffbd..95d3032 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ npm install geezify-js Usage ---------------- ```js +const Geezify = require("geezify-js") geez = Geezify.create(); @@ -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