This flow is intended to be used in conjunction with the projects feature and git version control. The flow will be triggered on any change to the flows.json file and will create a subdirectory with separate exports of each flow/tab contained in the current Node-RED project.
These files can then be be managed in git independently of each other (commit, revert, etc.)
Flows are stored in YAML format for improved readability when managing. Function nodes are stored multiline so they can be accurately compared line by line in diffs.
The flow uses node-red-contrib-fs-ops for file system operations.