
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
gen-structure
Advanced tools
生成当前项目的目录结构说明文档。从代码文件分析出当前代码文件的描述,得到路径+描述的形式,便于清楚地了解项目概况。
npm i gen-structure -g #安装
gen-structure # 在你的目录下执行
默认会生成structure.md文件,如下
`./structure.md` `./src/run.js` 入口文件<br><br>
`./src/run.js` 入口文件<br>
## ./src/api
`./src/api/fs.js` 通用文件系统能力<br>
`./src/api/string.js` 字符串处理<br>
<br>create by [gen-structure](https://github.com/ljquan/gen-structure.git)
Usage: gen-structure [options]
Options: -V, --version output the version number -d, --dist 目标文件 -p, --path 项目路径,默认命令行所在路径 -e, --exclude 忽略的路径,默认点开头、node_module的路径 -i, --include 加入被默认忽略的路径 -h, --help output usage information
FAQs
gen-structure
We found that gen-structure demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.