The tool will check the number of dependencies in the package.json and warn if there are more than 6. devDependencies are not counted.
Reason
6 was chosen as 95% of all published Node-RED modules had less than 6 dependencies when tested (Oct 2021) We do see occasionally packages including a large number of unused dependencies including the node-red package itself! This isn’t meant to be a hard limit just a warning to check that everything in your dependencies list is indeed needed, it is recognised that some packages may have a legitimate reason to have a lot of dependencies and this can be noted in the README
Currently this node has 10 dependencies.
The Node-RED community recommends to have 6 or less. See: https://flows.nodered.org/node/@ptweety/node-red-contrib-ccu/scorecard#
Requirements
The tool will check the number of dependencies in the package.json and warn if there are more than 6. devDependencies are not counted.
Reason
6 was chosen as 95% of all published Node-RED modules had less than 6 dependencies when tested (Oct 2021) We do see occasionally packages including a large number of unused dependencies including the node-red package itself! This isn’t meant to be a hard limit just a warning to check that everything in your dependencies list is indeed needed, it is recognised that some packages may have a legitimate reason to have a lot of dependencies and this can be noted in the README