Chinese Conversion API

It is a JavaScript library for the conversion of chinese characters between Traditional Chinese (zh-tw) and Simplified Chinese (zh-cn).

As of 2021-08-06. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://updategreasyfork.deno.dev/scripts/430412/957743/Chinese%20Conversion%20API.js

نووسەر
𝖢𝖸 𝖥𝗎𝗇𝗀
وەشان
1.0
Created
2021-08-06
Updated
2021-08-06
Size
142 KB
مۆڵەت
MIT

usage:

// @require https://gf.zukizuki.org/scripts/430412-chinese-conversion-api/code/Chinese%20Conversion%20API.js?version=957743

console.log(ChineseConversionAPI.sc2tc('我爱吃面包')); //我愛吃麵包
console.log(ChineseConversionAPI.tc2sc('我愛吃麵包')); //我爱吃面包