mirror of
https://github.com/gchq/CyberChef
synced 2025-12-19 17:53:34 +00:00
Restructured src files into a more logical hierarchy
This commit is contained in:
18
src/node/index.js
Normal file
18
src/node/index.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Node view for CyberChef.
|
||||
*
|
||||
* @author n1474335 [n1474335@gmail.com]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
var Chef = require("../core/Chef.js");
|
||||
|
||||
module.exports = {
|
||||
|
||||
bake: function(input, recipeConfig) {
|
||||
this.chef = new Chef();
|
||||
return this.chef.bake(input, recipeConfig, {}, 0, false);
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user