IlluminateJS Babel Plugin
First, install yarn.
# install dependencies and run tests yarn install && yarn test # build TypeScript sources yarn build
Sources are found in
src/; tests in
test/. The test are a good demonstration of what this project does.
evaluate: evaluate a given path or node and return an evaluated node.
deobfuscate: evaluate a given path and replace it. Returns nothing!
illuminatejs can be registered with
npm link, otherwise you can use the
./cli.js node script manually.
$ cat test.js var x=1; console.log(x+1); $ illuminatejs ./test.js const x = 1; console.log(2);