All Projects → ondras → rollup-plugin-graph

ondras / rollup-plugin-graph

Licence: other
Generates module dependencies graph, using the DOT language.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to rollup-plugin-graph

Low
low level data type and utils in Golang.
Stars: ✭ 63 (+142.31%)
Mutual labels:  util
Luna Commons
市场上许多界面和工具的集合,例如ftp,httpd等文件与工具操作,包括但不限于图像处理、人脸识别等的api。
Stars: ✭ 244 (+838.46%)
Mutual labels:  util
has-value
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Stars: ✭ 27 (+3.85%)
Mutual labels:  util
Androidtools
Android开发工具类库.Toolkit of Android development, make your app developing easier!
Stars: ✭ 67 (+157.69%)
Mutual labels:  util
Greatwall
Util应用框架配套的权限管理系统
Stars: ✭ 88 (+238.46%)
Mutual labels:  util
UnityCLI
Unity TCP CLI communication for debugging
Stars: ✭ 22 (-15.38%)
Mutual labels:  util
Goutil
go util 是golang通用工具包,实现一站式,开箱即用
Stars: ✭ 56 (+115.38%)
Mutual labels:  util
Hunch
Hunch provides functions like: All, First, Retry, Waterfall etc., that makes asynchronous flow control more intuitive.
Stars: ✭ 94 (+261.54%)
Mutual labels:  util
Unist Util Visit
utility to visit nodes
Stars: ✭ 101 (+288.46%)
Mutual labels:  util
healthi-app
Simple app to check your laptop's battery health.
Stars: ✭ 47 (+80.77%)
Mutual labels:  util
Schematics Utilities
🛠️ Useful exported utilities for working with Schematics
Stars: ✭ 73 (+180.77%)
Mutual labels:  util
Notificationdemo
通知demo
Stars: ✭ 85 (+226.92%)
Mutual labels:  util
hast-util-from-dom
utility to transform a DOM tree to hast
Stars: ✭ 20 (-23.08%)
Mutual labels:  util
Hastscript
utility to create hast trees
Stars: ✭ 65 (+150%)
Mutual labels:  util
nlcst-to-string
utility to transform an nlcst tree to a string
Stars: ✭ 16 (-38.46%)
Mutual labels:  util
Changed Log
Returns all commit messages between 2 versions of an NPM module
Stars: ✭ 58 (+123.08%)
Mutual labels:  util
Base
🍁 Base是针对于Android开发封装好一些常用的基类,主要包括通用的Adapter、Activity、Fragment、Dialog等、和一些常用的Util类,只为更简单。
Stars: ✭ 249 (+857.69%)
Mutual labels:  util
unist-util-map
utility to create a new tree by mapping all nodes
Stars: ✭ 30 (+15.38%)
Mutual labels:  util
mdast-util-to-string
utility to get the plain text content of an mdast node
Stars: ✭ 27 (+3.85%)
Mutual labels:  util
await
28Kb, small memory footprint, single binary that run list of commands in parallel and waits for their termination
Stars: ✭ 73 (+180.77%)
Mutual labels:  util

rollup-plugin-graph

Generates module dependencies graph, using the DOT language. To actually draw images, you will need the graphviz toolbox.

In your rollup.config.js:

let graph = require("rollup-plugin-graph");
let graphOptions = {prune: true};

module.exports = {
    /* ... */
    plugins: [ graph(graphOptions) ]
};

In your terminal:

rollup -c | dot -Tpng > graph.png

Options

  • prune (bool) Whether to prune the resulting graph, leaving only cyclic dependencies. This makes the graph strongly connected. Examples: pruned, not pruned
  • exclude (string or regexp) Specified the module ID pattern to be excluded from the graph.

Sample output

Please note that this plugin is not directly responsible for image rendering. It generates output in the DOT language, so you need to use a proper tool (such as Graphviz) to create the image.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].