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:
npm i funkyweave
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')
- v1.1.2 - added means of enabling and disabling logging using env var and/or function.
- v1.0.3 - updated cluster naming to automaticaly remove special characters if used in node naming.
For more information on how FunkyWeave works, please take a look at the following documentation: