Why do some packages show funding requests while others don't, even in the same project?

Question

Grade: Education Subject: Support
Why do some packages show funding requests while others don't, even in the same project?
Asked by:
88 Viewed 88 Answers

Answer (88)

Best Answer
(385)
The appearance of funding requests depends entirely on whether the maintainers of a specific package have chosen to include a `funding` field in their `package.json` file. Not all package maintainers opt to solicit funding, or they might use other methods for support. Therefore, only packages that explicitly declare their funding information will be listed by the `npm fund` command.