mirror of
https://github.com/gchq/CyberChef
synced 2026-01-01 16:13:46 +00:00
in/out typing working. Added translateTo function
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
import "babel-polyfill";
|
||||
|
||||
import {wrap, help, decapitalise} from "./apiUtils";
|
||||
import {wrap, help, decapitalise, translateTo} from "./apiUtils";
|
||||
import * as operations from "../core/operations/index";
|
||||
|
||||
// Define global environment functions
|
||||
@@ -29,6 +29,7 @@ Object.keys(operations).forEach(op =>
|
||||
chef[decapitalise(op)] = wrap(operations[op]));
|
||||
|
||||
chef.help = help.bind(null, operations);
|
||||
chef.translateTo = translateTo;
|
||||
|
||||
export default chef;
|
||||
export {chef};
|
||||
|
||||
Reference in New Issue
Block a user