This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@homebridge/ciao/lib/coder/dns-string-utils.js
T

27 lines
647 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dnsTypeToString = dnsTypeToString;
function dnsTypeToString(type) {
switch (type) {
case 1:
return "A";
case 5:
return "CNAME";
case 12:
return "PTR";
case 16:
return "TXT";
case 28:
return "AAAA";
case 33:
return "SRV";
case 41:
return "OPT";
case 47:
return "NSEC";
case 255:
return "ANY";
}
return "UNSUPPORTED_" + type;
}
//# sourceMappingURL=dns-string-utils.js.map