funkyweave

1.1.4 • Public • Published
Logo

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:

cover_flow

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.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.

Further Reading

For more information on how FunkyWeave works, please take a look at the following documentation:

Package Sidebar

Install

npm i funkyweave

Weekly Downloads

4

Version

1.1.4

License

AGPL-3.0-or-later

Unpacked Size

2.31 MB

Total Files

35

Last publish

Collaborators

  • soapyd