js-han
Version:
15 lines • 385 B
HTML
<html lang="zh-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>簡化字轉漢字</title>
<script type="module">
import Han from "../docs/han.min.js";
const hanInstance = Han.getInstance();
console.log(hanInstance.toTraditional('汉字'));
</script>
</head>
<body>
</body>
</html>