esmangle icon indicating copy to clipboard operation
esmangle copied to clipboard

Export more parts for browsers

Open Flamefire opened this issue 7 years ago • 0 comments

I want to use esmangle to implement a deobfuscator in a browser.

When using the browserified version (cjsify does not work ATM) I don't get access to e.g. the common module but there are some very useful helpers (e.g. constant detection/folding)

Also exposing estraverse and escope would really help as they are already bundled, so no need to pull them in again. But due to the scoping I can't access them from outside (specifically from another script)

Flamefire avatar Jun 04 '18 20:06 Flamefire