funkyweave
v1.0.3
Published
A logger that tracks and visualizes the interactions between functions, generating flow diagrams in DOT format for Graphviz.
Downloads
214
Maintainers
Readme
FunkyWeave
Have you ever wanted to visualise the interactions
between each function in your program? FunkyWeave logging allows you to do it!
FunkyWeave is a light-weight logger
that can be used to visualise each step in logic
, outputting flow diagrams
in dot format
then drawn using Graphviz
into multiple formats.
Here's an example of te flows that can be generated by the package:
Installation
npm i funkyweave
Usage
FunkyWeave comes in two parts, logging
and visualing
, both of which can be added to code by doing the following:
const { logger, visualiser } = require('funkyweave')
Updates
- v1.0.3 - updated cluster naming to automaticaly remove special characters if used in node naming.
Further Reading
For more information on how FunkyWeave works, please take a look at the following documentation: