Continue ESM transform
This commit is contained in:
parent
b8205a63aa
commit
36835216f5
44 changed files with 1939 additions and 502 deletions
|
@ -1,6 +1,7 @@
|
|||
import ucdNames from "@unicode/unicode-14.0.0/Names";
|
||||
for (let i = 2; i < process.argv.length; i++) {
|
||||
const lch = parseInt(process.argv[i], 16);
|
||||
const name = ucdNames.get(lch);
|
||||
console.log(" -", name, `(\`U+${lch.toString(16).toUpperCase().padStart(4, "0")}\`);`);
|
||||
}
|
||||
import ucdNames from "@unicode/unicode-14.0.0/Names/index.js";
|
||||
|
||||
for (let i = 2; i < process.argv.length; i++) {
|
||||
const lch = parseInt(process.argv[i], 16);
|
||||
const name = ucdNames.get(lch);
|
||||
console.log(" -", name, `(\`U+${lch.toString(16).toUpperCase().padStart(4, "0")}\`);`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue