How do I block advertising in npm?

前端 未结 2 748
南笙
南笙 2021-01-05 07:16

When I run various npm commands, the console output is filled with ads for various projects and people. I\'m a prolific open source contributor, but console output for a too

相关标签:
2条回答
  • 2021-01-05 08:04

    for the opencollective

    OPENCOLLECTIVE_HIDE=true

    did the trick for me, more optins see https://github.com/nuxt/opencollective#disable-message for more disabling options

    0 讨论(0)
  • 2021-01-05 08:09

    You can remove ads using the funding package by adding an environment variable:

    OPEN_SOURCE_CONTRIBUTOR=true
    

    Some packages that use opencollective-postinstall need their own command instead:

    DISABLE_OPENCOLLECTIVE=true
    
    0 讨论(0)
提交回复
热议问题