Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (13 sloc) 0.426 kb

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());//夜鶯工作室
Something went wrong with that request. Please try again.