@lunarisapp/hyphen 0.0.1
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.
- package/.turbo/turbo-build.log +23 -0
- package/.turbo/turbo-lint.log +12 -0
- package/.turbo/turbo-test.log +372 -0
- package/CHANGELOG.md +7 -0
- package/README.md +43 -0
- package/babel.config.js +6 -0
- package/dist/dictionaries/hyph_af_ZA.dic +5332 -0
- package/dist/dictionaries/hyph_as_IN.dic +100 -0
- package/dist/dictionaries/hyph_be_BY.dic +3385 -0
- package/dist/dictionaries/hyph_bg_BG.dic +6625 -0
- package/dist/dictionaries/hyph_ca.dic +3234 -0
- package/dist/dictionaries/hyph_cs_CZ.dic +3637 -0
- package/dist/dictionaries/hyph_da_DK.dic +1146 -0
- package/dist/dictionaries/hyph_de_AT.dic +77902 -0
- package/dist/dictionaries/hyph_de_CH.dic +77902 -0
- package/dist/dictionaries/hyph_de_DE.dic +77902 -0
- package/dist/dictionaries/hyph_el_GR.dic +579 -0
- package/dist/dictionaries/hyph_en_GB.dic +14062 -0
- package/dist/dictionaries/hyph_en_US.dic +11130 -0
- package/dist/dictionaries/hyph_eo.dic +3407 -0
- package/dist/dictionaries/hyph_es.dic +862 -0
- package/dist/dictionaries/hyph_et_EE.dic +3692 -0
- package/dist/dictionaries/hyph_fr.dic +2914 -0
- package/dist/dictionaries/hyph_gl.dic +290 -0
- package/dist/dictionaries/hyph_hr_HR.dic +1597 -0
- package/dist/dictionaries/hyph_hu_HU.dic +102260 -0
- package/dist/dictionaries/hyph_id_ID.dic +12033 -0
- package/dist/dictionaries/hyph_is.dic +7695 -0
- package/dist/dictionaries/hyph_it_IT.dic +421 -0
- package/dist/dictionaries/hyph_kn_IN.dic +100 -0
- package/dist/dictionaries/hyph_lt.dic +1547 -0
- package/dist/dictionaries/hyph_lv_LV.dic +11900 -0
- package/dist/dictionaries/hyph_mn_MN.dic +1004 -0
- package/dist/dictionaries/hyph_mr_IN.dic +199 -0
- package/dist/dictionaries/hyph_nb_NO.dic +27142 -0
- package/dist/dictionaries/hyph_nl_NL.dic +16257 -0
- package/dist/dictionaries/hyph_nn_NO.dic +27142 -0
- package/dist/dictionaries/hyph_pa_IN.dic +87 -0
- package/dist/dictionaries/hyph_pl_PL.dic +4824 -0
- package/dist/dictionaries/hyph_pt_BR.dic +1247 -0
- package/dist/dictionaries/hyph_pt_PT.dic +308 -0
- package/dist/dictionaries/hyph_ro_RO.dic +5220 -0
- package/dist/dictionaries/hyph_ru_RU.dic +3875 -0
- package/dist/dictionaries/hyph_sa_IN.dic +116 -0
- package/dist/dictionaries/hyph_sk_SK.dic +2468 -0
- package/dist/dictionaries/hyph_sl_SI.dic +1413 -0
- package/dist/dictionaries/hyph_sq_AL.dic +14020 -0
- package/dist/dictionaries/hyph_sr-Latn.dic +3412 -0
- package/dist/dictionaries/hyph_sr.dic +3365 -0
- package/dist/dictionaries/hyph_sv.dic +14954 -0
- package/dist/dictionaries/hyph_te_IN.dic +99 -0
- package/dist/dictionaries/hyph_th_TH.dic +5245 -0
- package/dist/dictionaries/hyph_uk_UA.dic +1654 -0
- package/dist/dictionaries/hyph_zu_ZA.dic +171 -0
- package/dist/index.d.mts +48 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +236 -0
- package/dist/index.mjs +201 -0
- package/eslint.config.js +4 -0
- package/package.json +51 -0
- package/src/dictionaries/hyph_af_ZA.dic +5332 -0
- package/src/dictionaries/hyph_as_IN.dic +100 -0
- package/src/dictionaries/hyph_be_BY.dic +3385 -0
- package/src/dictionaries/hyph_bg_BG.dic +6625 -0
- package/src/dictionaries/hyph_ca.dic +3234 -0
- package/src/dictionaries/hyph_cs_CZ.dic +3637 -0
- package/src/dictionaries/hyph_da_DK.dic +1146 -0
- package/src/dictionaries/hyph_de_AT.dic +77902 -0
- package/src/dictionaries/hyph_de_CH.dic +77902 -0
- package/src/dictionaries/hyph_de_DE.dic +77902 -0
- package/src/dictionaries/hyph_el_GR.dic +579 -0
- package/src/dictionaries/hyph_en_GB.dic +14062 -0
- package/src/dictionaries/hyph_en_US.dic +11130 -0
- package/src/dictionaries/hyph_eo.dic +3407 -0
- package/src/dictionaries/hyph_es.dic +862 -0
- package/src/dictionaries/hyph_et_EE.dic +3692 -0
- package/src/dictionaries/hyph_fr.dic +2914 -0
- package/src/dictionaries/hyph_gl.dic +290 -0
- package/src/dictionaries/hyph_hr_HR.dic +1597 -0
- package/src/dictionaries/hyph_hu_HU.dic +102260 -0
- package/src/dictionaries/hyph_id_ID.dic +12033 -0
- package/src/dictionaries/hyph_is.dic +7695 -0
- package/src/dictionaries/hyph_it_IT.dic +421 -0
- package/src/dictionaries/hyph_kn_IN.dic +100 -0
- package/src/dictionaries/hyph_lt.dic +1547 -0
- package/src/dictionaries/hyph_lv_LV.dic +11900 -0
- package/src/dictionaries/hyph_mn_MN.dic +1004 -0
- package/src/dictionaries/hyph_mr_IN.dic +199 -0
- package/src/dictionaries/hyph_nb_NO.dic +27142 -0
- package/src/dictionaries/hyph_nl_NL.dic +16257 -0
- package/src/dictionaries/hyph_nn_NO.dic +27142 -0
- package/src/dictionaries/hyph_pa_IN.dic +87 -0
- package/src/dictionaries/hyph_pl_PL.dic +4824 -0
- package/src/dictionaries/hyph_pt_BR.dic +1247 -0
- package/src/dictionaries/hyph_pt_PT.dic +308 -0
- package/src/dictionaries/hyph_ro_RO.dic +5220 -0
- package/src/dictionaries/hyph_ru_RU.dic +3875 -0
- package/src/dictionaries/hyph_sa_IN.dic +116 -0
- package/src/dictionaries/hyph_sk_SK.dic +2468 -0
- package/src/dictionaries/hyph_sl_SI.dic +1413 -0
- package/src/dictionaries/hyph_sq_AL.dic +14020 -0
- package/src/dictionaries/hyph_sr-Latn.dic +3412 -0
- package/src/dictionaries/hyph_sr.dic +3365 -0
- package/src/dictionaries/hyph_sv.dic +14954 -0
- package/src/dictionaries/hyph_te_IN.dic +99 -0
- package/src/dictionaries/hyph_th_TH.dic +5245 -0
- package/src/dictionaries/hyph_uk_UA.dic +1654 -0
- package/src/dictionaries/hyph_zu_ZA.dic +171 -0
- package/src/dictionaries/update.sh +7 -0
- package/src/index.ts +235 -0
- package/tests/hyphen.test.ts +118 -0
- package/tsconfig.pkg.json +10 -0
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lunarisapp/hyphen",
|
|
3
|
+
"description": "A hyphenation library for JavaScript",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Roman Sirokov",
|
|
7
|
+
"url": "https://mrlightful.com",
|
|
8
|
+
"email": "roman@lunaris.app"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://lunaris.app",
|
|
11
|
+
"repository": {
|
|
12
|
+
"url": "https://github.com/LunarisApp/text-tools/tree/main/packages/hyphen"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"hyphenation",
|
|
19
|
+
"text",
|
|
20
|
+
"linguistics",
|
|
21
|
+
"language"
|
|
22
|
+
],
|
|
23
|
+
"License": "MIT",
|
|
24
|
+
"main": "./dist/index.js",
|
|
25
|
+
"module": "./dist/index.mjs",
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@babel/core": "^7.26.8",
|
|
29
|
+
"@babel/preset-env": "^7.26.8",
|
|
30
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
31
|
+
"@eslint/js": "^9.20.0",
|
|
32
|
+
"@jest/globals": "^29.7.0",
|
|
33
|
+
"@types/node": "^22.13.1",
|
|
34
|
+
"babel-jest": "^29.7.0",
|
|
35
|
+
"copyfiles": "^2.4.1",
|
|
36
|
+
"eslint": "^9.20.1",
|
|
37
|
+
"globals": "^15.14.0",
|
|
38
|
+
"tsup": "^8.3.6",
|
|
39
|
+
"tsx": "^4.19.2",
|
|
40
|
+
"typescript": "^5.5.3",
|
|
41
|
+
"typescript-eslint": "^8.24.0"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"jest": "^29.7.0"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsup src/index.ts --format cjs,esm --dts && copyfiles -u 1 src/dictionaries/*.dic dist",
|
|
48
|
+
"lint": "eslint \"{src,tests}/**/*.ts\" --fix",
|
|
49
|
+
"test": "jest"
|
|
50
|
+
}
|
|
51
|
+
}
|