welsonjs/lib/punycode.js

12 lines
287 B
JavaScript
Raw Normal View History

2022-05-17 09:29:39 +00:00
var Py3 = require("lib/python3");
function encode(s) {
return Py3.execScript("app\\assets\\py\\idnaencode.py", [s]).trim();
}
exports.encode = encode;
exports.VERSIONINFO = "Punycode Converter (punycode.js) version 0.1";
exports.global = global;
exports.require = global.require;