{"_id":"@adhd/decompile-cli","_rev":"6-965824005939ce0f297b644fe5cbcaf4","name":"@adhd/decompile-cli","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.7":{"name":"@adhd/decompile-cli","version":"0.1.7","_id":"@adhd/decompile-cli@0.1.7","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"bin":{"decompile":"bin/decompile.js"},"dist":{"shasum":"72cb3815020b2d5cbcf3b3be34384c15716005ca","tarball":"https://registry.npmjs.org/@adhd/decompile-cli/-/decompile-cli-0.1.7.tgz","fileCount":83,"integrity":"sha512-GEKMUjeYBP87Bin+XUNtswYCl187w5cFHookTygW+lXl9LHtmBNLIK8BbtQ+zRttg4fFAVyOj4ZFnmMXyvf5Kg==","signatures":[{"sig":"MEQCIEsejbVgU2gSDXuemB1r1RCeowY0ZIqY0s09DLyMkuUsAiBRtxQAiwDiC/3Bp0HErA8KsGrHTAEeC9ChuooLQZvDxA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188752},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"36e7fe6e3b1dd5a9356fb1dab93d9eb1746df8b0","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"Reverse is a tool for reverse engineering code bundled with source maps. Reverse accepts **(remote) urls:** html, js, css, map, json **(local) files:** html, js, ts, jsx..., css, etc","directories":{},"_nodeVersion":"24.11.1","dependencies":{"util":"0.12.5","acorn":"^8.14.1","react":"18.2.0","tslib":"^2.3.0","lodash":"4.17.21","adm-zip":"^0.5.16","cheerio":"^1.2.0","postcss":"^8.5.3","depcheck":"^1.4.7","fs-extra":"11.2.0","acorn-jsx":"^5.3.2","commander":"14.0.3","source-map":"0.6.1","tough-cookie":"4.1.4","async-request":"^1.2.0","babel-polyfill":"^6.26.0","@babel/register":"7.29.7","language-detect":"^1.1.0","posthtml-parser":"^0.12.1","dependency-cruiser":"^17.3.9","@adhd/data-base-transforms":"^2.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decompile-cli_0.1.7_1784686940979_0.16875315657460055","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@adhd/decompile-cli","version":"0.1.8","_id":"@adhd/decompile-cli@0.1.8","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"bin":{"decompile":"bin/decompile.js"},"dist":{"shasum":"1fdcf40148a5a6bc59d8c1825b5fb81cd3ea2628","tarball":"https://registry.npmjs.org/@adhd/decompile-cli/-/decompile-cli-0.1.8.tgz","fileCount":83,"integrity":"sha512-/9zIL91de7v6noZV+xXXDGUC9gu1cvbIPmtgJ0f98Ode3Bwh8km/Rbplk3Bq/WHRDvjDqPLHHjrrprLgWVImBQ==","signatures":[{"sig":"MEUCIQDu/aAMonGg8rfH8562cwWbNMEFrhIO+NcNyXLq+qoqIwIgeCgk3y9pYq+fxx4ZfZFnd0klC5m72fesw/CfPSOwqMY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":188752},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"7b8bf4cf459baad1642f44722e06d6a6f7f2a73c","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"Reverse is a tool for reverse engineering code bundled with source maps. Reverse accepts **(remote) urls:** html, js, css, map, json **(local) files:** html, js, ts, jsx..., css, etc","directories":{},"_nodeVersion":"24.11.1","dependencies":{"util":"0.12.5","acorn":"^8.14.1","react":"18.2.0","tslib":"^2.3.0","lodash":"4.17.21","adm-zip":"^0.5.16","cheerio":"^1.2.0","postcss":"^8.5.3","depcheck":"^1.4.7","fs-extra":"11.2.0","acorn-jsx":"^5.3.2","commander":"14.0.3","source-map":"0.6.1","tough-cookie":"4.1.4","async-request":"^1.2.0","babel-polyfill":"^6.26.0","@babel/register":"7.29.7","language-detect":"^1.1.0","posthtml-parser":"^0.12.1","dependency-cruiser":"^17.3.9","@adhd/data-base-transforms":"^2.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decompile-cli_0.1.8_1784687288809_0.42162690315661844","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@adhd/decompile-cli","version":"0.1.9","_id":"@adhd/decompile-cli@0.1.9","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"bin":{"decompile":"bin/decompile.js"},"dist":{"shasum":"9f85af8f33caabbb009022b133c5c866638e139d","tarball":"https://registry.npmjs.org/@adhd/decompile-cli/-/decompile-cli-0.1.9.tgz","fileCount":84,"integrity":"sha512-lzGyxCms4ObfA5zyd2sGnccTNDKOeiGRewsXBGJ2DOYk6Mc7DG7TZZBpjX1KxYv+7x+BwMQ33GNW5nNBYII5og==","signatures":[{"sig":"MEQCIQD4PQflBEarFcuYGeCpLGHCE6vqYfXjdQct1ZRt1pqOewIffiWI/SP8IITq0GG6e4/mIVWraIzKptefZFS0SJ6kXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":189287},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"afca4fc9097845a32a9e371ce6cd1252cbc0be6b","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"Reverse is a tool for reverse engineering code bundled with source maps. Reverse accepts **(remote) urls:** html, js, css, map, json **(local) files:** html, js, ts, jsx..., css, etc","directories":{},"_nodeVersion":"24.11.1","dependencies":{"util":"0.12.5","acorn":"^8.14.1","react":"18.2.0","tslib":"^2.3.0","lodash":"4.17.21","adm-zip":"^0.5.16","cheerio":"^1.2.0","postcss":"^8.5.3","depcheck":"^1.4.7","fs-extra":"11.2.0","acorn-jsx":"^5.3.2","commander":"14.0.3","source-map":"0.6.1","tough-cookie":"4.1.4","async-request":"^1.2.0","babel-polyfill":"^6.26.0","@babel/register":"7.29.7","language-detect":"^1.1.0","posthtml-parser":"^0.12.1","dependency-cruiser":"^17.3.9","@adhd/data-base-transforms":"^2.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decompile-cli_0.1.9_1784773946586_0.9149739148844116","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@adhd/decompile-cli","version":"0.1.10","_id":"@adhd/decompile-cli@0.1.10","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"bin":{"decompile":"bin/decompile.js"},"dist":{"shasum":"f30730af0bfd685e3f809172f2db5717eec25f67","tarball":"https://registry.npmjs.org/@adhd/decompile-cli/-/decompile-cli-0.1.10.tgz","fileCount":84,"integrity":"sha512-JiEaPbaUWX8+/scKSaIPyzCTPj47sqggFd1J8yjUHLBoqk8HJdUjy+Mj5ZFgOaXLdNKDUuWopqjoQmieSguHCg==","signatures":[{"sig":"MEQCIGpO+7Q/uCmEoLEam4WRgOnLfSCA4j5sNlPfnoxdBV8OAiBfio++8LwjVIvZyA1wn0fm6HMPUvBMqBlXvQFZ/wrD9g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":189828},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"eb0fd170825539850ae91a64393f8a8f376d8c7b","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"Reverse is a tool for reverse engineering code bundled with source maps. Reverse accepts **(remote) urls:** html, js, css, map, json **(local) files:** html, js, ts, jsx..., css, etc","directories":{},"_nodeVersion":"24.11.1","dependencies":{"util":"0.12.5","acorn":"^8.14.1","react":"18.2.0","tslib":"^2.3.0","lodash":"4.17.21","adm-zip":"^0.5.16","cheerio":"^1.2.0","postcss":"^8.5.3","depcheck":"^1.4.7","fs-extra":"11.2.0","acorn-jsx":"^5.3.2","commander":"14.0.3","source-map":"0.6.1","tough-cookie":"4.1.4","async-request":"^1.2.0","babel-polyfill":"^6.26.0","@babel/register":"7.29.7","language-detect":"^1.1.0","posthtml-parser":"^0.12.1","dependency-cruiser":"^17.3.9","@adhd/data-base-transforms":"^2.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decompile-cli_0.1.10_1784831149228_0.1232660141257742","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@adhd/decompile-cli","version":"0.1.11","_id":"@adhd/decompile-cli@0.1.11","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"bin":{"decompile":"bin/decompile.js"},"dist":{"shasum":"9f62233bb66c31df865809bd08fa03e34eb36b8b","tarball":"https://registry.npmjs.org/@adhd/decompile-cli/-/decompile-cli-0.1.11.tgz","fileCount":84,"integrity":"sha512-dRHKaEH7L6BEIe8vyi2PVhrs40oOA0Fxhqa5WM4IxDf6fpN7Wjh0BTH3VMb/ve5tAIW1wHrMus1aPwO+F4IAUA==","signatures":[{"sig":"MEUCIQCb5YsSFQowdqc75uhEbPqu5L8K5M0UN6zUEycdnRlhGgIge1LvD1ziSftRjpmNgl1f9ahbNVLzD4pgbgKeDD/Ibk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":189961},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"60d30f61a52a3cb55285346e534382df02258264","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"Reverse is a tool for reverse engineering code bundled with source maps. Reverse accepts **(remote) urls:** html, js, css, map, json **(local) files:** html, js, ts, jsx..., css, etc","directories":{},"_nodeVersion":"24.11.1","dependencies":{"util":"0.12.5","acorn":"^8.14.1","react":"18.2.0","tslib":"^2.3.0","lodash":"4.17.21","adm-zip":"^0.5.16","cheerio":"^1.2.0","postcss":"^8.5.3","depcheck":"^1.4.7","fs-extra":"11.2.0","acorn-jsx":"^5.3.2","commander":"14.0.3","source-map":"0.6.1","tough-cookie":"4.1.4","async-request":"^1.2.0","babel-polyfill":"^6.26.0","@babel/register":"7.29.7","language-detect":"^1.1.0","posthtml-parser":"^0.12.1","dependency-cruiser":"^17.3.9","@adhd/data-base-transforms":"^2.2.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decompile-cli_0.1.11_1784934797436_0.004168302119049949","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@adhd/decompile-cli","version":"0.2.0","type":"module","main":"./src/index.js","publishConfig":{"access":"public"},"bin":{"decompile":"bin/decompile.js"},"dependencies":{"acorn":"^8.14.1","acorn-jsx":"^5.3.2","adm-zip":"^0.5.16","async-request":"^1.2.0","babel-polyfill":"^6.26.0","cheerio":"^1.2.0","commander":"14.0.3","depcheck":"^1.4.7","dependency-cruiser":"^17.3.9","fs-extra":"11.2.0","language-detect":"^1.1.0","lodash":"4.17.21","postcss":"^8.5.3","posthtml-parser":"^0.12.1","source-map":"0.6.1","tough-cookie":"4.1.4","tslib":"^2.3.0","util":"0.12.5","@babel/register":"7.29.7","react":"18.2.0","@adhd/data-base-transforms":"^2.3.0"},"gitHead":"1dbc0638f8eb1b7c961bc9359def6f4425da5c15","types":"./src/index.d.ts","_id":"@adhd/decompile-cli@0.2.0","description":"Reverse is a tool for reverse engineering code bundled with source maps. Reverse accepts **(remote) urls:** html, js, css, map, json **(local) files:** html, js, ts, jsx..., css, etc","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-q3RJJLQFj3ibLpRrkoGg0eNaL5yzHggz/5oFHJSDPKsJ2T0ILo2hOoZuBfCeMkbVR+fdO6sNagXeylX6i4DDqw==","shasum":"eff1ce962625e38bf77ccfe6f5e5d54d55c70f88","tarball":"https://registry.npmjs.org/@adhd/decompile-cli/-/decompile-cli-0.2.0.tgz","fileCount":84,"unpackedSize":189960,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDQWMAZ5gdRAZMcHK3YSKf9CcO6PXFUuhV04qp87SgINQIhAJ8iR0GxATLgga1mgCQIQwgL3yWpqSAPnFhKOktOAFEu"}]},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"directories":{},"maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/decompile-cli_0.2.0_1785136591497_0.10101334199791245"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-22T02:22:20.721Z","modified":"2026-07-27T07:16:31.843Z","0.1.7":"2026-07-22T02:22:21.115Z","0.1.8":"2026-07-22T02:28:08.992Z","0.1.9":"2026-07-23T02:32:26.736Z","0.1.10":"2026-07-23T18:25:49.490Z","0.1.11":"2026-07-24T23:13:17.584Z","0.2.0":"2026-07-27T07:16:31.659Z"},"description":"Reverse is a tool for reverse engineering code bundled with source maps. Reverse accepts **(remote) urls:** html, js, css, map, json **(local) files:** html, js, ts, jsx..., css, etc","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"readme":"## @adhd/decompile-cli\n\nReverse is a tool for reverse engineering code bundled with source maps.\nReverse accepts\n**(remote) urls:** html, js, css, map, json\n**(local) files:** html, js, ts, jsx..., css, etc\n\n### Install\n\n`npm install -g @adhd/decompile-cli`\n`yarn global add @adhd/decompile-cli`\n\n### Usage\n\nTo run in reverse, you have to supply a reference to the target. It can be in the form of a `url`, `domain`, or local `files`.\n\n**currently supported types** (remote and local)\n\n- `html` extracts references (css, js)\n- `js*` extracts references (map, js deps)\n- `css` extracts references (map)\n- `map` uses the map to rebuild source code (src, fs, deps)\n- `json` currently checks to see if the json is a map\n\nRun with\n\n`npx @adhd/decompile-cli deps`\n\nor\n\n```\n> npx @adhd/decompile-cli reverse -h\n\nUsage: reverse\nUsage:  [options] <sources...>\n\nExample: > npx @adhd/decompile-cli reverse -o ./<output_directory> \"https://<url_to_examine>\" \"./source.{html,js,css,map}\"\n\ncrawl and extract source maps\n\nOptions:\n  -V, --version  output the version number\n  -o <output>    (optional) directory to write the source into\n  -h, --help     output usage information\n```\n\n#### CLI\n\n`<sources...>` (required) one or more `urls` and or `file_paths`\n\n`-o <output_dir>`\n\n#### Pipeline\n\n**with url for source arg**\n\nrequest url\n-> extract asset refs\n-> request assets\n-> extract source map references\n-> request maps\n-> reverse map the assets\n-> dump source code\n-> reverse the external dependencies\n-> reconstruct entry point\n\nFor local files the pipeline skips to the 4th step\nFor source maps it skips to the 6th line\n\n# @adhd/decompile-cli\n\nreverse is a tool for reverse engineering code bundled with source maps.\nreverse accepts\n\n- **(remote) urls:** html, js, css, map, json\n\n- **(local) files:** html, js, ts, jsx..., css, etc\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nWhat things you need to install the software and how to install them\n\n```\nGive examples\n```\n\n### Installing\n\nA step by step series of examples that tell you how to get a development env running\n\nWith `npm`\n\n```sh\nnpm install -g @adhd/decompile-cli\n```\n\nWith `npx`\n\n```sh\nnpx @adhd/decompile-cli <...>\n```\n\nWith `yarn`\n\n```\nyarn global add @adhd/decompile-cli\n```\n\nEnd with an example of getting some data out of the system or using it for a little demo\n\n## Running the tests\n\n`ava` or `yarn test`\n\n### Break down into end to end tests\n\nIn [src/validators/local/**tests**](./src/validators/local/__tests__) each of the pattern matching utilities are tested\n\nThe data mocks are in [tests/fixtures](./tests/fixtures)\n\nEX: [base64.sourcemap.js](./tests/fixtures/base64.sourcemap.js)\n\n```js\n    ).apply(__cjsWrapper.exports, __cjsWrapper.args);\n}\n)(System, System);\n//# sourceURL=module://App.js.js!transpiled\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1vZHVsZTovL0FwcC5q...\n```\n\n### And coding style tests\n\nExplain what these tests test and why\n\n```\nGive an example\n```\n\n## Deployment\n\nAdd additional notes about how to deploy this on a live system\n\n## Built With\n\n- [Dropwizard](http://www.dropwizard.io/1.0.2/docs/) - The web framework used\n- [Maven](https://maven.apache.org/) - Dependency Management\n- [ROME](https://rometools.github.io/rome/) - Used to generate RSS Feeds\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).\n\n## Authors\n\n- **Billie Thompson** - _Initial work_ - [PurpleBooth](https://github.com/PurpleBooth)\n\nSee also the list of [contributors](https://github.com/your/project/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n\n- Hat tip to anyone whose code was used\n- Inspiration\n- etc\n","readmeFilename":"README.md"}