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

timqian · July 12, 2016 · 2711 hits

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

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.