UNPKG

@willh/s2t

Version:

簡體轉繁體 CLI 工具

24 lines (15 loc) 334 B
# 簡繁轉換工具 ## 使用`<inputFile>` 轉換為繁體中文,結果輸出到 `[outputFile]` 或**標準輸出**。 ```txt npx @willh/s2t <inputFile> [outputFile] ``` ## 自動生成函式庫 直接執行以下命令就會生成 `STCharacters.js` 原始碼: ```sh npm start ``` ## 測試執行 ```sh npm test ```