nameOfUnicode
Script
v2
Fork
1
2
3
4
5
6
import
{
blob
}
from
"https://esm.town/v/std/blob?v=12"
;
export
async
function
nameOfCodepoint
(
codepoint
:
string
)
{
const
names
=
await
blob
.
getJSON
(
"unicode_names"
)
;
return
names
[
codepoint
]
;
}