npm installしたときに表示されるnpm fundとは
npm install したときに以下のようにxxx packages are looking for fundingというメッセージが表示されることがあります。
removed 1 package, and audited 1391 packages in 5s 168 packages are looking for funding run `npm fund` for details 8 moderate severity vulnerabilities To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details.
これは資金提供を呼び掛けるURLが設定されているパッケージをインストールしたときに表示されるメッセージで、詳細はnpm fundで確認できます。
$ npm fund | head # パッケージごとにURLが表示される my-react-app@0.1.0 ├── https://github.com/chalk/ansi-styles?sponsor=1 │ └── ansi-styles@5.2.0 ├── https://github.com/chalk/chalk?sponsor=1 │ └── chalk@4.1.2 ├── https://opencollective.com/babel │ └── @babel/core@7.16.12 ├─┬ https://github.com/sponsors/gregberge │ │ └── @svgr/webpack@5.5.0, @svgr/core@5.5.0, @svgr/plugin-jsx@5.5.0, @svgr/babel-preset@5.5.0, @svgr/babel-plugin-add-jsx-attribute@5.4.0, @svgr/babel-plugin-remove-jsx-attribute@5.4.0, @svgr/babel-plugin-remove-jsx-empty-expression@5.0.1, @svgr/babel-plugin-replace-jsx-attribute-value@5.0.1, @svgr/babel-plugin-svg-dynamic-title@5.4.0, @svgr/babel-plugin-svg-em-dimensions@5.4.0, @svgr/babel-plugin-transform-react-native-svg@5.4.0, @svgr/babel-plugin-transform-svg-component@5.5.0, @svgr/hast-util-to-babel-ast@5.5.0, @svgr/plugin-svgo@5.5.0 │ └── https://opencollective.com/core-js
npm fundのヘルプ
$ npm fund --help npm fund Retrieve funding information Usage: npm fund [[<@scope>/]] Options: [--json] [--no-browser|--browser ] [--no-unicode] [-w|--workspace [-w|--workspace ...]] [--which ] Run "npm help fund" for more info