KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
JS-structure
★ 11
Open GitHub ↗
对目录结构进行依赖分析,供js使用
Download README (.md)
Explore Similar Repositories
czvm
:
简易jvm实现尝试
persona
:
Natural Language intent parsing and dialog generation engine built using deep neural networks and Keras with Tensorflow backend
DAFNE
:
A Matlab Toolbox for Bayesian multi-source remote sensing and ancillary data fusion, with application to flood mapping
react-apollo-github-api-infinite-scroll-example
:
React Apollo GitHub GraphQL API infinite scroll example code
runMultiwfn.bash
:
A wrapper for Multiwfn (Linux) written in bash.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
JS-structure
?
Download (.md)
在这里写一个工具,主要是给自己看源码用。 ## 使用方式 全局安装: ``` npm install js-analysis -g ``` 然后进入需要分析的文件夹,执行 ``` analysis ``` ## 生成之后的样子 生成之后的图片样子:   ## 大致的编写流程 1.了解npm包的书写规则 <br> 2.利用fs模块读取文件夹中的文件,判断是否是文件夹,采取是否递归,最后获得filename和pathname。<br> 3.我们利用pathname组成echart的nodes节点<br> 4.利用fs模块读取每个文件的内容,利用正则筛选出引入的文件,最后的links结果进行去重<br> 5.将links中的target属性进行规范化,最后输出<br> 6.合成模版。 ## 备注 如果大家喜欢,就给个star吧,谢谢