https://demo.liaolunling.top/s2t/dist/index.html
中文简繁体互相转换
npm install chinese-s2t-pro
或者
yarn add chinese-s2t-pro
const {simpleChar2TC, simpleLine2TL } = require('chinese-s2t-pro')
//单个汉字转换成繁体
simpleChar2TC('云');
//雲
//整句、整篇汉字转繁体
simpleLine2TL('曾经沧海难为水,除去巫山不是云');
// 曾經滄海難為水,除去巫山不是雲
莫着急,马上就好