Using JS libraries
1.
require
.
2.
$$.liveRequire
function. Only pure js libraries are supported, preferably libraries with the word browser written to support browser-side operation. Libraries containing language extensions such as C/C++ are not supported for loading and will run out of time or exceptions.TIP
Built-in Library List
Usage
TIP
// A correct example.
var cryptoJs = require("crypto-js");
console.log(cryptoJs.SHA256("Message"));
// A wrong example.
var SHA256 = require("crypto-js/sha256");
console.log(SHA256("Message"));
Modified atΒ 2024-07-18 10:40:54