MCPcopy Create free account
hub / github.com/npm/cli / packagesFundingMessage

Function packagesFundingMessage

lib/utils/reify-output.js:223–233  ·  view source on GitHub ↗
(npm, { funding })

Source from the content-addressed store, hash-verified

221}
222
223const packagesFundingMessage = (npm, { funding }) => {
224 if (!funding) {
225 return
226 }
227
228 output.standard()
229 const pkg = funding === 1 ? 'package' : 'packages'
230 const is = funding === 1 ? 'is' : 'are'
231 output.standard(`${funding} ${pkg} ${is} looking for funding`)
232 output.standard(' run `npm fund` for details')
233}
234
235const unreviewedScriptsMessage = (npm, unreviewedScripts) => {
236 if (!unreviewedScripts.length) {

Callers 1

reifyOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected