page-disassembler
v0.1.0
Published
A tool for detecting and debundling JavaScript module bundlers
Downloads
1
Readme
page-disassembler
A tool for detecting and debundling JavaScript module bundlers (such as webpack, browserify).
Build
From sources
git clone https://github.com/seclab-msu/page-disassembler
npm install
Via NPM
npm install page-disassembler
Run
You can run debundler either using cli or by using its' API from your code
From CLI
For running debundler on tar
archive that contains a bunch of all resources from web-page
node bin.js /path/to/page/archive.tar
If you want to debundle a single JavaScript file use
node bin.js --debundle-file /path/to/file/with/bundle.js
By default debundled modules will be dumped to results
directory, if you want to specify its' name, you can do it via
node bin.js /path/to/page/archive.tar --target-dir custom-dir
From API
Coming soon...