简体、繁体字符转换
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.js
package.json
sc.txt
tc.txt
test.js

README.md

SimpleBig

繁体、简体字符转换工具

Install

npm install simplebig

Usage

S = require("simplebig");
console.log(S.t2s("東加拿大"));//东加拿大
console.log(S.t2s("太古遺產"));//太古遗产
console.log(S.s2t("繁体中文"));//繁體中文
//bind functions to String.prototype
S.attach();
console.log("香港動漫".t2s());//香港动漫
console.log("夜莺工作室".s2t());//夜鶯工作室