开发工具 js-code-structure: 分析 js 项目中文件的依赖关系

timqian · 2016年07月12日 · 2711 次阅读

What is js-code-structure?

js-code-structure 是一个分析 js 项目中文件的依赖关系的工具。

Why js-code-structure?

在网页上展示文件间的依赖关系(被依赖与依赖别人)可以帮助你直观的了解项目的结构。

How to use js-code-structure?

Install

$ npm install -g js-code-structure

Usage

  1. 打开命令行
  2. 来到项目根目录
  3. 输入 jss

一个描述项目结构的 html 将会在浏览器中打开

例子:appium 项目的代码结构:

源码: https://github.com/timqian/js-code-structure

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号