示例:

下面是一个在配置了工作区 a 的项目中运行 npm fund 的示例:

Here's an example running npm fund in a project with a configured workspace a:

$ npm fund
test-workspaces-fund@1.0.0
+-- https://example.com/a
| | `-- a@1.0.0
| `-- https://example.com/maintainer
|     `-- foo@1.0.0
+-- https://example.com/npmcli-funding
|   `-- @npmcli/test-funding
`-- https://example.com/org
    `-- bar@2.0.0

KymX61LhOJ5fsmUGEhsroLtYjt38TlYHkvEMHlQdYj66gPnvtmdKcm5dKgCN6xd+3O/fNe4d/9337au4Om8lXhaezqbulXJoTt6UVi8uQgdT2SzaAupEzzporuCuswBOCzd4ecwkFS+a+2iFCfE5g0GiKx5P8Wk5rdOcXcflsncCknSdLae7X/eZh4slOEiTk1g584OrA6/blYMTggGJvjdoEqnUhclq9i/5zyb/ImRXhgUOKkVe9bW/NCDNdeJZicM3yyRqsj9g0uBpS/IhHg226+INR6411y61U8EHS5B+iiFSnfloziE42QZQKx8GKMVRRGMp7F+p5/eHiRvLZA==

$ npm fund -w a
test-workspaces-fund@1.0.0
`-- https://example.com/a
  | `-- a@1.0.0
  `-- https://example.com/maintainer
      `-- foo@2.0.0