henkan 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,aASrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAO5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAgBvC,CAAC;AAEH,eAAO,MAAM,OAAO,EAAE,GAAG,CACvB,MAAM,EACN,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,SAAS,GAAG,EAAE,CAAC,CAinC3E,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,aASrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,cAO5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAgBvC,CAAC;AAEH,eAAO,MAAM,OAAO,EAAE,GAAG,CACvB,MAAM,EACN,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,SAAS,GAAG,EAAE,CAAC,CAqnC3E,CAAC"}
@@ -103,7 +103,7 @@ export declare function getWordDefinitionsWithFurigana(entryList: readonly JaWik
103
103
  /**
104
104
  * Transforms a converted `JMdict` entry into a more readable format, by providing either its JMdict entry ID or the {@link DictWord} object directly.
105
105
  * @param word The ID of the `JMdict` entry or a {@link DictWord} object
106
- * @param dict An array of converted `JMdict` entries
106
+ * @param dict An array of converted `JMdict` entries (not needed if {@link word} is a {@link DictWord} object)
107
107
  * @param kanjiDic An array or an ID-kanji map of converted `KANJIDIC` entries
108
108
  * @param examples An array of converted `Tanaka Corpus` examples
109
109
  * @param definitions An array or ID-definitions map of `ja.wiktionary.org` word definitions
@@ -115,7 +115,7 @@ export declare function getWord(word: `${number}` | DictWord, dict?: readonly Di
115
115
  /**
116
116
  * Transforms a converted `KANJIDIC` entry into a more readable format
117
117
  * @param kanji The kanji character or a {@link DictKanji} object
118
- * @param dict An array of converted `KANJIDIC` entries
118
+ * @param dict An array of converted `KANJIDIC` entries (not needed if {@link kanji} is a {@link DictKanji} object)
119
119
  * @param jmDict An array or a kanji-words map of converted `JMdict` entries
120
120
  * @param svgList An array of SVG file names
121
121
  * @param noteTypeName The Anki note type name
@@ -24,7 +24,7 @@ The kanji character or a [DictKanji](../interfaces/DictKanji.md) object
24
24
 
25
25
  readonly [`DictKanji`](../interfaces/DictKanji.md)[]
26
26
 
27
- An array of converted `KANJIDIC` entries
27
+ An array of converted `KANJIDIC` entries (not needed if [kanji](#getkanji) is a [DictKanji](../interfaces/DictKanji.md) object)
28
28
 
29
29
  ### jmDict?
30
30
 
@@ -24,7 +24,7 @@ The ID of the `JMdict` entry or a [DictWord](../interfaces/DictWord.md) object
24
24
 
25
25
  readonly [`DictWord`](../interfaces/DictWord.md)[]
26
26
 
27
- An array of converted `JMdict` entries
27
+ An array of converted `JMdict` entries (not needed if [word](#getword) is a [DictWord](../interfaces/DictWord.md) object)
28
28
 
29
29
  ### kanjiDic?
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "henkan",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "A Node.JS library that helps you convert any dictionary from EDRDG, transform their entries into more user-friendly schemas and create Anki notes from them.",
5
5
  "keywords": [
6
6
  "fjsd",