diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-08-06 15:01:13 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-08-06 15:01:13 +0200 |
commit | e14b315a088d375b80e46978bd769c7d13e71001 (patch) | |
tree | d62a36d47b9865a6c38273d07c682e3082e4b86c /temp | |
parent | 578af2663f9094f8b852d32cf16868b37518d648 (diff) |
Diffstat (limited to 'temp')
-rw-r--r-- | temp/test.ts | 7 |
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); + |