generated from justjavac/deno_starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mod.ts
98 lines (94 loc) · 1.75 KB
/
mod.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import Cc from "./category/Cc.ts";
import Co from "./category/Co.ts";
import Ll from "./category/Ll.ts";
import Lo from "https://cdn.jsdelivr.net/gh/justjavac/deno_unicode/category/Lo.ts";
import Lu from "./category/Lu.ts";
import Me from "./category/Me.ts";
import Nd from "./category/Nd.ts";
import No from "./category/No.ts";
import Pd from "./category/Pd.ts";
import Pf from "./category/Pf.ts";
import Po from "./category/Po.ts";
import Sc from "./category/Sc.ts";
import Sm from "./category/Sm.ts";
import Zl from "./category/Zl.ts";
import Zs from "./category/Zs.ts";
import Cf from "./category/Cf.ts";
import Cs from "./category/Cs.ts";
import Lm from "./category/Lm.ts";
import Lt from "./category/Lt.ts";
import Mc from "./category/Mc.ts";
import Mn from "./category/Mn.ts";
import Nl from "./category/Nl.ts";
import Pc from "./category/Pc.ts";
import Pe from "./category/Pe.ts";
import Pi from "./category/Pi.ts";
import Ps from "./category/Ps.ts";
import Sk from "./category/Sk.ts";
import So from "./category/So.ts";
import Zp from "./category/Zp.ts";
export type { Category, UnicodeItem } from "./types.ts";
import type { Category, UnicodeItem } from "./types.ts";
export const categories: Category[] = [
"Cc",
"Cf",
"Co",
"Cs",
"Ll",
"Lm",
"Lo",
"Lt",
"Lu",
"Mc",
"Me",
"Mn",
"Nd",
"Nl",
"No",
"Pc",
"Pd",
"Pe",
"Pf",
"Pi",
"Po",
"Ps",
"Sc",
"Sk",
"Sm",
"So",
"Zl",
"Zp",
"Zs",
];
const unicode: Record<number, UnicodeItem> = {
...Cc,
...Cf,
...Co,
...Cs,
...Ll,
...Lm,
...Lo,
...Lt,
...Lu,
...Mc,
...Me,
...Mn,
...Nd,
...Nl,
...No,
...Pc,
...Pd,
...Pe,
...Pf,
...Pi,
...Po,
...Ps,
...Sc,
...Sk,
...Sm,
...So,
...Zl,
...Zp,
...Zs,
};
export default unicode;