# React-Decode

> 面向已构建 React JavaScript 的静态分析 CLI，可输出更易读的代码，以及推断的 API 请求、路由和应用常量报告；存在 source map 内嵌源码时可将其提取。

- 类型：工具
- 目标：网站
- 类别：JavaScript 与 Electron 工具
- 关联：基础工具
- 来源复核于：2026-10-20
- 收录于：2026-10-20
- 原始资源：<https://github.com/alexandra-seredkina/React-Decode>
- 一手来源：<https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/react-decode/>
- 记录 JSON：<https://awesomerea.org/resources/react-decode/record.json>
- 英文版：[English](https://awesomerea.org/resources/react-decode/index.md)

## 使用条件与局限

- 所审阅的包声明 Node.js >=20，但锁定的 Babel 8 依赖要求 ^22.18.0 或 >=24.11.0。lock 固定 parser/traverse 8.0.7、generator/types 8.0.6 和 Prettier 3.9.10。
- 输入需为有权分析的 JavaScript 包、HTML、source map 或 URL。URL 模式会获取脚本、分块和映射文件；源码提取需要 sourcesContent 中的字符串，仅有映射坐标并不足够。
- API 与值推断具有范围上限且依赖启发式规则：请求封装发现最多迭代六轮，动态值可能仍是占位符，推断的请求／响应字段不等于已验证的 API 规范。文档明确不处理控制流平坦化和字符串数组混淆。
- MIT LICENSE 与 package.json 一致，但 package.json 标记 0.1.0，而根 lock 元数据标记 1.0.0 与 ISC。输入代码仍受其自身权利约束。
- 报告可能包含输入中的凭据形态字符串，--json 会原样输出而不遮蔽。

## 一手来源

1. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/README.md>
2. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/package.json>
3. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/package-lock.json>
4. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/LICENSE>
5. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/src/pipeline.js>
6. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/src/analyze/requests.js>
7. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/src/sourcemap.js>
8. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/src/loader.js>
9. <https://github.com/alexandra-seredkina/React-Decode/blob/80e8bda2912b7e3f9e01bc3a0034a61ea488b14a/test/pipeline.test.js>

## 同分区更多条目：应用

- [abc-decompiler 鸿蒙方舟字节码反编译器](https://awesomerea.org/zh/resources/abc-decompiler/index.md) · 工具
- [slicer 浏览器端 Java 逆向工具](https://awesomerea.org/zh/resources/slicer/index.md) · 工具
- [APK Studio Android 逆向 IDE](https://awesomerea.org/zh/resources/apk-studio/index.md) · 工具
- [APKiD Android 加壳与混淆识别工具](https://awesomerea.org/zh/resources/apkid/index.md) · 工具
- [dex2jar Android DEX 转换工具集](https://awesomerea.org/zh/resources/dex2jar/index.md) · 工具
- [apk.sh Android 应用分析脚本](https://awesomerea.org/zh/resources/apk-sh/index.md) · 工具

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
