2017-03-06 13:45:51 +01:00
|
|
|
/**
|
2017-03-21 23:41:44 +01:00
|
|
|
* Node view for CyberChef.
|
|
|
|
*
|
2017-03-06 13:45:51 +01:00
|
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2017-03-21 23:41:44 +01:00
|
|
|
var Chef = require("../../core/Chef.js");
|
2017-03-06 13:45:51 +01:00
|
|
|
|
2017-03-21 23:41:44 +01:00
|
|
|
module.exports = {
|
2017-03-07 12:27:36 +01:00
|
|
|
|
2017-03-21 23:41:44 +01:00
|
|
|
bake: function(input, recipeConfig) {
|
|
|
|
this.chef = new Chef();
|
|
|
|
return this.chef.bake(input, recipeConfig, {}, 0, false);
|
|
|
|
}
|
2017-03-07 12:27:36 +01:00
|
|
|
|
2017-03-21 23:41:44 +01:00
|
|
|
};
|