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://update.greatest.deepsurf.us/scripts/430412/957744/Chinese%20Conversion%20API.js

Author
𝖢𝖸 𝖥𝗎𝗇𝗀
Version
1.0
Created
2021-08-06
Updated
2021-08-06
Size
142 KB
License
MIT

usage:

// @require https://greatest.deepsurf.us/scripts/430412-chinese-conversion-api/code/Chinese%20Conversion%20API.js?version=957744

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