cost-of-modules
cost-of-modules copied to clipboard
Question: should `depth` be set when listing?
when i run cost-of-modules
, i only actually get the immediate children and all of them have a child count of 0
if i update the ls
command to have --depth=100
, the output is then correct (i can see the number of children of each dependency)
maybe back when you wrote this, npm had different depth defaults? if you think its a bug, im happy to open a pr