Skip to content

Question: should depth be set when listing? #72

@43081j

Description

@43081j

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions