aboutsummaryrefslogtreecommitdiff
path: root/temp
diff options
context:
space:
mode:
Diffstat (limited to 'temp')
-rw-r--r--temp/test.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/temp/test.ts b/temp/test.ts
new file mode 100644
index 0000000..5d5dc68
--- /dev/null
+++ b/temp/test.ts
@@ -0,0 +1,7 @@
+import Yomikun from "../api/yomikun.ts";
+import DirectCoreClient from "../core/direct/client.ts";
+var api = new Yomikun(new DirectCoreClient());
+await api.ready;
+var sentence = await api.sentence("コツとかあんの?");
+console.log(sentence.words);
+