ethers.js/lib.esm/wordlists/wordlists.js

35 lines
1.2 KiB
JavaScript
Raw Permalink Normal View History

2022-11-30 15:44:23 -05:00
import { LangCz } from "./lang-cz.js";
import { LangEn } from "./lang-en.js";
import { LangEs } from "./lang-es.js";
import { LangFr } from "./lang-fr.js";
import { LangJa } from "./lang-ja.js";
import { LangKo } from "./lang-ko.js";
import { LangIt } from "./lang-it.js";
import { LangPt } from "./lang-pt.js";
import { LangZh } from "./lang-zh.js";
2022-12-30 11:30:03 -05:00
/**
* The available Wordlists by their
* [ISO 639-1 Language Code](link-wiki-iso639).
*
* (**i.e.** [cz](LangCz), [en](LangEn), [es](LangEs), [fr](LangFr),
* [ja](LangJa), [ko](LangKo), [it](LangIt), [pt](LangPt),
* [zh_cn](LangZh), [zh_tw](LangZh))
*
* The dist files (in the ``/dist`` folder) have had all languages
* except English stripped out, which reduces the library size by
* about 80kb. If required, they are available by importing the
* included ``wordlists-extra.min.js`` file.
*/
2022-11-30 15:44:23 -05:00
export const wordlists = {
cz: LangCz.wordlist(),
en: LangEn.wordlist(),
es: LangEs.wordlist(),
fr: LangFr.wordlist(),
it: LangIt.wordlist(),
pt: LangPt.wordlist(),
ja: LangJa.wordlist(),
ko: LangKo.wordlist(),
zh_cn: LangZh.wordlist("cn"),
zh_tw: LangZh.wordlist("tw"),
};
2022-09-05 16:57:11 -04:00
//# sourceMappingURL=wordlists.js.map