From 20451edaddd3d1b2be02b398a3f2c99c06e80ff9 Mon Sep 17 00:00:00 2001
From: Lukince <53417057+Lukince@users.noreply.github.com>
Date: Thu, 30 Sep 2021 16:50:07 +0900
Subject: [PATCH 1/4] Create README.md
---
README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 README.md
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c7b27c9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,45 @@
+
+ The powerful hangul library
+
+
+
+
+
+
+# Features
+
+### Assemble, Disassemble Hangul
+
+```ts
+const hello = Assembler.assemble(['ㅇ', 'ㅏ', 'ㄴ', 'ㄴ', 'ㅕ', 'ㅇ']);
+
+console.log(hello); // log : 안녕
+
+const dishello = Assembler.disassemble("안녕하세요");
+```
+
+### Convert English to Korean, Korean to English
+**Note : This is not a translation. After converting according to the QWERTY keyboard, and assemble it.**
+
+```ts
+console.log(Hangul.engToKor("dkssud tprP!"));
+// log : 안녕 세계!
+
+console.log(Hangul.korToEng("안녕 세계!"));
+// log : dkssud tprP!
+```
+
+### Build hangul with initial, neutral and final
+
+```ts
+const builder1 = new HangulBuilder();
+
+builder1.setInitial('ㅇ');
+builder1.setNeutral('ㅏ');
+builder1.setFinal('ㄴ');
+
+const builder2 = new HangulBuilder('ㄴ', 'ㅕ', 'ㅇ');
+
+console.log([builder1.build(), builder2.build()].join(''));
+// log : 안녕
+```
From 36238a11c941ff10b2c8295e3a54671ecf13cb30 Mon Sep 17 00:00:00 2001
From: Lukince <53417057+Lukince@users.noreply.github.com>
Date: Thu, 30 Sep 2021 17:07:23 +0900
Subject: [PATCH 2/4] Update README.md
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index c7b27c9..eaae74e 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
The powerful hangul library
-
-
-
+
+
+
# Features
From 29471af1fea95b93ca7aa205d84e728a1abf7828 Mon Sep 17 00:00:00 2001
From: Lukince <53417057+Lukince@users.noreply.github.com>
Date: Thu, 30 Sep 2021 17:40:56 +0900
Subject: [PATCH 3/4] Update README.md
---
README.md | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index eaae74e..ed887c6 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,20 @@
The powerful hangul library
+
-
+ Please check [README.md](https://github.com/Lukince/Hangul4deno/blob/master/README.md) on github if possible. it changes frequently.
+
# Features
### Assemble, Disassemble Hangul
```ts
+import { Assembler } from "https://deno.land/x/hangul@1.0.0/mod.ts"
+
const hello = Assembler.assemble(['ㅇ', 'ㅏ', 'ㄴ', 'ㄴ', 'ㅕ', 'ㅇ']);
console.log(hello); // log : 안녕
@@ -19,9 +23,11 @@ const dishello = Assembler.disassemble("안녕하세요");
```
### Convert English to Korean, Korean to English
-**Note : This is not a translation. After converting according to the QWERTY keyboard, and assemble it.**
+**Note : This is not a translation. This'll assemble after converting according to the QWERTY keyboard**
```ts
+import { Hangul } from "https://deno.land/x/hangul@1.0.0/mod.ts"
+
console.log(Hangul.engToKor("dkssud tprP!"));
// log : 안녕 세계!
@@ -32,6 +38,8 @@ console.log(Hangul.korToEng("안녕 세계!"));
### Build hangul with initial, neutral and final
```ts
+import { HangulBuilder } from "https://deno.land/x/hangul@1.0.0/mod.ts"
+
const builder1 = new HangulBuilder();
builder1.setInitial('ㅇ');
From ca6fcde461564393044984dd5a0ea73f6002aadc Mon Sep 17 00:00:00 2001
From: Lukince <53417057+Lukince@users.noreply.github.com>
Date: Thu, 30 Sep 2021 17:42:27 +0900
Subject: [PATCH 4/4] Oops. Mistake.
Found by andjsrk#https://github.com/andjsrk
---
src/entities/assembler.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/entities/assembler.ts b/src/entities/assembler.ts
index b57c6f2..a7c29a0 100644
--- a/src/entities/assembler.ts
+++ b/src/entities/assembler.ts
@@ -17,7 +17,7 @@ export class Assembler {
}
/**
- * This will disassemble hanugl.
+ * This will disassemble hangul.
* @example Assembler.disassemble('안') // ['ㅇ','ㅏ','ㄴ']
* @param str The string value which want to disassemble
* @returns Disassembled hangul
@@ -25,4 +25,4 @@ export class Assembler {
static disassemble(str: string): string[] {
return disassemble(str);
}
-}
\ No newline at end of file
+}