mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
21 lines
432 B
JavaScript
21 lines
432 B
JavaScript
import Punycode from "../../operations/Punycode.js";
|
|
|
|
|
|
/**
|
|
* Encodings module.
|
|
*
|
|
* Libraries:
|
|
* - punycode
|
|
*
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2017
|
|
* @license Apache-2.0
|
|
*/
|
|
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
|
|
OpModules.Encodings = {
|
|
"To Punycode": Punycode.runToAscii,
|
|
"From Punycode": Punycode.runToUnicode,
|
|
};
|
|
|
|
export default OpModules;
|