From a052c562376a398f06d16cacd3933ec40cf989f1 Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Mon, 13 Jun 2022 01:27:16 +0000 Subject: [PATCH 1/8] Initial gh-pages commit From 07862056c4987d6ff8a7ee5b0131d8e34474169c Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Mon, 13 Jun 2022 01:27:16 +0000 Subject: [PATCH 2/8] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Ulti?= =?UTF-8?q?Requiem/roman.js@e415051e2e88d710ca0c16be2c9e1246f53dc726=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 1 + readme.md | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 _config.yml create mode 100644 readme.md diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..277f1f2 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-cayman diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..de7214c --- /dev/null +++ b/readme.md @@ -0,0 +1,74 @@ +# Roman + +[![Code Coverage](https://codecov.io/gh/UltiRequiem/roman.js/branch/main/graph/badge.svg)](https://codecov.io/gh/UltiRequiem/roman.js) +[![Deno Doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/roman/mod.ts) + +Parse a number to a Roman Numeral. + +## Usage + +The API is the same on all this platforms ✔️ + +### [Deno 🦕](https://deno.land/x/roman) + +```javascript +import { roman } from "https://deno.land/x/roman/mod.ts"; + +roman(3); //=> "III" + +roman(47); //=> "XLVII" + +roman(3990); //=> "MMMCMXC" + +roman(1984); //=> "MCMLXXXIV" +``` + +### [Node.js 🐢🚀](https://npmjs.com/package/@ultirequiem/roman) + +```javascript +import { roman } from "@ultirequiem/roman"; +``` + +### [Browser 🌐](https://developer.mozilla.org/en-US/docs/Glossary/Browser) + +You can use any [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) 🔥 + +Eg 👉 +[ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) ↔️ +[SkyPack](https://cdn.skypack.dev/@ultirequiem/roman) 🆚 +[Script Tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script) +↔️ [JSDelivr](https://cdn.jsdelivr.net/npm/@ultirequiem/roman) + +## Documentation + +Is hosted on +[Deno Doc](https://doc.deno.land/https://deno.land/x/roman/mod.ts) 📄 + +## Support + +Open an Issue, I will check it a soon as possible 👀 + +If you want to hurry me up a bit +[send me a tweet](https://twitter.com/UltiRequiem) 😆 + +Consider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like +my work 🙏 + +Don't forget to start the repo ⭐ + +## Authors + +[Eliaz Bobadilla](https://ultirequiem.com) - Creator and Maintainer 💪 + +See also the full list of +[contributors](https://github.com/UltiRequiem/roman/contributors) who +participated in this project ✨ + +## Versioning + +We use [Semantic Versioning](http://semver.org). For the versions available, see +the [tags](https://github.com/UltiRequiem/roman/tags) 🏷️ + +## Licence + +Licensed under the MIT License 📄 From cf85af266a5215854f14b0774685f0df62e11fc2 Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Mon, 13 Jun 2022 20:08:19 +0000 Subject: [PATCH 3/8] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Ulti?= =?UTF-8?q?Requiem/roman.js@edeb9e073bc06b1367c1e9de8f1aa1beb3c6bc1a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index de7214c..f0e3cdd 100644 --- a/readme.md +++ b/readme.md @@ -41,8 +41,8 @@ Eg 👉 ## Documentation -Is hosted on -[Deno Doc](https://doc.deno.land/https://deno.land/x/roman/mod.ts) 📄 +Is hosted on [Deno Doc](https://doc.deno.land/https://deno.land/x/roman/mod.ts) +📄 ## Support From dcc632dd1b80cf3293bb77c164ea7fad6ba201f4 Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Mon, 13 Jun 2022 20:39:22 +0000 Subject: [PATCH 4/8] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Ulti?= =?UTF-8?q?Requiem/roman.js@6d0921a9632b53fca71e19bd5999e32c3b225476=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f0e3cdd..56bf6b7 100644 --- a/readme.md +++ b/readme.md @@ -3,7 +3,7 @@ [![Code Coverage](https://codecov.io/gh/UltiRequiem/roman.js/branch/main/graph/badge.svg)](https://codecov.io/gh/UltiRequiem/roman.js) [![Deno Doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/roman/mod.ts) -Parse a number to a Roman Numeral. +Convert Numbers to Roman numerals. ## Usage From f35846878ecda2bd55b99ebb65b7ddec8096147a Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Mon, 13 Jun 2022 21:26:28 +0000 Subject: [PATCH 5/8] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Ulti?= =?UTF-8?q?Requiem/roman.js@c3ea879ff39a457af4d00ffad9cdde202938b2ee=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index 56bf6b7..f22737b 100644 --- a/readme.md +++ b/readme.md @@ -39,6 +39,8 @@ Eg 👉 [Script Tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script) ↔️ [JSDelivr](https://cdn.jsdelivr.net/npm/@ultirequiem/roman) +It includes other helper methods, check the docs. + ## Documentation Is hosted on [Deno Doc](https://doc.deno.land/https://deno.land/x/roman/mod.ts) From 7f0ca75dda49868b3bbcf2b2b6dc517b3bcf6449 Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Wed, 15 Jun 2022 21:26:39 +0000 Subject: [PATCH 6/8] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Ulti?= =?UTF-8?q?Requiem/roman.js@6a7c29d4fb16a49bdc2000304c840ad75c24c243=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index f22737b..6ccd8b2 100644 --- a/readme.md +++ b/readme.md @@ -12,15 +12,16 @@ The API is the same on all this platforms ✔️ ### [Deno 🦕](https://deno.land/x/roman) ```javascript -import { roman } from "https://deno.land/x/roman/mod.ts"; +import { parseRoman, roman } from "https://deno.land/x/roman/mod.ts"; roman(3); //=> "III" +parseRoman("III"); //=> 3 roman(47); //=> "XLVII" - -roman(3990); //=> "MMMCMXC" +parseRoman("XLVII"); //=> 47 roman(1984); //=> "MCMLXXXIV" +parseRoman("MCMLXXXIV"); //=> 1984 ``` ### [Node.js 🐢🚀](https://npmjs.com/package/@ultirequiem/roman) From 5a4af656756ffc65fb78b03f3ebae8d05c0ba7d4 Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Wed, 15 Jun 2022 22:18:42 +0000 Subject: [PATCH 7/8] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Ulti?= =?UTF-8?q?Requiem/roman.js@31ceaa125e2da9a419d19d85da6cee0924638e8b=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6ccd8b2..efb8093 100644 --- a/readme.md +++ b/readme.md @@ -27,7 +27,7 @@ parseRoman("MCMLXXXIV"); //=> 1984 ### [Node.js 🐢🚀](https://npmjs.com/package/@ultirequiem/roman) ```javascript -import { roman } from "@ultirequiem/roman"; +import { parseRoman, roman } from "@ultirequiem/roman"; ``` ### [Browser 🌐](https://developer.mozilla.org/en-US/docs/Glossary/Browser) From a973f05fa2bb96c1c19e69883940a8df7391ab7f Mon Sep 17 00:00:00 2001 From: UltiRequiem Date: Mon, 18 Jul 2022 23:28:16 +0000 Subject: [PATCH 8/8] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Ulti?= =?UTF-8?q?Requiem/roman.js@04bcf64ad89a00656977431b9c18ec326d6ff0c2=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index efb8093..5023ca6 100644 --- a/readme.md +++ b/readme.md @@ -57,7 +57,7 @@ If you want to hurry me up a bit Consider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like my work 🙏 -Don't forget to start the repo ⭐ +Don't forget to star the repo ⭐ ## Authors