c4
🔥 a javascript engine burster error handler
Burst [nodejs] or a [browser] engine in case an hacking error was detected.
Installation
npm i --save c4
Usage
In case you catch an error
var C4 = var bomb = delay: 20 // ms { try if variable === 'hacking' throw "Hacking errorr!!!!!" catcherr }
Options
wipeGlobal: true wipeDocument: true wipeRequire: true spark: 300