Skip to content

[FEATURE] Flatten output of npm fund #685

Description

@wheresrhys

What / Why

npm fund currently nests funding information for transitive dependencies in a nested tree structure. This has several drawbacks:

  • Harder to read (or parse) output
  • Unfairly penalises the maintainers of lower level libraries e.g say I maintain a library which is a key dependency of express, but otherwise not widely used, my fund link will have a lower profile despite being an equally important part of the nodejs ecosystem.

I propose that npm fund returns a flat structure by default, with an option to return a nested structure. Or, failing that, that the default behaviour remains as is, but it supports an option to return a flattened structure.

Context - I would like to build a tool for my organisation that collates npm fund information across all our projects, and a flat structure is easier to work with.

When

  • n/a

Where

  • n/a

How

Current Behavior

  • n/a

Expected Behavior

  • n/a

Who

  • n/a

References

  • n/a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions