@lazy-cjk/zh-convert
Version:
19 lines • 600 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.cn2tw = cn2tw;
exports.tw2cn = tw2cn;
const tslib_1 = require("tslib");
const util_1 = require("./lib/util");
const core_1 = require("./lib/core");
tslib_1.__exportStar(require("./lib/types"), exports);
function cn2tw(text, options = {}, ...argv) {
return (0, util_1._call)(core_1._cn2tw, text, options, ...argv);
}
function tw2cn(text, options = {}, ...argv) {
return (0, util_1._call)(core_1._tw2cn, text, options, ...argv);
}
exports.default = {
cn2tw,
tw2cn,
};
//# sourceMappingURL=index.js.map