UNPKG
entities
Version:
latest (7.0.1)
7.0.1
7.0.0
6.0.1
6.0.0
5.0.0
4.5.0
4.4.0
4.3.1
4.3.0
4.2.0
4.1.1
4.1.0
4.0.0
3.0.1
3.0.0
2.2.0
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.0
0.5.0
0.4.1
0.4.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
Encode & decode XML and HTML entities with ease & speed
github.com/fb55/entities
fb55/entities
entities
/
src
/
generated
/
decode-data-xml.ts
9 lines
(7 loc)
•
314 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
// Generated using scripts/write-decode-map.ts
export
const
xmlDecodeTree
:
Uint16Array
=
/* #__PURE__ */
new
Uint16Array
(
// prettier-ignore
/* #__PURE__ */
"\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022"
.
split
(
""
) .
map
(
(
c
) =>
c.
charCodeAt
(
0
)), );