mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-27 02:06:15 -04:00
Converted the majority of the core and operations to use CommonJS module syntax.
This commit is contained in:
parent
a4197684e5
commit
a21e0e546b
50 changed files with 308 additions and 123 deletions
12
src/js/views/node/index.js
Normal file
12
src/js/views/node/index.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
var Chef = require("../../core/Chef.js");
|
||||
|
||||
|
||||
/**
|
||||
* @author n1474335 [n1474335@gmail.com]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
var chef = new Chef();
|
||||
|
||||
console.log(chef.bake("test", [{"op":"To Hex","args":["Space"]}], {}, 0, false));
|
Loading…
Add table
Add a link
Reference in a new issue