@clausehq/flows-analysis
v0.1.13
Published
A utility for doing static analysis on flows
Downloads
67
Readme
Flow Analysis
This package contains some utilities for performing parsing and static analysis of flow definitions.
Example Usage
const { findDependencies } = require('@clausehq/flows-analysis');
const deps = findDependencies(myFlow);
/** deps has value
{
vault: false,
organization: {
id: false,
},
contract: {
id: false,
attachments: true,
state: false,
clauseMap: false,
},
clause: {
id: false,
attachments: false,
state: false,
data: false,
},
flow: {
name: false,
id: false,
},
flows: false,
}
*/